S390: Get rid of linknamespace failures for utmp functions.
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2
3         [BZ #17844]
4         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5         (getutent): Use weak_alias in non SHARED case
6         and default_symbol_version in SHARED case.
7         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8         (getutent_r, pututline): Likewise.
9         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10         (getutid): Likewise.
11         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12         (getutid_r): Likewise.
13         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14         (getutline): Likewise.
15         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16         (getutline_r): Likewise.
17         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18         (updwtmp): Likewise.
19
20 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21
22         [BZ #17848]
23         * sysdeps/s390/s390-32/memcmp.S
24         (memcmp_g5): Rename to __memcmp_g5.
25         * sysdeps/s390/s390-32/memcpy.S
26         (memcpy_g5): Rename to __memcpy_g5.
27         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28         (memcpy_mvcle) Rename to __memcpy_mvcle.
29         * sysdeps/s390/s390-32/memset.S
30         (memset_g5): Rename to __memset_g5.
31         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33         and use prefixed functions.
34         * sysdeps/s390/s390-32/multiarch/memcmp.S
35         (memcmp_z196): Rename to __memcmp_z196.
36         (memcmp_z10): Rename to __memcmp_z10.
37         (memcmp): Set alias to __memcmp_g5.
38         (bcmp): Set alias to __memcmp_g5.
39         * sysdeps/s390/s390-32/multiarch/memcpy.S
40         (memcpy_z196): Rename to __memcpy_z196.
41         Jump to __memcpy_mvcle instead of memcpy_mvcle.
42         (memcpy_z10): Rename to __memcpy_z10.
43         Jump to __memcpy_mvcle instead of memcpy_mvcle.
44         (memcpy): Set alias to __memcpy_g5.
45         * sysdeps/s390/s390-32/multiarch/memset.S
46         (memset_z196): Rename to __memset_z196.
47         Jump to __memset_mvcle instead of memset_mvcle.
48         (memset_z10): Rename to __memset_z10.
49         Jump to __memset_mvcle instead of memset_mvcle.
50         (memset_mvcle) Rename to __memset_mvcle.
51         (memset): Set alias to __memset_g5.
52         * sysdeps/s390/s390-64/memcmp.S
53         (memcmp_z900): Rename to __memcmp_z900.
54         * sysdeps/s390/s390-64/memcpy.S
55         (memcpy_z900): Rename to __memcpy_z900.
56         Jump to __memcpy_mvcle instead of memcpy_mvcle.
57         (memcpy_mvcle) Rename to __memcpy_mvcle.
58         * sysdeps/s390/s390-64/memset.S
59         (memset_z900): Rename to __memset_z900.
60         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
61         (IFUNC_RESOLVE): Prefix ifunc-resolve function
62         and use prefixed functions.
63         * sysdeps/s390/s390-64/multiarch/memcmp.S
64         (memcmp_z196): Rename to __memcmp_z196.
65         (memcmp_z10): Rename to __memcmp_z10.
66         (memcmp): Set alias to __memcmp_z900.
67         (bcmp): Set alias to __memcmp_z900.
68         * sysdeps/s390/s390-64/multiarch/memcpy.S
69         (memcpy_z196): Rename to __memcpy_z196.
70         Jump to __memcpy_mvcle instead of memcpy_mvcle.
71         (memcpy_z10): Rename to __memcpy_z10.
72         Jump to __memcpy_mvcle instead of memcpy_mvcle.
73         (memcpy): Set alias to __memcpy_z900.
74         * sysdeps/s390/s390-64/multiarch/memset.S
75         (memset_z196): Rename to __memset_z196.
76         Jump to __memset_mvcle instead of memset_mvcle.
77         (memset_z10): Rename to __memset_z10.
78         Jump to __memset_mvcle instead of memset_mvcle.
79         (memset_mvcle) Rename to __memset_mvcle.
80         (memset): Set alias to __memset_z900.
81
82 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
83
84         [BZ #17748]
85         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
86         __fesetenv instead of fesetenv.
87
88 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
89
90         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
91         macro.
92
93 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
94
95         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
96         regression on LE.
97
98         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
99         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
101         strncmp-power8 object.
102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
103         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
104         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
105         * NEWS: Update.
106
107 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
108             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
109
110         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
111         trailing byte check.
112
113 2015-01-13  David S. Miller  <davem@davemloft.net>
114
115         * include/signal.h (__sigreturn): Guard with __USE_MISC.
116
117 2015-01-13  Roland McGrath  <roland@hack.frob.com>
118
119         * login/logout.c (logout): Use memset rather than bzero.
120         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
121         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
122         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
123         (_gethtbyaddr): Likewise.
124         * locale/programs/simple-hash.c (bcopy): Macro removed.
125
126 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
127
128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
129         Add strcmp-power8 object.
130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
131         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
132         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
133         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
134         __strcmp_power8 implementation.
135         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
136         * NEWS: Update.
137
138         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
139         Add strncpy-power8 and stpncpy-power8 objects.
140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
141         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
142         implementations.
143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
144         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
145         __stpncpy_power8 implementation.
146         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
147         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
148         __strncpy_power8 implementation.
149         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
150         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
151         * NEWS: Update.
152
153         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
154         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
155         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
156
157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
158         strncat-power8 object.
159         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
160         __strcat_power8 implementation.
161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
162         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
163         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
164         optimized strcat for power8.
165
166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
167         strcpy-power8 and stpcpy-power8 objects.
168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
169         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
170         implementations.
171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
172         multiarch stpcpy implementation for POWER8.
173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
174         multiarch strcpy implementation for POWER8.
175         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
176         __strcpy_power8 function.
177         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
178         stpcpy for POWER8.
179         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
180         strcpy for POWER8.
181         * NEWS: Update.
182
183 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
184
185         [BZ #16009]
186         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
187         weights and rules. Use do_xfrm_cached if data fits in cache,
188         do_xfrm otherwise.  Moved former main loop to...
189         * (do_xfrm_cached): New function.
190         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
191         find_idx, find_position and stack_push.
192         * (find_idx): New function.
193         * (find_position): Likewise.
194         * localedata/sort-test.sh: Added test run for do_xfrm.
195         * localedata/xfrm-test.c (main): Added command line option
196         -nocache to run the test with strings that are too large for
197         the STRXFRM cache.
198
199 2015-01-13  Torvald Riegel  <triegel@redhat.com>
200
201         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
202         variable to lll_futex_wake call, not the value itself.
203
204 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
205
206         [BZ #17803]
207         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
208         twom64.  Adjust value to 0x1p-64L.
209         (__scalblnl): Only return standard underflowing result for K <=
210         -64 not K <= -63; adjust exponent for underflowing result by 64
211         not 63.
212         * math/libm-test.inc (scalbn_test_data): Add more tests.
213         (scalbln_test_data): Likewise.
214
215         [BZ #17834]
216         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
217         0x1p63L.
218         (__scalblnl): Get new exponent of adjusted subnormal value from ES
219         not HX.
220         * math/libm-test.inc (scalbn_test_data): Add more tests.
221         (scalbln_test_data): Likewise.
222
223 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
224             Stefani Seibold  <stefani@seibold.net>
225
226         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
227         (sysdep_routines): Add dl-vdso here, ...
228         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
229         (sysdep_routines): ... not here.
230         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
231         fallback when vDSO is not presented.
232         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
233         Define with libc_hidden_proto/libc_hidden_data_def definitions.
234         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
235         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
236         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
237         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
238         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
239         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
240         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
242         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
243         fallback configurable symbol when vDSO is not available.
244         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
245         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
246         be able to redefine fallback symbol when vDSO is not available.
247         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
248         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
249
250 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
251
252         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
253         (TLS_INIT_TP): Add tm_capable initialization.
254         (TLS_DEFINE_INIT_TP): Likewise.
255         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
256         TCB.
257         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
258         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
259         calculation.
260         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
261         transactoion is lock elision is built and TCB tm_capable is set.
262         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
264         (INTERNAL_SYSCALL_NCS): Likewise.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
266         (INTERNAL_SYSCALL_NCS): Likewise.
267         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
268
269         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
270         for powerpc.
271         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
272         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
273         and remove it for 32 bits case.
274         [pthread_rwlock_t] (__rwelision): New field for lock elision.
275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
276         initialization.
277         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
278         Disable lock elision with rdlocks if elision is not available.
279
280         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
281         (sysdep_routines): Add lock elision objects.
282         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
283         [pthread_mutex_t] (__spins): Rework to add lock elision field.
284         [pthread_mutex_t] (__elision): Add field.
285         [__PTHREAD_SPINS]: Adjust to init lock elision field.
286         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
287         elision definitions for powerpc.
288         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
289         implementation of lock elision for powerpc.
290         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
291         implementation of timed lock elision for powerpc.
292         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
293         implementation of trylock with lock elision for powerpc.
294         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
295         implementaion of unlock for lock elision for powerpc.
296         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
297         automatic enable lock elision for mutexes.
298         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
299         transaction execution definitions for powerpc.
300         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
301         definitions.
302         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
303         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
305         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
306         * NEWS: Update.
307
308 2015-01-09  Roland McGrath  <roland@hack.frob.com>
309
310         * sysdeps/posix/shm-directory.c: Use <> rather than ""
311         for #include of <shm-directory.h>.
312
313 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
314
315         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
316         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
317
318 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
319
320         [BZ #17791]
321         * NEWS: Mention bug fix.
322         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
323         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
324         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
325
326 2015-01-09  Torvald Riegel <triegel@redhat.com>
327
328         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
329
330 2015-01-09  Torvald Riegel <triegel@redhat.com>
331
332         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
333
334 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
335
336         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
337         pointer and cast to uintptr_t.
338
339 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
340
341         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
342         removed.
343         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
344
345 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
346
347         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
348         of 0.
349
350 2015-01-08  Roland McGrath  <roland@hack.frob.com>
351
352         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
353         <nptl/pthreadP.h> instead.
354         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
355
356         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
357         already defined.
358         [__SIGRTMIN] (init): Function removed.
359         [__SIGRTMIN] (initialized): Variable removed.
360         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
361         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
362         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
363         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
364         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
365         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
366         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
367         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
368         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
369         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
370         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
371         * sysdeps/nptl/allocrtsig.c: New file.
372         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
373         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
374         * sysdeps/generic/testrtsig.h: File removed.
375
376         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
377         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
378
379         * nptl/nptl-init.c (pthread_functions): Conditionalize
380         .ptr__nptl_setxid initialization on [SIGSETXID].
381
382         * sysdeps/nptl/sys/procfs.h: New file.
383         * nptl_db/Makefile (headers): Add it.
384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
385
386         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
387         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
388         * nptl/pthread_attr_setaffinity.c: Include it.
389         * nptl/pthread_setattr_default_np.c: Likewise.
390         * nptl/check-cpuset.h: New file.
391
392 2015-01-08  Richard Henderson  <rth@redhat.com>
393
394         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
395         (CFLAGS-tst-execstack-prog.c): Likewise.
396         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
397
398 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
399             Sandra Loosemore  <sandra@codesourcery.com>
400             Andrew Jenner  <andrew@codesourcery.com>
401             Joseph Myers  <joseph@codesourcery.com>
402             Nathan Sidwell  <nathan@codesourcery.com>
403
404         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
405         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
406         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
407         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
408         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
409         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
410         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
411         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
412         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
413         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
414         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
415         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
416         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
417         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
418         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
419         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
420         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
421
422 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
423
424         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
425         timespec struct member in syscall macro.
426         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
427         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
428         first timeval struct member in syscall macro.
429         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
430
431 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
432
433         [BZ #17748]
434         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
435         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
436         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
437         __feupdateenv and define as weak alias of __feupdateenv.  Use
438         libm_hidden_weak.
439         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
440         libm_hidden_def.
441         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
442         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
443         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
444         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
445         libm_hidden_def.
446         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
447         __feupdateenv and define as weak alias of __feupdateenv.  Use
448         libm_hidden_weak.
449         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
450         libm_hidden_def.
451         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
452         __feupdateenv and define as weak alias of __feupdateenv.  Use
453         libm_hidden_weak.
454         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
455         libm_hidden_def.
456         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
457         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
458         (__feupdateenv): Likewise.
459         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
460         __feupdateenv and define as weak alias of __feupdateenv.  Use
461         libm_hidden_weak.
462         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
463         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
464         libm_hidden_def.
465         * sysdeps/tile/math_private.h (__feupdateenv): New inline
466         function.
467         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
468         libm_hidden_def.
469         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
470         __feupdateenv instead of feupdateenv.
471         (default_libc_feupdateenv_test): Likewise.
472         (libc_feresetround_ctx): Likewise.
473
474 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
475
476         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
477         prototype.
478
479 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
480
481         * posix/regcomp.c (parse_bracket_exp): Initialize type to
482         COLL_SYM in a couple of places to avoid uninitialized variable
483         wanings on tilegx gcc 4.8.2.
484
485 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
486
487         * sysdeps/aarch64/strcpy.S: New file.
488         * sysdeps/aarch64/stpcpy.S: New file.
489         * NEWS: Updated.
490
491 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
492
493         * sysdeps/aarch64/strrchr.S: New file.
494         * NEWS: Updated.
495
496 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
497
498         [BZ #17658]
499         * stdlib/setenv.c: Fix memory leak when setting large,
500         duplicate string.
501
502 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
503
504         [BZ #17273]
505         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
506         and tabs from buffer before parsing fstab entry.
507         * misc/tst-mntent.c (main): Add test for mount entry with
508         trailing spaces and tabs.
509
510 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
511
512         [BZ #17748]
513         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
514         * math/fesetround.c (fesetround): Rename to __fesetround and
515         define as weak alias of __fesetround.  Use libm_hidden_weak.
516         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
517         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
518         * sysdeps/arm/fesetround.c (fesetround): Likewise.
519         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
520         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
521         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
522         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
523         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
524         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
525         __fesetround_inline.
526         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
527         __fesetround_inline instead of __fesetround.
528         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
529         __fesetround and define as weak alias of __fesetround.  Use
530         libm_hidden_weak.  Call __fesetround_inline instead of
531         __fesetround.
532         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
533         __fesetround and define as weak alias of __fesetround.  Use
534         libm_hidden_weak.
535         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
536         Likewise.
537         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
538         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
539         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
540         * sysdeps/tile/math_private.h (__fesetround): New inline function.
541         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
542         __fesetround and define as weak alias of __fesetround.  Use
543         libm_hidden_weak.
544         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
545         __fesetround instead of fesetround.
546         (default_libc_feholdexcept_setround): Likewise.
547         (libc_feholdsetround_ctx): Likewise.
548         (libc_feholdsetround_noex_ctx): Likewise.
549
550         [BZ #17748]
551         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
552         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
553         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
554         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
555         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
556         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
557         define as weak alias of __fesetenv.  Use libm_hidden_weak.
558         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
559         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
560         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
561         define as weak alias of __fesetenv.  Use libm_hidden_weak.
562         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
563         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
564         define as weak alias of __fesetenv.  Use libm_hidden_weak.
565         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
566         libm_hidden_def.
567         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
569         Likewise.
570         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
571         define as weak alias of __fesetenv.  Use libm_hidden_weak.
572         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
573         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
574         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
575         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
576         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
577         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
578         __fesetenv instead of fesetenv.
579         (libc_feresetround_noex_ctx): Likewise.
580         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
581         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
582         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
583         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
584         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
585         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
586         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
587         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
588         (__feupdateenv): Likewise.
589         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
590         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
591         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
592         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
593
594 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
595
596         [BZ #17806]
597         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
598         addresses have been freed.
599
600 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
601
602         * resolv/res_init.c (__res_vinit): Improve comments about nserv
603         and nservall.
604
605 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
606
607         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
608         Clean up check_pf allocation pattern. addresses
609
610 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
611
612         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
613         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
614         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
615         * nptl/pthread_exit.c (__pthread_exit): Likewise.
616         * nptl/pthread_join.c (pthread_join): Likewise.
617         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
618         * sysdeps/posix/waitid.c (__waitid): Likewise.
619         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
620         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
621         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
622         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
624         Likewise.
625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
626         (__libc_pread64): Likewise.
627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
628         (__libc_pwrite): Likewise.
629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
630         (__libc_pwrite64): Likewsie.
631         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
632         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
633         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
634         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
635         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
636         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
637         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
639         Likewise.
640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
641         (__libc_pread64): Likewise.
642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
643         Likewise.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
645         (__libc_pwrite64): Likewise.
646         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
647         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
648         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
649         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
650         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
651         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
652         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
653         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
654         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
655         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
656         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
657         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
658         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
659         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
660         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
661         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
662         Likewise.
663
664 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
665
666         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
667         (CFLAGS-test-double.c): Likewise.
668         (CFLAGS-test-ldouble.c): Likewise.
669         (CPPFLAGS-test-ifloat.c): Likewise.
670         (CPPFLAGS-test-idouble.c): Likewise.
671         (CPPFLAGS-test-ildoubl.c): Likewise.
672         (CFLAGS-test-test-fenv.c): Remove variable.
673         (CFLAGS-test-misc.c): Likewise.
674
675 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
676
677         [BZ #17797]
678         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
679         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
680         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
681         CLOCKS_PER_SEC == 1000000.
682         * time/clocktest.c (main): Replace %ld with %jd and cast to
683         intmax_t.
684
685 2015-01-05  Roland McGrath  <roland@hack.frob.com>
686
687         * sysdeps/generic/unwind-resume.h: New file.
688         * sysdeps/gnu/unwind-resume.c: Include it.
689         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
690         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
691         argument list.
692         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
693         global rather than static.
694         (_Unwind_Resume): Update user.
695         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
696         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
697         rather than static.  Add __attribute__ ((cold)).
698         (_Unwind_Resume, __gcc_personality_v0): Update callers.
699         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
700         * sysdeps/arm/arm-unwind-resume.S: New file.
701         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
702         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
703         * sysdeps/arm/Makefile [$(subdir) = csu]
704         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
705         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
706         Add rt-arm-unwind-resume.
707         [$(subdir) = nptl]
708         (libpthread-sysdep_routines, libpthread-shared-only-routines):
709         Add pt-arm-unwind-resume.
710         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
711         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
712
713 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
714
715         [BZ #17748]
716         * include/fenv.h (__feholdexcept): Declare.  Use
717         libm_hidden_proto.
718         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
719         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
720         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
721         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
722         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
723         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
724         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
725         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
726         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
727         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
728         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
729         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
730         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
731         (feholdexcept): Likewise.
732         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
733         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
734         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
735         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
736         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
737         __feholdexcept instead of feholdexcept.
738         (default_libc_feholdexcept_setround): Likewise.
739
740 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
741
742         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
743         to avoid using stl/str to align destination.
744
745 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
746
747         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
748
749 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
750
751         [BZ #17796]
752         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
753         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
754         Define as weak alias not strong alias.
755
756 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
757
758         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
759         bltzal with addiupc.
760         (RTLD_START): Ditto.
761
762 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
763
764         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
765         for __vdso_* functions in declarations.
766         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
767         definitions.
768         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
769         INTERNAL_VSYSCALL): Use struct return types to check for error.
770
771         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
772         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
773         function with cast from llround().
774         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
775         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
776         Define.
777
778 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
779
780         [BZ #17793]
781         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
782         Define as weak alias not strong alias.
783
784         [BZ #17635]
785         * ctype/ctype-c99.c: New file.  isblank implementation moved from
786         ...
787         * ctype/ctype-extn.c: ... here.
788         (__isblank_l): Move to ...
789         * ctype/ctype-c99_l.c: ... here.  New file.
790         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
791         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
792         Remove variable.
793         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
794         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
795         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
796         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
797         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
798
799         [BZ #17777]
800         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
801         (posix_fadvise64): Define as weak alias not strong alias.
802         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
803         (posix_fallocate64): Likewise.
804         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
805         Remove variable.
806         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
807         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
808         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
809         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
810         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
811
812 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
813
814         [BZ #16191]
815         * NEWS: Mention bug fix.
816         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
817         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
818         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
819         (HOST_STACK_END_ADDR): Likewise.
820
821 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
822
823         [BZ #17748]
824         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
825         * math/fegetround.c (fegetround): Rename to __fegetround and
826         define as weak alias of __fegetround.  Use libm_hidden_weak.
827         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
828         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
829         * sysdeps/arm/fegetround.c (fegetround): Likewise.
830         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
831         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
832         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
833         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
834         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
835         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
836         Undefine after rather than before function definition; use
837         parentheses around function name in definition.
838         (__fegetround): Also undefine macro after function definition.
839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
840         __fegetround and define as weak alias of __fegetround.  Use
841         libm_hidden_weak.  Do not undefine as macro.
842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
843         Likewise.
844         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
845         __fegetround and define as weak alias of __fegetround.  Use
846         libm_hidden_weak.
847         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
848         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
849         * sysdeps/tile/math_private.h (__fegetround): New inline function.
850         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
851         __fegetround and define as weak alias of __fegetround.  Use
852         libm_hidden_weak.
853         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
854         __fegetround instead of fegetround.
855
856         [BZ #17782]
857         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
858         Condition macro definition on [__USE_MISC].
859
860         [BZ #17781]
861         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
862         (struct sigaction): Change type of sa_flags field to int.
863
864         [BZ #17780]
865         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
866         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
867         __glibc_reserved0.
868
869         * nptl/version.c (banner): Use single year in copyright notice.
870
871         * NEWS: Update copyright dates.
872         * catgets/gencat.c (print_version): Likewise.
873         * csu/version.c (banner): Likewise.
874         * debug/catchsegv.sh: Likewise.
875         * debug/pcprofiledump.c (print_version): Likewise.
876         * debug/xtrace.sh (do_version): Likewise.
877         * elf/ldconfig.c (print_version): Likewise.
878         * elf/ldd.bash.in: Likewise.
879         * elf/pldd.c (print_version): Likewise.
880         * elf/sotruss.sh: Likewise.
881         * elf/sprof.c (print_version): Likewise.
882         * iconv/iconv_prog.c (print_version): Likewise.
883         * iconv/iconvconfig.c (print_version): Likewise.
884         * locale/programs/locale.c (print_version): Likewise.
885         * locale/programs/localedef.c (print_version): Likewise.
886         * login/programs/pt_chown.c (print_version): Likewise.
887         * malloc/memusage.sh (do_version): Likewise.
888         * malloc/memusagestat.c (print_version): Likewise.
889         * malloc/mtrace.pl: Likewise.
890         * manual/libc.texinfo: Likewise.
891         * nptl/version.c (banner): Likewise.
892         * nscd/nscd.c (print_version): Likewise.
893         * nss/getent.c (print_version): Likewise.
894         * nss/makedb.c (print_version): Likewise.
895         * posix/getconf.c (main): Likewise.
896         * scripts/test-installation.pl: Likewise.
897         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
898
899 2015-01-02  Will Newton  <will.newton@linaro.org>
900
901         * sysdeps/arm/armv7/configure: Removed.
902         * sysdeps/arm/armv7/configure.ac: Likewise.
903
904 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
905
906         * All files with FSF copyright notices: Update copyright dates
907         using scripts/update-copyrights.
908         * intl/plural.c: Regenerated.
909         * locale/programs/charmap-kw.h: Likewise.
910         * locale/programs/locfile-kw.h: Likewise.
911
912 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
913
914         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
915
916 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
917
918         [BZ #17748]
919         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
920         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
921         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
922         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
923         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
924         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
925         define as weak alias of __fegetenv.  Use libm_hidden_weak.
926         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
927         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
928         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
929         define as weak alias of __fegetenv.  Use libm_hidden_weak.
930         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
931         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
932         define as weak alias of __fegetenv.  Use libm_hidden_weak.
933         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
934         libm_hidden_def.
935         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
936         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
937         Likewise.
938         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
939         define as weak alias of __fegetenv.  Use libm_hidden_weak.
940         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
941         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
942         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
943         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
944         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
945         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
946         __fegetenv instead of fegetenv.
947         (libc_feholdsetround_noex_ctx): Likewise.
948
949 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
950
951         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
952         (Elf_MIPS_ABIFlags_v0): New structure.
953         (EF_MIPS_FP64): Define.
954         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
955         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
956         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
957         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
958         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
959         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
960         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
961         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
962         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
963         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
964         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
965         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
966         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
967         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
968         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
969         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
970         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
971         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
972         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
973         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
974         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
975         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
976         field.
977         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
978         EF_MIPS_FP64.
979         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
980         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
981         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
982         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
983         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
984         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
985         * sysdeps/mips/tst-abi-interlink.c: Likewise.
986         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
987         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
988         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
989         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
990         record the current FP ABI extension.
991         (mips-mode-switch): Define to show if kernel headers support mode
992         switching.
993         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
994         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
995         supported SYSV ABI version to 3.
996         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
997         feature.
998
999 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1001
1002         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1003         path.
1004         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1005
1006 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1007
1008         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1009         __fegetround and redefine to call __fegetround.  Remove condition
1010         on [!__NO_MATH_INLINES].
1011         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1012         function.
1013         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1015         Remove macro.
1016         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1017         instead of <fenv_libc.h>.
1018         (__llrintl): Call fegetround instead of __fegetround.
1019         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1020         instead of <fenv_libc.h>.
1021         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1022         (__lrintl): Call fegetround instead of __fegetround.
1023         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1024         instead of <fenv_libc.h>.
1025         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1026         (__rintl): Call fegetround instead of __fegetround.
1027
1028 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1029
1030         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1031         arrays.
1032
1033 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1034
1035         [BZ #17775]
1036         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1037         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1038         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1039
1040 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1041
1042         * sysdeps/i386/tls-macros.h: Include <features.h>.
1043         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1044         (TLS_IE): Likewise.
1045         (TLS_LD): Likewise.
1046         (TLS_GD): Likewise.
1047         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1048         define for GCC >= 5.0.
1049
1050 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1051
1052         * math/test-fenv.c (test_single_exception, set_single_exc,
1053         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1054         feexcp_mask_test, feenable_test, fe_single_test): Add
1055         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1056         case where they are not used.
1057         * math/libm-test.inc: Likewise.
1058         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1059         unused in the absence of FP rounding/exception support.
1060         * stdio-common/tst-printf-round.c: Likewise.
1061         * stdlib/tst-strtod-round.c: Likewise.
1062         * stdlib/tst-strtod-underflow.c: Likewise.
1063
1064 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1065
1066         [BZ #17723]
1067         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1068         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1069         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1070         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1071         libm_hidden_weak.
1072         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1073         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1074         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1075         libm_hidden_def.
1076         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1077         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1078         libm_hidden_weak.
1079         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1080         Likewise.
1081         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1082         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1083         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1084         libm_hidden_weak.
1085         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1086         libm_hidden_def.
1087         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1088         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1089         (__feraiseexcept): Likewise.
1090         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1091         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1092         libm_hidden_weak.
1093         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1094         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1095         libm_hidden_def.
1096         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1097         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1098         Use libm_hidden_def.
1099         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1100         libm_hidden_def.
1101         (feraiseexcept): Define as weak not strong alias.  Use
1102         libm_hidden_weak.
1103         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1104         New inline function.  Factored out of ...
1105         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1106         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1107         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1108         feraiseexcept.
1109         * math/w_acos.c (__acos): Likewise.
1110         * math/w_asin.c (__asin): Likewise.
1111         * math/w_ilogb.c (__ilogb): Likewise.
1112         * math/w_j0.c (y0): Likewise.
1113         * math/w_j1.c (y1): Likewise.
1114         * math/w_jn.c (yn): Likewise.
1115         * math/w_log.c (__log): Likewise.
1116         * math/w_log10.c (__log10): Likewise.
1117         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1118         * sysdeps/aarch64/fpu/math_private.h
1119         (libc_feupdateenv_test_aarch64): Likewise.
1120         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1121         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1122         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1123         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1124         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1125         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1126         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1127         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1128         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1129         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1130
1131 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1132
1133         [BZ #17732]
1134         * io/test-utime.c (main): Replace %ld with %jd and cast to
1135         intmax_t.
1136         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1137         * nptl/tst-mutex5.c: Include <stdint.h>.
1138         (do_test): Replace %ld with %jd and cast to intmax_t.
1139         * posix/tst-regex.c (run_test): Likewise.
1140         (run_test_backwards): Likewise.
1141         * rt/tst-clock.c: Include <stdint.h>.
1142         (clock_test): Replace %ld with %jd and cast to intmax_t.
1143         * rt/tst-cpuclock1.c: Include <stdint.h>.
1144         (do_test): Replace %lu with %ju and cast to uintmax_t.
1145         * rt/tst-cpuclock2.c: Include <stdint.h>.
1146         (do_test): Replace %lu with %ju and cast to uintmax_t.
1147         * rt/tst-mqueue1.c: Include <stdint.h>.
1148         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1149         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1150         intmax_t.
1151         * rt/tst-mqueue4.c (do_test): Likewise.
1152         * rt/tst-timer4.c: Include <stdint.h>.
1153         (check_ts): Replace %ld with %jd and cast to intmax_t.
1154         (do_test): Likewise.
1155         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1156         and cast to intmax_t.
1157         * sysdeps/pthread/tst-timer.c (main): Likewise.
1158         * time/clocktest.c (main): Likewise.
1159         * time/tst-posixtz.c (do_test): Likewise.
1160         * timezone/tst-timezone.c (main): Likewise.
1161
1162 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1163             H.J. Lu  <hongjiu.lu@intel.com>
1164
1165         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1166         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1167         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1168         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1169         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1170         version if bit_Fast_Unaligned_Load is set.
1171         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1172         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1173         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1174         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1175         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1176         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1178         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1179         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1180         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1181         to 4.
1182         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1183         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1184         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1185         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1186
1187 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1188
1189         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1190         instead of #if to avoid a Wundef warning.
1191         * stdlib/tst-limits.c (do_test): Likewise.
1192
1193         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1194         parallel other exception macros.
1195         (fegetenv): Convert from macro to extern inline so that it applies
1196         retroactively to inline functions already seen by the compiler.
1197         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1198
1199         * posix/Makefile (before-compile): Use $(objpfx) for
1200         posix-conf-vars-def.h.
1201
1202 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1203
1204         * posix/getconf.c (main): Use size_t for type of I.
1205         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1206         NSPEC.
1207
1208         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1209         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1210         * posix/posix-envs.def: Likewise.
1211         * sysdeps/posix/sysconf.c: Likewise.
1212         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1213         (specs): Remove array.
1214         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1215         array.
1216
1217         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1218         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1219         (__sysconf): Use CONF_IS_* macros.
1220
1221         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1222         ($(objpfx)posix-conf-vars-def.h): New target.
1223         * posix/posix-conf-vars.list: New file.
1224         * posix/posix-conf-vars.h: New file.
1225         * posix/confstr.c: Include posix-conf-vars.h.
1226         (confstr): Use CONF_IS_* macros.
1227         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1228         CONF_IS_* macros.
1229         * scripts/gen-posix-conf-vars.awk: New file.
1230
1231 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1232
1233         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1234         fegetround): Add no-op macros to avoid linknamespace issues.
1235
1236         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1237         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1238
1239         * sysdeps/unix/sysv/linux/tile/sysdep.h
1240         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1241         assembly-specific section to avoid a redefinition warning.
1242
1243         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1244         long before casting to pointer to avoid a cast warning.
1245
1246 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1247
1248         * sysdeps/tile/tilegx/Implies: New file.
1249
1250 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1251
1252         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1253
1254 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1255
1256         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1257
1258 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1259
1260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1261         not define.
1262         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1263         <kernel-features.h>.
1264         (__utimes) [__NR_utimes]: Make code unconditional.
1265         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1266         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1267         (__ASSUME_UTIMES): Do not undefine.
1268         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1269         (__ASSUME_UTIMES): Likewise.
1270         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1271         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1272         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1273         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1274
1275 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1276
1277         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1278
1279 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1280
1281         [BZ #17747]
1282         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1283         alias to weak alias for j0l, y0l.
1284         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1285         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1286
1287         [BZ #17746]
1288         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1289         conversion.
1290
1291 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1292
1293         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1294         to zero if not already defined.
1295
1296 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1297
1298         [BZ #17724]
1299         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1300         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1301         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1302         (char *) casts added.
1303         * sysdeps/ieee754/k_standardf.c: New file.
1304         * sysdeps/ieee754/k_standardl.c: Likewise.
1305         * math/Makefile (libm-support): Remove k_standard.
1306         (libm-calls): Add k_standard.
1307
1308 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1309
1310         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1311         Optimize to avoid an unnecessary FPCR read.
1312
1313 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1314
1315         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1316         Optimize to reduce FPCR/FPSR accesses.
1317
1318 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1319
1320         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1321         Call libc_fetestexcept_aarch64.
1322
1323 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1324
1325         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1326         Call libc_fesetround_aarch64.
1327
1328 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1329
1330         [BZ #17733]
1331         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1332         (__bind): Do not define as weak alias.
1333         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1334         define.
1335         (__getsockname): Do not define as weak alias.
1336
1337 2014-12-22  Will Newton  <will.newton@linaro.org>
1338
1339         * manual/install.texi: Document that we require bison 2.7
1340         or above.
1341         * INSTALL: Regenerate.
1342         * configure.ac: Use AC_CHECK_PROG_VER instead of
1343         AC_PATH_PROG when checking for bison and check for
1344         version 2.7 or above.
1345         * configure: Regenerate.
1346
1347 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1348
1349         [BZ #17745]
1350         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1351         * sysdeps/tile/ffsll.c (ffsll): To here.
1352
1353         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1354
1355 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1356
1357         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1358         if not defined.
1359         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1360         definition.
1361         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1362         hidden ___tls_get_addr.
1363         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1364         hidden __tls_get_addr.
1365         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1366         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1367         Likewise.
1368
1369 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1370
1371         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1372         _dl_init call.
1373
1374 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1375
1376         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1377         from "call _dl_init@PLT".
1378         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1379
1380 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1381
1382         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1383         guarantees.
1384
1385 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1386
1387         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1388
1389 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1390
1391         [BZ #17744]
1392         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1393         strnlen.
1394
1395 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1396
1397         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1398         of multu on MIPSr6.
1399         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1400         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1401         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1402         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1403         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1404
1405 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1406
1407         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1408         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1409         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1410         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1411         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1412         mips32r6/mips64r6.
1413         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1414
1415 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1416
1417         * string/strncat.c (STRNCAT): Simplify implementation.
1418
1419 2014-12-19  David S. Miller  <davem@davemloft.net>
1420
1421         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1422         access the quad as both a long double and as a series of 4 words.
1423
1424         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1425         link_map->l_info array access.
1426
1427 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1428
1429         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1430
1431         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1432         * math/atest-exp2.c (TIMEOUT): Likewise.
1433         * math/atest-sincos.c (TIMEOUT): Likewise.
1434
1435 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1436
1437         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1438         -Wno-error with -fno-builtin-lround.
1439
1440 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1441
1442         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1443         Contains futex constants and functions moved over from ...
1444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1445         <lowlevellock-futex.h>.
1446         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1447         (lll_timedwait_tid): Add comments and parentheses around macro
1448         arguments.
1449
1450 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1451
1452         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1453         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1454         (__lll_private_flag): Remove.
1455         (lll_futex_wait): Likewise.
1456         (lll_futex_timed_wait): Likewise.
1457         (lll_futex_wake): Likewise.
1458         (lll_futex_requeue): Likewise.
1459         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1460         (__lll_timedwait_tid): Spell out argument names.
1461         (lll_timedwait_tid): Add comments and parentheses around macro
1462         arguments.
1463         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1464         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1465
1466 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1467
1468         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1469         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1471         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1472         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1473         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1474         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1475         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1476         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1477         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1479         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1481         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1482         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1483         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1484         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1485         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1486         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1487
1488 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1489
1490         * sysdeps/x86_64/x32/Makefile: New file.
1491
1492 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1493
1494         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1495         1L with (mp_limb_t) 1.
1496
1497 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1498
1499         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1500         * nptl/libc_pthread_init.c: ... here.
1501         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1502         * nptl/register-atfork.c: ... here.
1503
1504         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1505         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1506         Use assert_perror to check its return value.
1507         (__gai_create_helper_thread): Likewise.
1508
1509         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1510
1511         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1512
1513 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1514
1515         [BZ #17725]
1516         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1517         __profil_counter.
1518         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1519         Likewise.
1520         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1521         Likewise.
1522         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1523         Likewise.
1524         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1525         (profil_counter): Likewise.
1526         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1527         (profil_counter): Likewise.
1528         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1529         Likewise.
1530         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1531         Likewise.
1532         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1533         (profil_counter): Likewise.
1534         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1535         Likewise.
1536         [!__profil_counter] (profil_counter): Define as weak alias of
1537         __profil_counter.
1538         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1539         (profil_counter): Rename to __profil_counter.
1540         [!__profil_counter] (profil_counter): Define as weak alias of
1541         __profil_counter.
1542         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1543         (profil_counter): Rename to __profil_counter.
1544         [!__profil_counter] (profil_counter): Define as weak alias of
1545         __profil_counter.
1546         * sysdeps/posix/profil.c: Update comment referring to
1547         profil_counter.
1548         (__profil): Use __profil_counter instead of profil_counter.
1549         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1550         __profil_counter.  Use __profil_counter_ushort and
1551         __profil_counter_uint in definitions.
1552         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1553         instead of profil_counter_uint and profil_counter_ushort.
1554
1555         [BZ #17722]
1556         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1557         define as weak alias of __inet_makeaddr.
1558         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1559         as weak alias of __inet_addr.
1560         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1561         as weak alias of __inet_pton.  Use libc_hidden_weak.
1562         * include/arpa/inet.h (__inet_pton): Declare.  Use
1563         libc_hidden_proto.
1564         (inet_makeaddr): Don't use libc_hidden_proto.
1565         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1566         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1567         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1568         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1569         Remove variable.
1570         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1571         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1572
1573 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1574
1575         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1576
1577 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1578
1579         * stdio-common/bug-vfprintf-nargs.c (do_test):
1580         Cast value to intptr_t to avoid format warning
1581         for usage with PRIdPTR printing macro.
1582
1583 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1584
1585         * libio/tst-widetext.c (do_test):
1586         Use format type %td instead of %Zd for ptrdiff_t
1587         in order to avoid format warning.
1588
1589 2014-12-17  Andreas Schwab  <schwab@suse.de>
1590
1591         * nscd/mem.c (gc): Add size_t cast to match printf format.
1592
1593 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1594
1595         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1596         (init): Apply PTR_MANGLE to pointers before storing them.
1597         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1598         before using them.
1599
1600 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1601
1602         [BZ #17719]
1603         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1604         define as weak alias of __memrchr.
1605         (__memrchr): Do not define as strong alias of memrchr.
1606         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1607         Remove variable.
1608         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1609         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1610         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1611
1612         [BZ #17717]
1613         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1614         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1615         (if_indextoname): Rename to __if_indextoname and define as weak
1616         alias of __if_indextoname.  Use libc_hidden_weak.
1617         (if_freenameindex): Rename to __if_freenameindex and define as
1618         weak alias of __if_freenameindex.
1619         (if_nameindex): Rename to __if_nameindex and define as weak alias
1620         of __if_nameindex.
1621         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1622         __if_nametoindex and define as weak alias of __if_nametoindex.
1623         Use libc_hidden_weak.
1624         (if_freenameindex): Rename to __if_freenameindex and define as
1625         weak alias of __if_freenameindex.
1626         (if_nameindex): Rename to __if_nameindex and define as weak alias
1627         of __if_nameindex.
1628         (if_indextoname): Rename to __if_indextoname and define as weak
1629         alias of __if_indextoname.  Use libc_hidden_weak.
1630         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1631         __if_nametoindex and define as weak alias of __if_nametoindex.
1632         Use libc_hidden_weak.
1633         (if_freenameindex): Rename to __if_freenameindex and define as
1634         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1635         (if_nameindex_netlink): Use __if_freenameindex instead of
1636         if_freenameindex.
1637         (if_nameindex): Rename to __if_nameindex and define as weak alias
1638         of __if_nameindex.  Use libc_hidden_weak.
1639         (if_indextoname): Rename to __if_indextoname and define as weak
1640         alias of __if_indextoname.  Use libc_hidden_weak.
1641         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1642         libc_hidden_proto.
1643         [!_ISOMAC] (__if_freenameindex): Likewise.
1644         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1645         if_nametoindex.
1646         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1647         variable.
1648         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1649         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1650         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1651         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1652         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1653         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1654         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1655
1656         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1657         Remove variable.
1658         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1659         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1660
1661 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1662
1663         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1664         subscript above bounds'
1665
1666         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1667         bounds.
1668
1669 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1670
1671         * libio/tst-fopenloc.c: Use test-skeleton.c.
1672
1673         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1674         (entry): Rename to ITEM.
1675         (do_test, comp): Adjust.
1676
1677         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1678
1679 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1680
1681         * string/tester.c: Include <libc-internal.h>.
1682         (test_memset): Ignore -Wmemset-transposed-args.
1683
1684 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1685
1686         * misc/tst-mntent2.c (do_test): Fix warning.
1687
1688 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1689
1690         * elf/tst-unique4lib.cc(a): Mark as used.
1691
1692 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1693
1694         [BZ #17630]
1695         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1696         names.
1697
1698 2014-12-16  Allan McRae  <allan@archlinux.org>
1699
1700         * stdio-common/Makefile (tests): Re-add bug26.
1701
1702 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1703
1704         [BZ #17657]
1705         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1706         static array.
1707
1708 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1709
1710         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1711         (__lll_lock_wait): Likewise.
1712         (__lll_timedlock_wait): Likewise.
1713         (__lll_timedwait_tid): Likewise.
1714         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1715         (__lll_robust_timedlock_wait): Likewise.
1716         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1717         (lll_cond_trylock): Likewise.
1718         (__lll_lock): Likewise.
1719         (__lll_robust_lock): Likewise.
1720         (__lll_cond_lock): Likewise.
1721         (lll_robust_cond_lock): Likewise.
1722         (__lll_timedlock): Likewise.
1723         (__lll_robust_timedlock): Likewise.
1724         (__lll_unlock): Likewise.
1725         (__lll_robust_unlock): Likewise.
1726         (lll_wait_tid): Likewise.
1727         (lll_timedwait_tid): Likewise.
1728
1729 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1730
1731         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1732
1733 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1734
1735         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1736
1737 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1738
1739         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1740         * stdio-common/tst-sprintf.c: Likewise.
1741
1742 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1743
1744         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1745
1746 2014-12-15  Jeff Law  <law@redhat.com>
1747
1748         [BZ #16617]
1749         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1750         on the heap.  (CVE-2012-3406)
1751         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1752         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1753         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1754
1755 2014-12-15  Will Newton  <will.newton@linaro.org>
1756
1757         * manual/install.texi: Bump required version of texinfo
1758         to 4.7 from 4.5.
1759         * INSTALL: Regenerated.
1760         * configure.ac: Check for makeinfo version 4.7 and above.
1761         * configure: Regenerated.
1762
1763 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1764
1765         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1766         PREFIX, string constant to insert between directory and name.
1767         * sysdeps/posix/shm_open.c: Update caller.
1768         * sysdeps/posix/shm_unlink.c: Likewise.
1769         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1770         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1771         (SEM_SHM_PREFIX): New macro.
1772         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1773         [$(have-thread-library) = no].
1774         * nptl/Makefile (libpthread-routines): Add shm-directory.
1775         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1776         * sysdeps/nptl/shm-directory.h: New file.
1777         * sysdeps/posix/shm-directory.c
1778         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1779         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1780         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1781         INTERNAL_SYSCALL.
1782         (__where_is_shmfs): Function removed.
1783         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1784         Variables removed.
1785         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1786         Use SHM_GET_NAME.
1787         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1788
1789         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1790         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1791         unconditional for use inside libpthread.
1792         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1793
1794 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1795
1796         * nptl/pthread_getaffinity.c: New file.
1797         * nptl/pthread_setaffinity.c: New file.
1798         * nptl/pthread_getname.c: New file.
1799         * nptl/pthread_setname.c: New file.
1800
1801         * nptl/pthread_create.c (START_THREAD_DEFN)
1802         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1803
1804 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1805             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1806
1807         * resolv/res_send.c (send_vc): Disable warning resplen may
1808         be used uninitialized.
1809
1810 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1811
1812         * nptl/tst-mutex6.c
1813         (ATTR_NULL): New define checks ATTR against NULL.
1814         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1815         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1816
1817 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1818
1819         [BZ #17581]
1820         * malloc/hooks.c
1821         (mem2mem_check): Revert my previous change.
1822         (malloc_check_get_size): Revert my previous change.
1823         (mem2chunk_check): Revert my previous change.
1824
1825 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1826
1827         * sysdeps/posix/shm-directory.c: New file.
1828         * sysdeps/posix/shm-directory.h: New file.
1829         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1830         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1831         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1832         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1833         Transmute EPERM to EACCES.
1834         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1835         from ...
1836         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1837         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1838
1839 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1840
1841         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1842         pointer and cast to uintptr_t.
1843         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1844         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1845         Add cast to avoid warning.
1846         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1847
1848 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1849
1850         * nptl/semaphore.h: Move to ...
1851         * sysdeps/pthread/semaphore.h: ... here.
1852         * Makefile (installed-headers): Change nptl/semaphore.h to
1853         sysdeps/pthread/semaphore.h.
1854
1855 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1856
1857         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1858         generated error format strings.
1859
1860         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1861         -Wformat-extra-args warnings for scanf formats.
1862         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1863         test of zero-length format (duh).
1864         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1865         corner-case scanf format test.
1866         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1867         generated fprintf format string.
1868         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1869         corner-case sprintf format tests.
1870         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1871         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1872         -Wformat-extra-args warnings throughout.
1873         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1874         (CFLAGS-scanf4.c): Likewise.
1875         (CFLAGS-scanf7.c): Likewise.
1876         (CFLAGS-tst-sprintf.c): Likewise.
1877         (CFLAGS-tst-printf.c): Likewise.
1878         (CFLAGS-tst-printfsz.c): Likewise.
1879
1880 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1881
1882         * include/cpio.h: New file.
1883         * include/fmtmsg.h: Likewise.
1884
1885         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1886         corresponding format argument to size_t.
1887         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1888         arguments.
1889         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1890         corresponding format argument to size_t.
1891         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1892         arguments.
1893         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1894         corresponding format argument to size_t.
1895         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1896         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1897         (CFLAGS-tst-mbswcs2.c): Likewise.
1898         (CFLAGS-tst-mbswcs3.c): Likewise.
1899         (CFLAGS-tst-mbswcs4.c): Likewise.
1900         (CFLAGS-tst-mbswcs5.c): Likewise.
1901         (CFLAGS-tst-trans.c): Likewise
1902
1903 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1904
1905         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1906         rather than assuming they won't contain any '%'s.
1907
1908 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1909
1910         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1911         inhibit_loop_to_libcall to avoid recursive calls.
1912         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1913         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1914
1915 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1916
1917         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1918         prototype.
1919
1920 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1921
1922         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1923         integer value instead of boolean.
1924
1925 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1926
1927         * malloc/malloc.c: Fix powerof2 check.
1928
1929 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1930
1931         * locale/programs/locfile.h (maybe_swap_uint32):
1932         Remove inline and add unused attribute.
1933
1934 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1935
1936         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1937         Truncating assembler expression to a .long expression.
1938
1939 2014-12-11  Andreas Schwab  <schwab@suse.de>
1940
1941         * elf/rtld.c (struct map_args): Constify str member.
1942         (do_preload): Constify fname argument.
1943
1944 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1945
1946         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1947         constants definition.
1948
1949 2014-12-11  Andreas Schwab  <schwab@suse.de>
1950
1951         [BZ #16657]
1952         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1953         FORCE_ELISION instead of DO_ELISION.
1954         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1955         Remove.
1956         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1957         Likewise.
1958
1959         * iconvdata/gconv-modules: Remove duplicate entry.
1960
1961 2014-12-11  Will Newton  <will.newton@linaro.org>
1962
1963         Merge gettext 0.19.3 into intl/.
1964
1965         This involves a number of cosmetic changes to comments
1966         and ANSI function definitions and prototypes throughout
1967         all the files. The gettext copyright header is used but
1968         with the date ranges taken from the glibc copy.
1969
1970         * NEWS: Add gettext merge to 2.21.
1971         * intl/bindtextdom.c: Switch to gettext copyright.
1972         Use ANSI definitions and prototypes.
1973         Use gl_* locking primitives rather than __libc_* ones.
1974         Use __builtin_expect rather than __glibc_likely/unlikely.
1975         * intl/dcgettext.c: Switch to gettext copyright.
1976         Use ANSI definitions and prototypes.
1977         * intl/dcigettext.c: Switch to gettext copyright.
1978         Use ANSI definitions and prototypes.
1979         (INTDIV0_RAISES_SIGFPE): New define.
1980         Use gl_* locking primitives rather than __libc_* ones.
1981         Include eval-plural.h instead of plural-eval.c.
1982         Use __builtin_expect rather than __glibc_likely/unlikely.
1983         * intl/dcngettext.c: Switch to gettext copyright.
1984         Use ANSI definitions and prototypes.
1985         * intl/dgettext.c: Likewise.
1986         * intl/dngettext.c: Likewise.
1987         * intl/plural-eval.c: Renamed to...
1988         * intl/eval-plural.h: ...this.
1989         * intl/explodename.c: Switch to gettext copyright.
1990         Use ANSI definitions and prototypes.
1991         (_nl_explode_name): Use strchr instead of __rawmemchr.
1992         * intl/finddomain.c: Switch to gettext copyright.
1993         Use ANSI definitions and prototypes.
1994         Use gl_* locking primitives rather than __libc_* ones.
1995         (_nl_find_domain): Use malloc rather than alloca for
1996         allocation of temporary locale name.
1997         * intl/gettext.c: Switch to gettext copyright.
1998         Use ANSI definitions and prototypes.
1999         * intl/gettextP.h: Switch to gettext copyright.
2000         Use ANSI definitions and prototypes.
2001         Use gl_* locking primitives rather than __libc_* ones.
2002         * intl/gmo.h: Switch to gettext copyright.
2003         (struct sysdep_string): Move struct segment_pair outside of
2004         struct definition.
2005         * intl/hash-string.c: Use ANSI definitions and prototypes.
2006         * intl/hash-string.h: Switch to gettext copyright.
2007         Use ANSI definitions and prototypes.
2008         * intl/l10nflist.c: Switch to gettext copyright.
2009         Use ANSI definitions and prototypes.
2010         (_nl_normalize_codeset): Avoid integer overflow.
2011         * intl/loadinfo.h: Switch to gettext copyright.
2012         Use ANSI definitions and prototypes.
2013         (LIBINTL_DLL_EXPORTED): New define.
2014         (PATH_SEPARATOR): New define.
2015         * intl/loadmsgcat.c: Switch to gettext copyright.
2016         * intl/localealias.c: Switch to gettext copyright.
2017         Use ANSI definitions and prototypes.
2018         (_nl_expand_alias): Use PATH_SEPARATOR.
2019         * intl/ngettext.c: Switch to gettext copyright.
2020         Use ANSI definitions and prototypes.
2021         * intl/plural-exp.c: Likewise.
2022         * intl/plural-exp.h: Switch to gettext copyright.
2023         Use ANSI definitions and prototypes.
2024         (struct expression): Move definition of enum operator outside
2025         of struct definition.
2026         * intl/plural.c: Regenerate.
2027         * intl/plural.y: Switch to gettext copyright.
2028         Use ANSI definitions and prototypes.
2029         Port to bison 3.0.
2030         * intl/textdomain.c: Switch to gettext copyright.
2031         Use ANSI definitions and prototypes.
2032         Use gl_* locking primitives rather than __libc_* ones.
2033
2034 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2035
2036         * debug/warning-nop.c: Add used atrribute.
2037
2038 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2039
2040         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2041
2042         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2043         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2044         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2045
2046 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2048
2049         [BZ #17634]
2050         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2051         Undefine after defining function.  Define as weak alias of
2052         __wcschr.  Use libc_hidden_weak.
2053         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2054         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2055         (libc_hidden_def): Also define __GI___wcschr alias.
2056         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2057         __wcschr and define as weak alias of __wcschr.
2058         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2059         __wcschr.
2060         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2061         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2062         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2063         libc_hidden_weak.  Do not use libc_hidden_def.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2065         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2066         __GI___wcschr alias.
2067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2068         [IS_IN (libc)] (wcschr): Define as macro expanding to
2069         __redirect_wcschr.
2070         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2071         [IS_IN (libc)] (__wcschr_power6): Likewise.
2072         [IS_IN (libc)] (__wcschr_power7): Likewise.
2073         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2074         instead of wcschr.
2075         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2076         __libc_wcschr.
2077         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2078         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2079         __wcschr and define as weak alias of __wcschr.  Use
2080         libc_hidden_builtin_def.
2081         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2082         as weak alias of __wcschr.  Use libc_hidden_weak.
2083         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2084         wcschr.
2085         * time/era.c (_nl_init_era_entries): Likewise.
2086         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2087         variable.
2088         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2089         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2090
2091 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2092
2093         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2094         format for long int variable.
2095
2096 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2097
2098         [BZ #10672]
2099         * manual/search.texi: (Array Sort Function): Remove claim how to make
2100         qsort stable.
2101
2102 2014-12-10  Andreas Schwab  <schwab@suse.de>
2103
2104         [BZ #12847]
2105         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2106         user-controlled locks.
2107
2108 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2109
2110         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2111         register.
2112
2113 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2114
2115         * configure.ac (--disable-werror): New configure option.
2116         (enable_werror): New AC_SUBST.
2117         * configure: Regenerated.
2118         * config.make.in (enable-werror): New variable.
2119         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2120         -Wno-error=undef.
2121         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2122         * manual/install.texi (Configuring and compiling): Document
2123         --disable-werror.
2124         * INSTALL: Regenerated.
2125         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2126         (CFLAGS-tst-chk2.c): Likewise.
2127         (CFLAGS-tst-chk3.c): Likewise.
2128         (CFLAGS-tst-chk4.cc): Likewise.
2129         (CFLAGS-tst-chk5.cc): Likewise.
2130         (CFLAGS-tst-chk6.cc): Likewise.
2131         (CFLAGS-tst-lfschk1.c): Likewise.
2132         (CFLAGS-tst-lfschk2.c): Likewise.
2133         (CFLAGS-tst-lfschk3.c): Likewise.
2134         (CFLAGS-tst-lfschk4.cc): Likewise.
2135         (CFLAGS-tst-lfschk5.cc): Likewise.
2136         (CFLAGS-tst-lfschk6.cc): Likewise.
2137
2138         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2139         (main): Disable -Wdeprecated-declarations around calls to
2140         register_printf_function.
2141
2142         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2143         (do_test): Disable -Wdiv-by-zero around some calls to
2144         fwrite_unlocked and fread_unlocked.
2145
2146         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2147         (DIAG_POP_NEEDS_COMMENT): Likewise.
2148         (_DIAG_STR1): Likewise.
2149         (_DIAG_STR): Likewise.
2150         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2151         * stdio-common/bug21.c: Include <libc-internal.h>.
2152         (do_test): Disable -Wformat around call to sscanf.
2153         * stdio-common/scanf14.c: Include <libc-internal.h>.
2154         (main): Disable -Wformat around some calls to scanf functions.
2155
2156 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2157
2158         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2159
2160 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161
2162         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2163         stack variable alignment.
2164
2165 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2166
2167         [BZ #17682]
2168         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2169         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2170         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2171         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2172         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2173         __getrlimit instead of getrlimit.
2174         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2175         __gettimeofday instead of gettimeofday.
2176         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2177         Likewise.
2178         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2179         Likewise.
2180         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2181         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2182         Remove variable.
2183         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2184         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2185
2186 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2187
2188         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2189         for wide-character tests.
2190
2191 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2192
2193         * io/openat64.c: #include <libc-internal.h>
2194         (__openat64): Prototypify.  Use ignore_value on MODE.
2195         * io/openat.c: Likewise.
2196         * misc/reboot.c: #include <libc-internal.h>
2197         (reboot): Prototypify.  Use ignore_value on HOWTO.
2198         * misc/ptrace.c: #include <libc-internal.h>
2199         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2200
2201 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2202
2203         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2204         XPG4, UNIX98 and XOPEN2K.
2205         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2206         Remove variable.
2207         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2208
2209 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2210
2211         * libio/fileops.c: Use ISO C style for function definitions.
2212         * libio/iofopen.c: Likewise.
2213         * libio/wfileops.c: Likewise.
2214
2215         [BZ #17653]
2216         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2217         offset on EOF.
2218         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2219         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2220         (fgets_func): Function pointer to fgets and fgetws.
2221         (do_ftell_test): Add test to verify ftell value after read
2222         EOF.
2223         (do_test): Set fgets_func.
2224
2225         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2226         O_TRUNC flag for w and w+ modes.
2227         (do_rewind_test): Likewise.
2228         (do_ftell_test): Likewise.
2229         (do_write_test): Likewise.
2230
2231         [BZ #17647]
2232         * libio/fileops.c (do_ftell): Seek only when there are
2233         unflushed writes.
2234         * libio/wfileops.c (do_ftell_wide): Likewise.
2235         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2236         test case.
2237         (do_one_test): Call it.
2238
2239 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2240
2241         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2242         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2243         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2244         Remove variable.
2245         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2246         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2247         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2248
2249 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2250
2251         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2252         Remove variable.
2253         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2254
2255         [BZ #17668]
2256         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2257         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2258         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2259         __freeifaddrs.  Use libc_hidden_weak.
2260         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2261         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2262         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2263         __freeifaddrs.  Use libc_hidden_weak.
2264         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2265         __getifaddrs and define as weak alias of __getifaddrs.  Use
2266         libc_hidden_weak.
2267         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2268         __freeifaddrs.  Use libc_hidden_weak.
2269         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2270         Remove variable.
2271         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2272         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2273
2274 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2275
2276         [BZ #17601]
2277         * sysdeps/mips/start.S (__start): Use indirect jump to call
2278         __libc_start_main.
2279
2280 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2281
2282         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2283
2284         * nptl/tst-mutex1.c: Include <stdbool.h>.
2285         [!ATTR] (ATTR_NULL): New macro.
2286         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2287         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2288         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2289
2290         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2291         to char *.
2292
2293         [BZ #17665]
2294         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2295         Change conditional to [__USE_MISC].
2296
2297         [BZ #17664]
2298         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2299         fgets_unlocked.
2300         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2301         __fgets_unlocked.
2302         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2303         fgets_unlocked.
2304         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2305         Remove variable.
2306         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2307         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2308         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2309         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2310         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2311         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2312         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2313         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2314         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2315
2316         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2317
2318 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2319
2320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2321         Remove strpbrk objects.
2322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2323         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2324         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2325         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2326         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2327         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2328
2329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2330         Remove strcspn objects.
2331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2332         (__libc_ifunc_impl_list): Remove strcspn implementation.
2333         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2334         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2335         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2336         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2337
2338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2339         Remove strspn objetcs.
2340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2341         (__libc_ifunc_impl_list): Remove strspn implementation.
2342         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2343         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2344         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2345         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2346
2347 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2348
2349         [BZ #17581]
2350         * malloc/hooks.c
2351         (mem2mem_check): Add a terminator to the chain of checking blocks.
2352         (malloc_check_get_size): Use it here.
2353         (mem2chunk_check): Ditto.
2354
2355 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2356
2357         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2358         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2359
2360 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2361
2362         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2363
2364         * nptl/nptl-init.c: Include libc-internal.h.
2365         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2366
2367         * elf/ldconfig.c (search_dir): Expand comment.
2368
2369 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2370
2371         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2372         variable.
2373         (linknamespace-symlist-stdlibs-tests): Likewise.
2374         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2375         instead of $(objpfx)symlist-stdlibs.
2376         (linknamespace-libs-isoc): New variable.
2377         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2378         (linknamespace-libs-ISO): New variable.
2379         (linknamespace-libs-ISO99): Likewise.
2380         (linknamespace-libs-ISO11): Likewise.
2381         (linknamespace-libs-XPG3): Likewise.
2382         (linknamespace-libs-XPG4): Likewise.
2383         (linknamespace-libs-POSIX): Likewise.
2384         (linknamespace-libs-UNIX98): Likewise.
2385         (linknamespace-libs-XOPEN2K): Likewise.
2386         (linknamespace-libs-POSIX2008): Likewise.
2387         (linknamespace-libs-XOPEN2K8): Likewise.
2388         ($(objpfx)symlist-stdlibs): Replace by
2389         $(linknamespace-symlist-stdlibs-tests).  Use
2390         $(linknamespace-libs-$*) as set of libraries.
2391         ($(linknamespace-header-tests)): Update dependencies.  Use
2392         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2393         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2394         * conform/linknamespace.pl: Remove comment about considering
2395         definitions of symbols from irrelevant libraries.
2396
2397 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2398
2399         [BZ #13862]
2400         * elf/dl-tls.c: Include <atomic.h>.
2401         (oom): Remove #ifdef SHARED/#endif.
2402         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2403         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2404         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2405         big enough.
2406         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2407         * nptl/Makefile (tests): Add tst-stack4.
2408         (modules-names): Add tst-stack4mod.
2409         ($(objpfx)tst-stack4): New.
2410         (tst-stack4mod.sos): Likewise.
2411         ($(objpfx)tst-stack4.out): Likewise.
2412         ($(tst-stack4mod.sos)): Likewise.
2413         (clean): Likewise.
2414         * nptl/tst-stack4.c: New file.
2415         * nptl/tst-stack4mod.c: Likewise.
2416
2417 2014-11-27  J. Brown  <jb999@gmx.de>
2418
2419         * sysdeps/x86/bits/string.h: Add recent CPUs.
2420
2421 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2422
2423         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2424         sigblock.
2425
2426         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2427         feof.
2428
2429         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2430         variable.
2431
2432 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2433
2434         * nscd/connections.c: Include libc-internal.h because of macro
2435         usage ignore_value.
2436
2437 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2438
2439         * string/bits/string3.h (__warn_memset_zero_len): Don't
2440         declare for gcc newer than 5.0.
2441         (memset): Don't test for zero-length __LEN for gcc newer than
2442         5.0.
2443
2444 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2445
2446         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2447         size_t for %zu format.
2448
2449         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2450         difference, not %ju.
2451
2452 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2453
2454         * include/libc-internal.h (ignore_value): New macro.
2455         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2456         with ignore_value.
2457
2458         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2459         definition.
2460
2461         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2462         pthread_cleanup_push to void *.
2463
2464         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2465         Undefine.
2466
2467         [BZ #16619]
2468         [BZ #16740]
2469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2470         instead of 1L << 52.
2471
2472         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2473         * libio/bug-rewind2.c (do_test): Likewise.
2474
2475         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2476         * debug/test-strcpy_chk-ifunc.c: Likewise.
2477         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2478         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2479         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2480         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2481         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2482         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2483         * Rules [$(multi-arch) = no] (tests): Do not filter out
2484         $(tests-ifunc).
2485         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2486         * debug/Makefile (tests-ifunc): Remove variable.
2487         (tests): Do not add $(tests-ifunc).
2488         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2489         (tests): Do not add $(tests-ifunc).
2490         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2491         [TEST_IFUNC]: Remove conditionals.
2492         * string/test-string.h (TEST_IFUNC): Remove macro.
2493         [TEST_IFUNC]: Remove conditionals.
2494
2495         * string/test-strchr.c [!WIDE] (L): New macro.
2496         [WIDE] (L): Likewise.
2497         (check1): Use CHAR instead of char.  Use L on string and character
2498         constants.
2499
2500 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2501
2502         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2503         tests.
2504         * sysdeps/powerpc/bits/atomic.h
2505         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2506         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2507         (atomic_exchange_and_add_acq): Likewise.
2508         (atomic_exchange_and_add_rel): Likewise.
2509         * sysdeps/powerpc/powerpc32/bits/atomic.h
2510         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2511         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2512         * sysdeps/powerpc/powerpc64/bits/atomic.h
2513         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2514         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2515
2516 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2517
2518         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2519         Change synchronization of __sched_fifo_min_prio and
2520         __sched_fifo_max_prio.
2521         * nptl/pthread_mutexattr_getprioceiling.c
2522         (pthread_mutexattr_getprioceiling): Likewise.
2523         * nptl/pthread_mutexattr_setprioceiling.c
2524         (pthread_mutexattr_setprioceiling): Likewise.
2525         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2526         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2527         Likewise.
2528
2529 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2530
2531         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2532         void.
2533
2534 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2535
2536         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2537         third argument const.
2538
2539 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2540
2541         fnmatch: work around GCC compiler warning bug with uninit var
2542         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2543         This works around a bug with x86-64 GCC 4.9.2 and earlier
2544         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2545         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2546         used uninitialized in this function [-Wmaybe-uninitialized]".
2547
2548 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2549
2550         * posix/bug-regex31.c (main): Return RES not 0.
2551
2552 2014-11-25  Anton Blanchard <anton@samba.org>
2553
2554         * sysdeps/powerpc/bits/atomic.h
2555         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2556
2557 2014-11-24  Sterling Augustine  <saugustine@google.com>
2558
2559         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2560
2561 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2562
2563         [BZ #17608]
2564         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2565
2566 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2567
2568         [BZ #17633]
2569         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2570         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2571         variable.
2572         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2573         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2574
2575 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2576
2577         * string/strncpy.c (strncpy): Improve performance by using memset.
2578
2579 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2580
2581         * string/strcpy.c (strcpy):
2582         Improve performance by using strlen and memcpy.
2583
2584 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2585
2586         * string/strcoll_l.c (get_next_seq): __always_inline.
2587         * string/strcoll_l.c (do_compare): __always_inline.
2588
2589 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2590
2591         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2592         defined.
2593         * include/mqueue.h: Likewise.
2594         * include/stdlib.h: Likewise.
2595
2596         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2597         (get_null_defines): Adjust.
2598         * sunrpc/Makefile: Adjust comment.
2599         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2600         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2601         (CFLAGS-interp.c): Likewise.
2602         (CFLAGS-ldconfig.c): Likewise.
2603         (CPPFLAGS-.os): Likewise.
2604         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2605         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2606         * extra-modules.mk (extra-modules.mk): Likewise.
2607         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2608         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2609         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2610         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2611         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2612         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2613         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2614         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2615         * iconvdata/Makefile (CPPFLAGS): Likewise.
2616         (cpp-srcs-left): Add libof for all iconvdata routines.
2617         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2618         * include/assert.h: Likewise.
2619         * include/ctype.h: Likewise.
2620         * include/errno.h: Likewise.
2621         * include/libc-symbols.h: Likewise.
2622         * include/math.h: Likewise.
2623         * include/netdb.h: Likewise.
2624         * include/resolv.h: Likewise.
2625         * include/stdio.h: Likewise.
2626         * include/stdlib.h: Likewise.
2627         * include/string.h: Likewise.
2628         * include/sys/stat.h: Likewise.
2629         * include/wctype.h: Likewise.
2630         * intl/l10nflist.c: Likewise.
2631         * libidn/idn-stub.c: Likewise.
2632         * libio/libioP.h: Likewise.
2633         * nptl/libc_multiple_threads.c: Likewise.
2634         * nptl/pthreadP.h: Likewise.
2635         * posix/regex_internal.h: Likewise.
2636         * resolv/res_hconf.c: Likewise.
2637         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2638         * sysdeps/arm/memmove.S: Likewise.
2639         * sysdeps/arm/sysdep.h: Likewise.
2640         * sysdeps/generic/_itoa.h: Likewise.
2641         * sysdeps/generic/symbol-hacks.h: Likewise.
2642         * sysdeps/gnu/errlist.awk: Likewise.
2643         * sysdeps/gnu/errlist.c: Likewise.
2644         * sysdeps/i386/i586/memcpy.S: Likewise.
2645         * sysdeps/i386/i586/memset.S: Likewise.
2646         * sysdeps/i386/i686/memcpy.S: Likewise.
2647         * sysdeps/i386/i686/memmove.S: Likewise.
2648         * sysdeps/i386/i686/mempcpy.S: Likewise.
2649         * sysdeps/i386/i686/memset.S: Likewise.
2650         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2651         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2652         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2653         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2654         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2655         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2656         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2657         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2658         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2659         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2660         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2661         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2662         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2663         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2664         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2665         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2666         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2667         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2668         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2669         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2670         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2671         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2672         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2673         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2674         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2675         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2676         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2677         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2678         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2679         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2680         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2681         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2682         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2683         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2684         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2686         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2687         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2688         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2689         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2690         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2691         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2692         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2693         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2694         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2695         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2696         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2697         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2698         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2699         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2700         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2701         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2702         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2703         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2704         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2705         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2706         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2707         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2708         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2709         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2710         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2711         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2712         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2713         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2714         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2715         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2716         * sysdeps/posix/closedir.c: Likewise.
2717         * sysdeps/posix/opendir.c: Likewise.
2718         * sysdeps/posix/readdir.c: Likewise.
2719         * sysdeps/posix/rewinddir.c: Likewise.
2720         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2721         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2722         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2723         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2724         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2725         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2727         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2728         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2730         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2731         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2732         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2733         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2734         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2735         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2736         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2737         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2738         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2740         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2741         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2742         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2743         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2744         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2746         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2748         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2755         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2756         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2757         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2758         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2759         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2760         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2761         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2762         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2764         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2765         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2766         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2767         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2768         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2770         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2777         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2778         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2779         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2780         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2781         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2782         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2783         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2784         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2785         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2786         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2787         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2788         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2789         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2790         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2791         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2792         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2793         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2794         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2795         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2796         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2797         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2798         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2799         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2800         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2802         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2804         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2806         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2807         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2808         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2809         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2810         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2811         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2812         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2816         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2818         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2819         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2821         * sysdeps/unix/alpha/sysdep.S: Likewise.
2822         * sysdeps/unix/alpha/sysdep.h: Likewise.
2823         * sysdeps/unix/make-syscalls.sh: Likewise.
2824         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2826         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2827         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2828         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2829         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2830         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2831         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2832         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2833         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2835         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2836         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2837         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2838         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2839         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2840         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2841         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2842         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2843         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2844         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2845         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2846         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2847         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2848         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2849         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2853         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2854         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2855         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2858         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2859         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2863         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2864         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2865         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2866         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2867         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2871         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2872         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2875         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2876         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2877         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2878         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2880         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2882         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2883         * sysdeps/x86_64/memcpy.S: Likewise.
2884         * sysdeps/x86_64/memmove.c: Likewise.
2885         * sysdeps/x86_64/memset.S: Likewise.
2886         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2887         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2888         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2889         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2890         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2891         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2892         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2893         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2894         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2895         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2896         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2897         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2898         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2899         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2900         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2901         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2902         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2903         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2904         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2905         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2906         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2907         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2909         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2910         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2911         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2912         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2913         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2914         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2915         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2916         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2917         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2918         * sysdeps/x86_64/strcmp.S: Likewise.
2919
2920         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2921
2922         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2923         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2924         * elf/rtld-Rules: Likewise.
2925         * elf/setup-vdso.h: Likewise.
2926         * include/assert.h: Likewise.
2927         * include/bits/stdlib-float.h: Likewise.
2928         * include/errno.h: Likewise.
2929         * include/sys/stat.h: Likewise.
2930         * include/unistd.h: Likewise.
2931         * sysdeps/aarch64/setjmp.S: Likewise.
2932         * sysdeps/alpha/setjmp.S: Likewise.
2933         * sysdeps/arm/__longjmp.S: Likewise.
2934         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2935         * sysdeps/arm/setjmp.S: Likewise.
2936         * sysdeps/arm/sysdep.h: Likewise.
2937         * sysdeps/generic/_itoa.h: Likewise.
2938         * sysdeps/generic/dl-sysdep.h: Likewise.
2939         * sysdeps/generic/ldsodefs.h: Likewise.
2940         * sysdeps/i386/dl-tls.h: Likewise.
2941         * sysdeps/i386/setjmp.S: Likewise.
2942         * sysdeps/m68k/setjmp.c: Likewise.
2943         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2944         * sysdeps/mach/hurd/opendir.c: Likewise.
2945         * sysdeps/posix/getcwd.c: Likewise.
2946         * sysdeps/posix/opendir.c: Likewise.
2947         * sysdeps/posix/profil.c: Likewise.
2948         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2949         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2950         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2951         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2952         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2955         * sysdeps/s390/dl-tls.h: Likewise.
2956         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2957         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2958         * sysdeps/sh/sh3/setjmp.S: Likewise.
2959         * sysdeps/sh/sh4/setjmp.S: Likewise.
2960         * sysdeps/unix/alpha/sysdep.h: Likewise.
2961         * sysdeps/unix/arm/sysdep.S: Likewise.
2962         * sysdeps/unix/i386/sysdep.S: Likewise.
2963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2964         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2965         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2966         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2967         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2968         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2969         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2970         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2971         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2972         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2973         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2974         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2978         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2981         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2982         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2983         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2986         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2987         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2990         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2991         * sysdeps/x86_64/setjmp.S: Likewise.
2992
2993         * include/math.h: Use IS_IN instead of IS_IN_libm.
2994         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2995         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2996         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2997         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2998         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2999         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3000         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3002         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3003         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3004         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3005         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3006         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3007         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3008         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3009         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3010         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3011         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3012         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3013         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3014         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3015         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3016         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3017         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3018         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3019         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3020         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3021         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3022         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3023         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3024         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3025         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3026         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3028         Likewise.
3029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3030         Likewise.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3032         Likewise.
3033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3034         Likewise.
3035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3036         Likewise.
3037         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3038         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3039         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3040         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3041         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3042         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3048         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3049         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3050         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3051         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3052         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3053         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3054         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3055         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3056         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3057         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3058         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3059         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3060         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3061         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3063         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3064
3065         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3066         * nptl/pthreadP.h: Likewise.
3067         * nptl_db/structs.def: Likewise.
3068         * sysdeps/arm/sysdep.h: Likewise.
3069         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3070         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3071         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3072         * sysdeps/unix/alpha/sysdep.h: Likewise.
3073         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3075         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3076         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3077         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3078         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3080         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3081         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3082         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3083         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3084         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3085         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3086         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3091         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3094         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3095         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3096         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3097         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3098         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3099
3100         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3101         * nptl/pthreadP.h: Likewise.
3102         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3103         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3104         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3105         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3106         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3107         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3108         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3109         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3110         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3111         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3112         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3113         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3115         Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3117         Likewise.
3118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3120         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3121         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3123         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3124         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3125         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3126
3127         * dlfcn/dladdr.c: Use IS_IN.
3128         * dlfcn/dladdr1.c: Likewise.
3129         * dlfcn/dlclose.c: Likewise.
3130         * dlfcn/dlerror.c: Likewise.
3131         * dlfcn/dlinfo.c: Likewise.
3132         * dlfcn/dlmopen.c: Likewise.
3133         * dlfcn/dlopen.c: Likewise.
3134         * dlfcn/dlsym.c: Likewise.
3135         * dlfcn/dlvsym.c: Likewise.
3136
3137         * include/ifaddrs.h: Use IS_IN.
3138         * inet/check_pf.c: Likewise.
3139         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3140         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3141
3142         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3143         IS_IN_ldconfig.
3144         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3145         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3146
3147         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3148         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3149         IS_IN (libc).
3150
3151         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3152
3153         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3154         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3155         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3156         * include/libc-symbols.h (IS_IN_LIB): New macro.
3157         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3158         * include/netdb.h: Likewise.
3159         * include/stap-probe.h: Remove all uses of IN_LIB.
3160
3161         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3162         instead of IN_MODULE.
3163         * include/libc-symbols.h (IN_MODULE): Define using
3164         MODULE_NAME.
3165         (PASTE_NAME, PASTE_NAME1): New macros.
3166         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3167         of IN_LIB.
3168         (STAP_PROBE_ASM): Likewise.
3169
3170 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3171
3172         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3173         __mach_init in dlopened libc.
3174
3175 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3176
3177         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3178         * sysdeps/arm/preconfigure: Regenerate.
3179
3180 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3181
3182         * nptl/pthread_create.c (__pthread_create_2_1): Set
3183         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3184         when copying values from IATTR into PD.
3185
3186 2014-11-21  Will Newton  <will.newton@linaro.org>
3187             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3188
3189         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3190         Refactor inline-asm.  Also add comment.
3191
3192         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3193         ElfW macro instead of hardcoded Elf64 types.
3194         (la_aarch64_gnu_pltenter): Likewise.
3195         * sysdeps/aarch64/dl-machine.h
3196         (elf_machine_runtime_setup): Use ElfW(Addr).
3197
3198         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3199         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3200         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3201         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3202         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3203         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3204         (R_AARCH64_TLS_DTPMOD): This.
3205         (R_AARCH64_TLS_DTPREL64): Rename to ...
3206         (R_AARCH64_TLS_DTPREL): This.
3207         (R_AARCH64_TLS_TPREL64): Rename to ...
3208         (R_AARCH64_TLS_TPREL): This.
3209         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3210         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3211         R_AARCH64_TLS_TPREL64.
3212         (elf_machine_rela): Likewise.
3213
3214 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3215
3216         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3217         by setting it to 0.  64b atomics are not supported currently.
3218
3219 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3220
3221         [BZ #16469]
3222         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3223         search domain names.
3224
3225 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3226
3227         [BZ #16469]
3228         * NEWS: Update.
3229         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3230         trailing dot.
3231         * posix/tst-getaddrinfo5.c: New.
3232         * posix/Makefile (tests): Add it.
3233
3234 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3235
3236         [BZ #14498]
3237         * NEWS: Fixed.
3238         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3239         after parsing line but before break_if_match.
3240         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3241         if there is a protocol mismatch.
3242
3243 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3244
3245         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3246         because the potential race is on the user-supplied stream.
3247
3248 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3249
3250         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3251         string literal if not passed a buffer.
3252         * manual/job.texi (ctermid): Update reasoning, note deviation
3253         from posix, suggest mtasurace when not passed a buffer, for
3254         future non-preliminary safety notes.
3255
3256 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3257
3258         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3259         of not passing it a buffer.
3260         Reported by Peng Haitao.
3261
3262 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3263
3264         * manual/Makefile ($(objpfx)stamp-summary): Require
3265         check-safety.sh to pass.
3266         * manual/check-safety.sh: Wish for verification that every
3267         @deftypefn and @deftypefun is followed by a @safety remark.
3268
3269 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3270
3271         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3272
3273         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3274         PTHREAD_CANCEL_ASYNCHRONOUS.
3275         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3276         send SIGCANCEL.
3277
3278         * nptl/default-sched.h: New file.
3279         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3280         * nptl/pthread_create.c: Include it.
3281         (__pthread_create_2_1): Use collect_default_sched instead of making
3282         Linux syscalls here directly.
3283
3284 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3285
3286         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3287         __pthread_once): Use C11 atomics.
3288
3289 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3290
3291         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3292
3293 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3294
3295         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3296         atomic_thread_fence_acquire, atomic_thread_fence_release,
3297         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3298         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3299         atomic_compare_exchange_weak_relaxed,
3300         atomic_compare_exchange_weak_acquire,
3301         atomic_compare_exchange_weak_release,
3302         atomic_exchange_acquire, atomic_exchange_release,
3303         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3304         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3305         atomic_fetch_and_acquire,
3306         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3307
3308 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3309
3310         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3311         USE_ATOMIC_COMPILER_BUILTINS): Define.
3312         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3314         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3316         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3318         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3320         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3322         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3324         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3326         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3328         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3330         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3332         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3334         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3338         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3340         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3342         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3344         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3346         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3347         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3348         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3350         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3352
3353 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3354
3355         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3356         the sched_priority value here.  It was already checked when the user
3357         called pthread_attr_setschedparam.
3358
3359         * nptl/tst-bad-schedattr.c: New file.
3360         * nptl/Makefile (tests): Add it.
3361
3362 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3363             Florian Weimer  <fweimer@redhat.com>
3364             Joseph Myers  <joseph@codesourcery.com>
3365             Adam Conrad  <adconrad@0c3.net>
3366             Andreas Schwab  <schwab@suse.de>
3367             Brooks  <bmoses@google.com>
3368
3369         [BZ #17625]
3370         * wordexp-test.c (__dso_handle): Add prototype.
3371         (__register_atfork): Likewise.
3372         (__app_register_atfork): New function.
3373         (registered_forks): New global.
3374         (register_fork): New function.
3375         (test_case): Add 3 new tests for WRDE_CMDSUB.
3376         (main): Call __app_register_atfork.
3377         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3378         fork count is non-zero fail the test.
3379         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3380         is set.
3381         (parse_dollars): Remove check for WRDE_NOCMD.
3382         (parse_dquote): Likewise.
3383
3384 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385
3386         * Makeconfig (built-modules): List non-library modules to be
3387         built.
3388         (module-cppflags): Include libc-modules.h for
3389         everything except shlib-versions.v.i.
3390         (CPPFLAGS): Use it.
3391         (before-compile): Add libc-modules.h.
3392         ($(common-objpfx)libc-modules.h,
3393         $(common-objpfx)libc-modules.stmp): New targets.
3394         (common-generated): Add libc-modules.h and libc-modules.stmp.
3395         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3396         * include/libc-symbols.h: Don't include libc-modules.h.
3397         * include/libc-modules.h: Remove file.
3398         * scripts/gen-libc-modules.awk: New script to generate
3399         libc-modules.h.
3400         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3401         Depend on libc-modules.stmp.
3402
3403         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3404
3405         * Makeconfig (in-module): Get value of libof set for the
3406         translation unit.
3407         (CPPFLAGS): Use $(in-module).
3408         * Makerules: Don't suffix routine names for nonlib.
3409         * include/libc-modules.h: New file.
3410         * include/libc-symbols.h: Include libc-modules.h
3411         (IS_IN): New macro to replace IS_IN_* macros.
3412         * elf/Makefile: Set libof-* for each routine.
3413         * elf/rtld-Rules: Likewise.
3414         * extra-modules.mk: Likewise.
3415         * iconv/Makefile: Likewise.
3416         * iconvdata/Makefile: Likewise.
3417         * locale/Makefile: Likewise.
3418         * malloc/Makefile: Likewise.
3419         * nss/Makefile: Likewise.
3420         * sysdeps/gnu/Makefile: Likewise.
3421         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3422         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3423         * sysdeps/s390/s390-64/Makefile: Likewise.
3424         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3425         CPPFLAGS for nscd instead of nonlib.
3426
3427 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3428
3429         * nptl/createthread.c: New file.
3430
3431         * nptl/createthread.c: Moved ...
3432         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3433
3434         * nptl/createthread.c: Add proper top-line comment.
3435         (do_clone): Folded into ...
3436         (create_thread): ... here.  Take new arguments STOPPED_START and
3437         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3438         increment __nptl_threads, do event-reporting logic, do
3439         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3440         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3441         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3442         just send SIGCANCEL.
3443         * nptl/pthread_create.c: Forward-declare create_thread before
3444         including createthread.c.
3445         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3446         declaration, and new macro START_THREAD_SELF to replace argument.
3447         Remove return statement.
3448         (report_thread_creation): New function.
3449         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3450         synchronization logic, and __nptl_nthreads increment here, around
3451         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3452         PD->parent_cancelhandling here, before create_thread.  When
3453         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3454         __deallocate_stack, and ENOMEM translation here.
3455
3456 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3457
3458         [BZ #17616]
3459         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3460         (mptwo): Rename to __mptwo.
3461         (__inv): Use __mptwo instead of mptwo.
3462         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3463         (mptwo): Rename to __mptwo.
3464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3465         of mpone and __mptwo instead of mptwo.
3466         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3467         instead of mpone.
3468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3469         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3470         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3471         of mpone and __mptwo instead of mptwo.
3472         (__mpranred): Use __mpone instead of mpone.
3473         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3474         variable.
3475         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3476         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3477         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3478         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3479         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3480         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3481         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3482         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3483         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3484         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3485         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3486         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3487         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3488         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3489         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3490         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3491         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3492         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3493         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3494
3495 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3496
3497         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3498         replace BSD Handler xref with BSD Signal Handling.
3499
3500 2014-11-17  Richard Henderson  <rth@redhat.com>
3501
3502         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3503         (_FP_PACK_RAW_2): Remove.
3504         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3505         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3506         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3507         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3508         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3509         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3510         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3511         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3512         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3513         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3514         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3515         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3516         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3517         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3518         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3519         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3520
3521 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3522
3523         * signal/signal.h [__USE_MISC]
3524         (struct sigvec): Remove type.
3525         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3526         (sigvec): Remove declaration.
3527         * sysdeps/posix/sigvec.c: Moved ...
3528         * signal/sigvec.c: ... here, replacing old file.
3529         (struct sigvec): New type, copied from old signal.h definition.
3530         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3531         (__sigvec): Convert definition to prototype.
3532         (sigvec): Replace weak_alias with compat_symbol.
3533         * signal/Versions (libc: GLIBC_2.21): New version set.
3534         * include/signal.h: Remove __sigvec declaration.
3535         * sysdeps/unix/bsd/sigvec.c: Remove file.
3536         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3537         * manual/signal.texi (BSD Handler): Remove subsection.
3538         Move siginterrupt up to ...
3539         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3540         (Blocking in BSD): Fold subsection into its parent.
3541         * NEWS: Mention sigvec removal.
3542
3543 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3544
3545         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3546         (DLA_FMS): Make definition conditional only on [__FMA4__].
3547         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3548         definition.
3549
3550         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3551         Make definition conditional only on [PROF].
3552         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3553         definition.
3554         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3555         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3556
3557         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3558         !__GNUC__].
3559         * include/signal.h (__sigpause): Move declaration above call to
3560         libc_hidden_proto.
3561         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3562         variable.
3563         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3564         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3565
3566 2014-11-14  David S. Miller  <davem@davemloft.net>
3567
3568         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3569         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3570
3571 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3572
3573         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3574         * configure: Regenerated.
3575         * manual/install.texi (Tools for Compilation): Document a
3576         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3577         compiler verified to work.
3578         * INSTALL: Regenerated.
3579
3580         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3581         redeclare with asm name.
3582         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3583         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3584         including <string.h>.
3585         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3586         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3587         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3588         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3589         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3591         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3592
3593 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3594
3595         * stdlib/strtol.c (__strtol): Use prototype definition.
3596
3597         [BZ #17594]
3598         * stdlib/strtol.c (SYM__): New macro.
3599         (SYM__1): Likewise.
3600         (__strtol): Likewise.
3601         (strtol): Rename to __strtol and define as weak alias of
3602         __strtol.  Use libc_hidden_weak.
3603
3604 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3605
3606         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3607         Use numbered labels in inline assembly.
3608
3609 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3610
3611         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3612         Add setjmp LIBC_PROBE.
3613         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3614         Likewise.
3615         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3616         Add longjmp, longjmp_target LIBC_PROBE.
3617         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3618         Likewise.
3619
3620 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3621
3622         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3623         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3624         to get rid of unused variable warning.
3625
3626 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3627
3628         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3629         Check for unwind_backtrace ==  NULL only in SHARED case.
3630         (__backchain_backtrace): Compile only in SHARED case.
3631         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3632         Likewise.
3633         (__backchain_backtrace): Declare as static.
3634
3635 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3636
3637         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3638         (__libc_multiple_threads_ptr): Variable moved ...
3639         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3640
3641 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3642
3643         * conform/GlibcConform.pm: New file.
3644         * conform/conformtest.pl: Use GlibcConform module.
3645         * conform/linknamespace.pl: New file.
3646         * conform/list-header-symbols.pl: Likewise.
3647         * conform/Makefile (linknamespace-symlists-base): New variable.
3648         (linknamespace-symlists-tests): Likewise.
3649         (linknamespace-header-base): Likewise.
3650         (linknamespace-header-tests): Likewise.
3651         (tests-special): Add new tests.
3652         ($(linknamespace-symlists-tests)): New rule.
3653         (linknamespace-libs): New variable.
3654         ($(objpfx)symlist-stdlibs): New rule.
3655         ($(linknamespace-header-tests)): Likewise.
3656         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3657         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3658         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3659         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3660         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3661         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3662         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3663         (test-xfail-ISO/math.h/linknamespace): Likewise.
3664         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3665         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3666         (test-xfail-ISO/time.h/linknamespace): Likewise.
3667         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3668         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3669         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3670         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3671         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3672         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3673         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3674         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3675         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3676         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3677         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3678         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3679         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3680         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3681         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3682         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3683         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3684         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3685         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3686         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3687         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3688         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3689         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3690         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3691         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3692         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3693         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3694         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3695         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3696         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3697         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3698         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3699         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3700         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3701         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3702         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3703         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3704         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3705         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3706         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3707         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3708         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3709         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3710         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3711         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3712         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3713         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3714         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3715         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3716         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3717         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3718         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3719         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3720         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3721         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3722         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3723         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3724         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3725         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3726         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3727         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3728         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3729         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3730         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3731         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3732         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3733         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3734         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3735         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3736         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3737         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3738         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3739         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3740         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3741         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3742         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3743         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3744         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3745         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3746         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3747         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3748         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3749         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3750         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3751         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3752         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3753         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3754         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3755         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3756         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3757         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3758         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3759         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3760         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3761         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3762         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3763         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3764         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3765         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3766         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3767         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3768         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3769         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3770         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3771         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3772         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3773         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3774         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3775         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3776         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3777         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3778         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3779         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3780         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3781         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3782         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3783         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3784         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3785         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3786         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3787         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3788         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3789         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3790         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3791         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3792         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3793         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3794         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3795         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3796         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3797         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3798         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3799         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3800         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3801         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3802         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3803         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3804         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3805         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3806         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3807         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3808         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3809         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3810         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3811         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3812         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3813         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3814         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3815         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3816         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3817
3818         [BZ #17589]
3819         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3820         of fgets_unlocked.
3821
3822         [BZ #17585]
3823         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3824         (memmem): Rename to __memmem and define as weak alias of
3825         __memmem.  Use libc_hidden_weak.
3826         (__memmem): Use libc_hidden_def.
3827         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3828         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3829         memmem.
3830
3831         [BZ #17582]
3832         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3833         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3834         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3835         and define as weak alias of __fgets_unlocked.  Use
3836         libc_hidden_weak.
3837         (__fgets_unlocked): Use libc_hidden_def.
3838         * include/stdio.h (__fgets_unlocked): Declare.  Use
3839         libc_hidden_proto.
3840         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3841         __fgets_unlocked instead of fgets_unlocked.
3842         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3843         (GET_NPROCS_CONF_PARSER): Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3845         (GET_NPROCS_CONF_PARSER): Likewise.
3846
3847         [BZ #17574]
3848         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3849         weak alias of __wmemset.  Use libc_hidden_weak.
3850         (__wmemset): Use libc_hidden_def.
3851         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3852         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3853         of wmemset.
3854
3855         [BZ #17573]
3856         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3857         with asm name __mempcpy.
3858         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3859
3860         [BZ #17572]
3861         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3862         and define as weak alias of __rawmemchr.
3863         (__rawmemchr): Do not define as strong alias of rawmemchr.
3864
3865         [BZ #17571]
3866         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3867         alias of __qsort_r.
3868         (qsort): Call __qsort_r instead of qsort_r.
3869         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3870         (__qsort_r): Declare.  Call libc_hidden_proto.
3871         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3872         instead of qsort_r.
3873         * nscd/gai.c (__qsort_r): Define to qsort_r.
3874         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3875         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3876         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3877
3878         [BZ #17570]
3879         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3880         define as weak alias of __malloc_info.
3881
3882         [BZ #17584]
3883         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3884         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3885         (__rewinddir): Use libc_hidden_def.
3886         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3887         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3888         (__rewinddir): Use libc_hidden_def.
3889         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3890         weak alias of __rewinddir.  Don't use libc_hidden_def.
3891         (__rewinddir): Use libc_hidden_def.
3892         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3893         (__rewinddir): Use libc_hidden_proto.
3894         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3895         rewinddir.
3896         (__getcwd): Use __rewinddir instead of rewinddir.
3897
3898         [BZ #17583]
3899         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3900         alias of __fileno.  Use libc_hidden_weak.
3901         (__fileno): Use libc_hidden_def.
3902         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3903         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3904         alias of __ftello.
3905         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3906         __ftello.
3907         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3908         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3909         libc_hidden_def.
3910         (fread_unlocked): Don't use libc_hidden_ver.
3911         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3912         and define as weak alias of __fread_unlocked.  Don't use
3913         libc_hidden_def.
3914         (__fread_unlocked): Use libc_hidden_def.
3915         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3916         (ftello): Don't use libc_hidden_proto.
3917         (__ftello): Declare.  Use libc_hidden_proto.
3918         (fread_unlocked): Don't use libc_hidden_proto.
3919         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3920         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3921         and __ftello instead of fileno, fread_unlocked and ftello.
3922
3923 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3924
3925         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3926         GOT12.
3927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3928         Likewise.
3929         (_dl_start_user): Likewise.
3930         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3931
3932 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3933             Siddhesh Poyarekar  <siddhesh@redhat.com>
3934
3935         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3936         Move argv and envp down instead of moving argc up.
3937         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3938
3939 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3940
3941         [BZ #17506]
3942         * test-skeleton.c (main): Return successful if one of
3943         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3944         * string/tst-strcoll-overflow.c: Define expected status.
3945
3946 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3947
3948         [BZ #17475]
3949         * locale/iso-639.def: Define Bhili and Tulu language codes.
3950
3951 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3952
3953         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3954
3955 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3956
3957         [BZ #17555]
3958         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3959
3960 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3961
3962         * configure.ac: Updated check of minimal required version to
3963         2.22.
3964         * manual/install.texi (Tools for Compilation): Updated version
3965         number.
3966         * configure: Regenerated.
3967         * INSTALL: Likewise.
3968
3969 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3970
3971         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3972         __tls_get_addr.
3973
3974 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3975
3976         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3977         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3978         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3979         libc_hidden_weak.
3980         (waitpid): Define as alias of __waitpid.
3981         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3982         __waitpid.
3983         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3984         libc_hidden_weak.
3985         (waitpid): Define as alias of __waitpid.
3986         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3987         __libc_waitpid alias.
3988         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3989         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3990         Likewise.
3991         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3992         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3993         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3994         alias.
3995         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3996         __waitpid.
3997         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3998         libc_hidden_weak.
3999         (waitpid): Define as alias of __waitpid.
4000
4001 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4002
4003         * manual/llio.texi: Add comment that write safety has been
4004         fixed in Linux.
4005
4006         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4007         (localplt-build-dso): Add elf/ld.so.
4008         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4009         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4010         and free for ld.so.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4012         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4014         Likewise.
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4016         Likewise.
4017         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4018         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4019         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4020         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4021         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4022         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4023         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4024         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4025         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4026         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4027         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4028
4029 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4030
4031         [BZ #14132]
4032         * include/libc-symbols.h (INTUSE): Remove macro.
4033         (INTDEF): Likewise.
4034         (INTVARDEF): Likewise.
4035         (_INTVARDEF): Likewise.
4036         (INTDEF2): Likewise.
4037         (INTVARDEF2): Likewise.
4038         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4039         rtld_hidden_def instead of INTVARDEF.
4040         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4041         (_dl_starting_up_internal): Remove declaration.
4042         (_dl_starting_up): Use rtld_hidden_proto.
4043         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4044         declaration.
4045         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4046         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4047         _dl_starting_up.
4048         * elf/dl-writev.h (_dl_writev): Likewise.
4049         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4050         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4051         _dl_starting_up_internal.
4052
4053 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4054
4055         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4056         test-skeleton.c.
4057
4058 2014-11-05  Will Newton  <will.newton@linaro.org>
4059
4060         * benchtests/Makefile: (bench-malloc): Add malloc thread
4061         scalability benchmark.
4062         * benchtests/bench-malloc-threads.c: New file.
4063
4064 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4065
4066         * sysdeps/aarch64/strchrnul.S: New file.
4067
4068 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4069
4070         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4071         definition.
4072         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4073         Likwise.
4074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4075         Likewise.
4076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4077         Likewise.
4078         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4079         Likewise.
4080         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4081         Likewise.
4082
4083 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4084
4085         * catgets/test-gencat.c: Use test-skeleton.c.
4086         * catgets/tst-catgets.c: Likewise.
4087         * csu/tst-empty.c: Likewise.
4088         * elf/tst-audit2.c: Likewise.
4089         * elf/tst-global1.c: Likewise.
4090         * elf/tst-pathopt.c: Likewise.
4091         * elf/tst-piemod1.c: Likewise.
4092         * elf/tst-tls10.c: Likewise.
4093         * elf/tst-tls11.c: Likewise.
4094         * elf/tst-tls12.c: Likewise.
4095         * gnulib/tst-gcc.c: Likewise.
4096         * iconvdata/tst-e2big.c: Likewise.
4097         * iconvdata/tst-loading.c: Likewise.
4098         * iconv/tst-iconv1.c: Likewise.
4099         * iconv/tst-iconv2.c: Likewise.
4100         * inet/test-inet6_opt.c: Likewise.
4101         * inet/tst-gethnm.c: Likewise.
4102         * inet/tst-network.c: Likewise.
4103         * inet/tst-ntoa.c: Likewise.
4104         * intl/tst-codeset.c: Likewise.
4105         * intl/tst-gettext2.c: Likewise.
4106         * intl/tst-gettext3.c: Likewise.
4107         * intl/tst-ngettext.c: Likewise.
4108         * intl/tst-translit.c: Likewise.
4109         * io/test-stat.c: Likewise.
4110         * libio/test-fmemopen.c: Likewise.
4111         * libio/tst-freopen.c: Likewise.
4112         * libio/tst-sscanf.c: Likewise.
4113         * libio/tst-ungetwc1.c: Likewise.
4114         * libio/tst-ungetwc2.c: Likewise.
4115         * libio/tst-widetext.c: Likewise.
4116         * localedata/tst-ctype.c: Likewise.
4117         * localedata/tst-digits.c: Likewise.
4118         * localedata/tst-leaks.c: Likewise.
4119         * localedata/tst-mbswcs1.c: Likewise.
4120         * localedata/tst-mbswcs2.c: Likewise.
4121         * localedata/tst-mbswcs3.c: Likewise.
4122         * localedata/tst-mbswcs4.c: Likewise.
4123         * localedata/tst-mbswcs5.c: Likewise.
4124         * localedata/tst-setlocale.c: Likewise.
4125         * localedata/tst-trans.c: Likewise.
4126         * localedata/tst-wctype.c: Likewise.
4127         * localedata/tst-xlocale1.c: Likewise.
4128         * login/tst-grantpt.c: Likewise.
4129         * malloc/tst-calloc.c: Likewise.
4130         * malloc/tst-malloc.c: Likewise.
4131         * malloc/tst-mallocstate.c: Likewise.
4132         * malloc/tst-mcheck.c: Likewise.
4133         * malloc/tst-mtrace.c: Likewise.
4134         * malloc/tst-obstack.c: Likewise.
4135         * math/atest-exp2.c: Likewise.
4136         * math/atest-exp.c: Likewise.
4137         * math/atest-sincos.c: Likewise.
4138         * math/test-matherr.c: Likewise.
4139         * math/test-misc.c: Likewise.
4140         * math/test-powl.c: Likewise.
4141         * math/tst-definitions.c: Likewise.
4142         * misc/tst-dirname.c: Likewise.
4143         * misc/tst-efgcvt.c: Likewise.
4144         * misc/tst-fdset.c: Likewise.
4145         * misc/tst-hsearch.c: Likewise.
4146         * misc/tst-mntent2.c: Likewise.
4147         * nptl/tst-sem7.c: Likewise.
4148         * nptl/tst-sem8.c: Likewise.
4149         * nptl/tst-sem9.c: Likewise.
4150         * nss/test-netdb.c: Likewise.
4151         * posix/tst-fnmatch.c: Likewise.
4152         * posix/tst-getlogin.c: Likewise.
4153         * posix/tst-gnuglob.c: Likewise.
4154         * posix/tst-mmap.c: Likewise.
4155         * pwd/tst-getpw.c: Likewise.
4156         * resolv/tst-inet_ntop.c: Likewise.
4157         * rt/tst-timer.c: Likewise.
4158         * stdio-common/test-fseek.c: Likewise.
4159         * stdio-common/test-popen.c: Likewise.
4160         * stdio-common/test-vfprintf.c: Likewise.
4161         * stdio-common/tst-cookie.c: Likewise.
4162         * stdio-common/tst-fileno.c: Likewise.
4163         * stdio-common/tst-gets.c: Likewise.
4164         * stdio-common/tst-obprintf.c: Likewise.
4165         * stdio-common/tst-perror.c: Likewise.
4166         * stdio-common/tst-sprintf2.c: Likewise.
4167         * stdio-common/tst-sprintf3.c: Likewise.
4168         * stdio-common/tst-sprintf.c: Likewise.
4169         * stdio-common/tst-swprintf.c: Likewise.
4170         * stdio-common/tst-tmpnam.c: Likewise.
4171         * stdio-common/tst-unbputc.c: Likewise.
4172         * stdio-common/tst-wc-printf.c: Likewise.
4173         * stdlib/tst-environ.c: Likewise.
4174         * stdlib/tst-fmtmsg.c: Likewise.
4175         * stdlib/tst-limits.c: Likewise.
4176         * stdlib/tst-rand48-2.c: Likewise.
4177         * stdlib/tst-rand48.c: Likewise.
4178         * stdlib/tst-random2.c: Likewise.
4179         * stdlib/tst-random.c: Likewise.
4180         * stdlib/tst-strtol.c: Likewise.
4181         * stdlib/tst-strtoll.c: Likewise.
4182         * stdlib/tst-tls-atexit.c: Likewise.
4183         * stdlib/tst-xpg-basename.c: Likewise.
4184         * string/test-ffs.c: Likewise.
4185         * string/tst-bswap.c: Likewise.
4186         * string/tst-inlcall.c: Likewise.
4187         * string/tst-strtok.c: Likewise.
4188         * string/tst-strxfrm.c: Likewise.
4189         * sysdeps/x86_64/tst-audit10.c: Likewise.
4190         * sysdeps/x86_64/tst-audit3.c: Likewise.
4191         * sysdeps/x86_64/tst-audit4.c: Likewise.
4192         * sysdeps/x86_64/tst-audit5.c: Likewise.
4193         * time/tst-ftime_l.c: Likewise.
4194         * time/tst-getdate.c: Likewise.
4195         * time/tst-mktime3.c: Likewise.
4196         * time/tst-mktime.c: Likewise.
4197         * time/tst-posixtz.c: Likewise.
4198         * time/tst-strptime2.c: Likewise.
4199         * time/tst-strptime3.c: Likewise.
4200         * wcsmbs/tst-btowc.c: Likewise.
4201         * wcsmbs/tst-mbrtowc.c: Likewise.
4202         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4203         * wcsmbs/tst-wchar-h.c: Likewise.
4204         * wcsmbs/tst-wcpncpy.c: Likewise.
4205         * wcsmbs/tst-wcrtomb.c: Likewise.
4206         * wcsmbs/tst-wcsnlen.c: Likewise.
4207         * wcsmbs/tst-wcstof.c: Likewise.
4208
4209 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4210
4211         [BZ #14132]
4212         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4213         INTDEF.
4214         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4215         declaration.
4216         (_dl_mcount): Use rtld_hidden_proto.
4217         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4218         _dl_mcount.
4219         * elf/rtld.c (_rtld_global_ro): Likewise.
4220
4221         [BZ #14132]
4222         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4223         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4224         of _dl_init_internal.
4225         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4226         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4227         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4228         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4229         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4230         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4231         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4232         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4233         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4234         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4235         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4236         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4237         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4238         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4239         * sysdeps/tile/dl-start.S (_start): Likewise.
4240         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4241         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4242
4243         [BZ #14132]
4244         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4245         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4246         (rtld_progname): Make macro definition unconditional.
4247         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4248         INTDEF.
4249         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4250         (dl_main): Likewise.
4251         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4252         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4253         instead of _dl_argv_internal.
4254         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4255         __GI__dl_argv instead of INTUSE(_dl_argv).
4256         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4257         __GI__dl_argv instead of _dl_argv_internal.
4258
4259         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4260         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4261         macro.
4262         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4263         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4264         New macro.
4265         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4266         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4267         macro.
4268         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4269         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4270
4271 2014-11-04  Andreas Schwab  <schwab@suse.de>
4272
4273         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4274
4275 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4276
4277         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4278         mtvsrd instruction in binary form.
4279
4280 2014-11-03  Andreas Schwab  <schwab@suse.de>
4281
4282         [BZ #17522]
4283         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4284         for less than MB_LEN_MAX use a local buffer of that size.
4285         * libio/tst-fputws.c: New file.
4286         * libio/Makefile (tests): Add tst-fputws.
4287
4288 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4289
4290         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4291         the size of the fpu_fr.fpu_dregs[] array.
4292
4293 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4294
4295         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4296         (__nanosleep): Do not define as alias.
4297         (nanosleep): Define as alias of __nanosleep.
4298         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4299         __libc_nanosleep name.
4300
4301 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4302
4303         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4304         install.texi in comment.
4305
4306 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4307
4308         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4309         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4310         ... add here and use lwsync or sync ...
4311         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4312         ... and add here using lwsync.
4313
4314 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4315
4316         * elf/dl-machine-reject-phdr.h: New file.
4317         * elf/dl-load.c: #include that.
4318         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4319         if that returned true.
4320
4321 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4322
4323         [BZ #17496]
4324         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4325         gen-as-const-headers chunk.  Add a big scare comment after the last
4326         safe place to touch before-compile.
4327
4328 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4329
4330         * manual/install.texi (Tools for Compilation): Update autoconf
4331         version requirements.
4332         * INSTALL: Regenerated.
4333
4334         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4335         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4336         (__libc_pselect): Likewise.
4337
4338         [BZ #14138]
4339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4343
4344 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4345
4346         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4347         correct barrier instruction.
4348         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4349         Likewise.
4350         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4351         Likewise.
4352
4353 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4354
4355         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4356         after defining inlines.  Instead, just use parens to defeat macro
4357         expansion of __isctype in its declaration.
4358
4359 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4360
4361         * include/sys/uio.h (__libc_readv): Remove declaration.
4362         (__libc_writev): Likewise.
4363         * misc/readv.c (__libc_readv): Rename to __readv.
4364         (__readv): Do not define as alias.
4365         (readv): Define as alias of __readv.
4366         * misc/writev.c (__libc_writev): Rename to __writev.
4367         (__writev): Do not define as alias.
4368         (writev): Define as alias of __writev.
4369         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4370         (__readv): Do not define as alias.
4371         (readv): Define unconditionally as alias of __readv.
4372         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4373         (__writev): Do not define as alias.
4374         (writev): Define unconditionally as alias of __writev.
4375         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4376         name.
4377         (writev): Do not define __libc_writev name.
4378
4379 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4380
4381         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4382         (convert_charseq): New function, broken out of ...
4383         (use_from_charmap): ... here.  Call it.
4384         (use_to_charmap): Use convert_charseq and free instead of duplicating
4385         its code with a variable-length stack struct.
4386
4387 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4388
4389         * include/fcntl.h (__libc_creat): Remove declaration.
4390         * io/creat.c (__libc_creat): Rename to creat.
4391         (creat): Do not define as alias.
4392         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4393         of creat instead of __libc_creat.
4394         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4395         to creat.
4396         (creat): Do not define as alias.
4397         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4398         __libc_creat.
4399         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4400         __libc_creat name.
4401         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4402         Likewise.
4403
4404 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4405
4406         * manual/llio.texi: Add comments discussing why write() may be
4407         considered MT-unsafe on Linux.
4408
4409 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4410
4411         * dl-load.c (local_strdup): Remove.
4412         (expand_dynamic_string_token): Use __strdup.
4413         (decompose_rpath): Likewise.
4414         (_dl_map_object): Likewise.
4415
4416 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4417
4418         [BZ #14132]
4419         * sysdeps/generic/unwind-dw2-fde.c
4420         (__register_frame_info_bases_internal): Do not declare.
4421         (__register_frame_info_table_bases_internal): Likewise.
4422         (__deregister_frame_info_bases_internal): Likewise.
4423         (__register_frame_info_bases): Declare and use hidden_proto before
4424         definition.  Use hidden_def instead of INTDEF.
4425         (__register_frame_info_table_bases): Likewise.
4426         (__deregister_frame_info_bases): Likewise.
4427         (__register_frame_info): Do not use INTUSE.
4428         (__register_frame): Likewise.
4429         (__register_frame_info_table): Likewise.
4430         (__register_frame_table): Likewise.
4431         (__deregister_frame_info): Likewise.
4432         (__deregister_frame): Likewise.
4433
4434 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4435
4436         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4437         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4438         not undefine.
4439         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4440         Likewise.
4441         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4442         Likewise.
4443
4444 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4445
4446         [BZ #14138]
4447         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4448         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4449         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4450         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4451         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4452         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4453         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4454         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4455         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4456         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4457         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4458         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4459         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4460         syscall.
4461         (setfsuid): Likewise.
4462         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4463         (setfsuid): Likewise.
4464         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4465         (setfsuid): Likewise.
4466         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4467         Likewise.
4468         (setfsuid): Likewise.
4469         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4470         (setfsuid): Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4472         Likewise.
4473         (setfsuid): Likewise.
4474
4475 2014-10-27  Andreas Schwab  <schwab@suse.de>
4476
4477         [BZ #17501]
4478         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4479         check for Slow_SSE4_2 feature bit.
4480         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4481         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4482         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4483         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4484
4485 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4486
4487         * configure.ac: Validate compiler version with a empirical test of
4488         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4489         $CC -v output.
4490         * configure: Regenerated.
4491
4492         * inet/htons.c (htons): Prototypify.
4493         * inet/htonl.c (htonl): Likewise.
4494
4495 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4496
4497         * string/strncat.c (strncat): Improve performance by using strlen.
4498
4499 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4500
4501         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4502
4503 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4504
4505         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4506         Call libc_fetestexcept_aarch64.
4507
4508 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4509
4510         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4511         Call libc_feholdexcept_aarch64.
4512
4513 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4514
4515         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4516         Call get_rounding_mode.
4517
4518 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4519
4520         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4521         Simplify logic.
4522
4523 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4524
4525         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4526         Simplify logic.
4527
4528 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4529
4530         [BZ #14138]
4531         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4532         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4533         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4534         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4535         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4536         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4537         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4538         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4539         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4540         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4541         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4542         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4543         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4544         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4545         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4546         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4547         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4548         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4549         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4550         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4551         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4552         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4553         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4554         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4555         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4556         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4557         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4558         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4559         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4560         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4561         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4562         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4563         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4564         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4565         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4566         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4567         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4568         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4569         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4570         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4571         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4572         syscall.
4573         (geteuid): Likewise.
4574         (getgid): Likewise.
4575         (getuid): Likewise.
4576         (getresgid): Likewise.
4577         (getresuid): Likewise.
4578         (getgroups): Likewise.
4579         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4580         (geteuid): Likewise.
4581         (getgid): Likewise.
4582         (getuid): Likewise.
4583         (getresgid): Likewise.
4584         (getresuid): Likewise.
4585         (getgroups): Likewise.
4586         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4587         (geteuid): Likewise.
4588         (getgid): Likewise.
4589         (getuid): Likewise.
4590         (getresgid): Likewise.
4591         (getresuid): Likewise.
4592         (getgroups): Likewise.
4593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4594         Likewise.
4595         (geteuid): Likewise.
4596         (getgid): Likewise.
4597         (getuid): Likewise.
4598         (getresgid): Likewise.
4599         (getresuid): Likewise.
4600         (getgroups): Likewise.
4601         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4602         (geteuid): Likewise.
4603         (getgid): Likewise.
4604         (getuid): Likewise.
4605         (getresgid): Likewise.
4606         (getresuid): Likewise.
4607         (getgroups): Likewise.
4608         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4609         Likewise.
4610         (geteuid): Likewise.
4611         (getgid): Likewise.
4612         (getuid): Likewise.
4613         (getgroups): Likewise.
4614
4615         [BZ #14138]
4616         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4617         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4618         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4619         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4620         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4621         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4622         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4623         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4624         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4625         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4626         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4628         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4629         __chown.
4630         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4631         (lchown): Likewise.
4632         (fchown): Likewise.
4633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4634         Likewise.
4635         (lchown): Likewise.
4636         (fchown): Likewise.
4637         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4638         (lchown): Likewise.
4639         (fchown): Likewise.
4640         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4641         Likewise.
4642         (lchown): Likewise.
4643         (fchown): Likewise.
4644
4645 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4646
4647         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4648         Simplify logic.
4649
4650 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4651
4652         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4653         Cleanup logic.
4654
4655 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4656
4657         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4658         Remove unused include.
4659
4660 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4661
4662         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4663         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4664         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4665         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4666
4667 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4668             Helge Deller <deller@gmx.de>
4669
4670         [BZ #17508]
4671         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4672         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4673         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4674
4675 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4676
4677         [BZ #14132]
4678         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4679         Remove macro definition.
4680         (__ashrdi3_v_glibc20): Likewise.
4681         (__lshrdi3_v_glibc20): Likewise.
4682         (__cmpdi2_v_glibc20): Likewise.
4683         (__ucmpdi2_v_glibc20): Likewise.
4684         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4685         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4686         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4687         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4688         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4689         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4690
4691 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4692
4693         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4694         old GNU extension [0] syntax.
4695         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4696         alloca rather than an array member with variable length.
4697         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4698         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4699         (parse_opt): ... here.  Likewise use alloca there.
4700         Validate the -i argument before checking for rootness.
4701         (send_shutdown): New function, broken out of ...
4702         (parse_opt): ... here.
4703
4704 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4705
4706         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4707         macro to get at the _rt_local_ro field.
4708         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4709         ([PIC] case) or _dl_hwcap ([!PIC] case).
4710         * sysdeps/arm/setjmp.S: Likewise.
4711
4712         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4713         * sysdeps/arm/configure.ac: New check to define it.
4714         * sysdeps/arm/configure: Regenerated.
4715         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4716         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4717         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4718         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4719         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4720         Use move/movt pair instead of a load.
4721         (LDST_GLOBAL): Macro removed.
4722         (LDR_GLOBAL): New macro replaces it.
4723         (LDR_HIDDEN): New macro.
4724         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4725         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4726
4727         * setjmp/tst-setjmp-static.c: New file.
4728         * setjmp/Makefile (tests): Add it.
4729         (tests-static): New variable.
4730
4731 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4732
4733         [BZ #17485]
4734         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4735
4736 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4737
4738         [BZ #14132]
4739         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4740
4741 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4742
4743         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4744
4745 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4746
4747         * io/fts.c (dirent_not_directory): New function.
4748         (fts_build): Call it.
4749
4750 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4751
4752         * nptl/version.c (__nptl_main): Use normal __write rather than
4753         INTERNAL_SYSCALL.
4754         (banner): Update copyright years.
4755
4756         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4757         gettimeofday.
4758         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4759         * nptl/pthread_cond_timedwait.c: Likewise.
4760         * nptl/pthread_mutex_timedlock.c: Likewise.
4761         * nptl/sem_timedwait.c: Likewise.
4762
4763         * sysdeps/nptl/bits/libc-lock.h
4764         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4765         (__libc_lock_init_recursive): Return void, not 0.
4766         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4767         (__libc_rwlock_init): Likewise.
4768         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4769
4770 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4771
4772         [BZ #15215]
4773         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4774         (__pthread_once_slow): ... here.
4775         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4776         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4777
4778 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4779
4780         [BZ #15215]
4781         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4782         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4783         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4784         * nptl/pthread_once.c (__pthread_once): Likewise.
4785         Update comments.
4786
4787 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4788
4789         [BZ #14138]
4790         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4791         name.
4792         (writev): Use __libc_writev as strong name.
4793         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4794         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4795
4796 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4797
4798         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4799
4800         * sysdeps/i386/nptl/tls.h
4801         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4802         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4803         New macros.
4804         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4805         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4806         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4807         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4808         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4809         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4810
4811         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4812         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4813         on [__NR_futex].
4814         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4815         broken out of ...
4816         (__pthread_mutex_init): ... here.  Call it.
4817         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4818         Conditionalize PI cases on [__NR_futex].
4819         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4820         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4821         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4822
4823         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4824         conditional on [SIGSETXID].
4825         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4826         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4827         is defined.  Likewise for SIGSETXID.
4828         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4829         Conditionalize definitions on [SIGSETXID].
4830         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4831         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4832         unblocking on [SIGCANCEL].
4833
4834         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4835         [__NR_set_robust_list].
4836
4837 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838
4839         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4840         (do_compare): Likewise.
4841
4842 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4843
4844         [BZ #15884]
4845         * string/strcoll_l.c: Don't include stdio.h.
4846         (coll_seq): Remove members idxarr and rulearr.
4847         (get_next_seq_cached): Remove function.
4848         (get_next_seq): Likewise.
4849         (get_next_seq_nocache): Rename to get_next_seq.
4850         (do_compare): Remove function.
4851         (do_compare_nocache): Rename to do_compare.
4852         (STRCOLL): Remove weight and rules cache.
4853
4854 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4855
4856         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4857         * sysdeps/arm/sfp-machine.h: ... to here.
4858         * sysdeps/arm/Implies: Remove arm/soft-fp.
4859
4860 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4861
4862         * conform/data/sys/utsname.h-data (*_t): Allow.
4863         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4864         [POSIX] (WEXITED): Do not expect constant.
4865         [POSIX] (WSTOPPED): Likewise.
4866         [POSIX] (WNOHANG): Likewise.
4867         [POSIX] (WNOWAIT): Likewise.
4868         [POSIX] (siginfo_t): Do not expect type or elements.
4869         [POSIX] (pid_t): Do not expect type.
4870         [POSIX] (signal.h): Do not allow header.
4871         [POSIX] (sys/resource.h): Likewise.
4872         [POSIX] (si_*): Do not allow pattern.
4873         [POSIX] (W*): Likewise.
4874         [POSIX] (P_*): Likewise.
4875         [POSIX] (BUS_*): Likewise.
4876         [POSIX] (CLD_*): Likewise.
4877         [POSIX] (FPE_*): Likewise.
4878         [POSIX] (ILL_*): Likewise.
4879         [POSIX] (POLL_*): Likewise.
4880         [POSIX] (SEGV_*): Likewise.
4881         [POSIX] (SI_*): Likewise.
4882         [POSIX] (TRAP_*): Likewise.
4883         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4884         variable.
4885
4886 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4887
4888         [BZ #12926]
4889         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4890         infinite loop when __recvmsg returns 0.
4891
4892 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4893
4894         * CANCEL-FCT-WAIVE: Remove file.
4895         * CANCEL-FILE-WAIVE: Likewise.
4896
4897         [BZ #14132]
4898         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4899         instead of INTVARDEF.
4900         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4901         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4902         rtld_hidden_data_def instead of INTVARDEF.
4903         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4904         * elf/dl-deps.c (expand_dst): Likewise.
4905         * elf/dl-load.c (_dl_dst_count): Likewise.
4906         (_dl_dst_substitute): Likewise.
4907         (decompose_rpath): Likewise.
4908         (_dl_init_paths): Likewise.
4909         (open_path): Likewise.
4910         (_dl_map_object): Likewise.
4911         * elf/rtld.c (dl_main): Likewise.
4912         (process_dl_audit): Likewise.
4913         (process_envvars): Likewise.
4914         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4915         Remove declaration.
4916         (__libc_enable_secure): Use rtld_hidden_proto.
4917
4918 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4919
4920         * elf/dl-load.c
4921         (add_path): New function broken out of _dl_rtld_di_serinfo.
4922         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4923
4924 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4925
4926         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4927         parentheses around macro arguments.
4928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4933         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4934         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4939         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4940         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4941         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4942         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4943         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4944         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4952         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4954         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4957         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4958         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4959         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4960         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4961         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4962         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4963         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4964         Likewise.
4965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4972         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4973         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4974         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4976         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4977         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4980         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4981         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4984         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4985         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4986         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4987         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4988         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4989         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4990         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4991         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4992         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4993         (_FP_FRAC_SRS_1): Likewise.
4994         (_FP_FRAC_CLZ_1): Likewise.
4995         (_FP_MUL_MEAT_1_imm): Likewise.
4996         (_FP_MUL_MEAT_1_wide): Likewise.
4997         (_FP_MUL_MEAT_1_hard): Likewise.
4998         (_FP_SQRT_MEAT_1): Likewise.
4999         (_FP_FRAC_ASSEMBLE_1): Likewise.
5000         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5001         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5002         (__FP_CLZ_2): Likewise.
5003         (_FP_MUL_MEAT_2_wide): Likewise.
5004         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5005         (_FP_MUL_MEAT_2_gmp): Likewise.
5006         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5007         (_FP_SQRT_MEAT_2): Likewise.
5008         (_FP_FRAC_ASSEMBLE_2): Likewise.
5009         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5010         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5011         (_FP_FRAC_CLZ_4): Likewise.
5012         (_FP_MUL_MEAT_4_wide): Likewise.
5013         (_FP_MUL_MEAT_4_gmp): Likewise.
5014         (_FP_SQRT_MEAT_4): Likewise.
5015         (_FP_FRAC_ASSEMBLE_4): Likewise.
5016         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5017         * soft-fp/op-common.h (_FP_CMP): Likewise.
5018         (_FP_CMP_EQ): Likewise.
5019         (_FP_CMP_UNORD): Likewise.
5020         (_FP_TO_INT): Likewise.
5021         (_FP_FROM_INT): Likewise.
5022         [!__FP_CLZ] (__FP_CLZ): Likewise.
5023         (_FP_DIV_HELP_imm): Likewise.
5024         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5025         Likewise.
5026         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5029         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5030         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5031         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5032         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5033         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5034         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5035         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5037         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5038         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5039         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5040         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5041         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5042         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5044         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5051         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5055         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5056         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5057         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5058         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5059         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5060         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5061         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5062         (FP_UNPACK_RAW_SP): Likewise.
5063         (FP_PACK_RAW_S): Likewise.
5064         (FP_PACK_RAW_SP): Likewise.
5065         (FP_UNPACK_S): Likewise.
5066         (FP_UNPACK_SP): Likewise.
5067         (FP_UNPACK_SEMIRAW_S): Likewise.
5068         (FP_UNPACK_SEMIRAW_SP): Likewise.
5069         (FP_PACK_S): Likewise.
5070         (FP_PACK_SP): Likewise.
5071         (FP_PACK_SEMIRAW_S): Likewise.
5072         (FP_PACK_SEMIRAW_SP): Likewise.
5073         (_FP_SQRT_MEAT_S): Likewise.
5074         (FP_CMP_S): Likewise.
5075         (FP_CMP_EQ_S): Likewise.
5076         (FP_CMP_UNORD_S): Likewise.
5077         (FP_TO_INT_S): Likewise.
5078         (FP_FROM_INT_S): Likewise.
5079
5080         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5081
5082         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5083         (FP_EX_INVALID_IMZ): Likewise.
5084         (FP_EX_INVALID_IMZ_FMA): Likewise.
5085         (FP_EX_INVALID_ISI): Likewise.
5086         (FP_EX_INVALID_ZDZ): Likewise.
5087         (FP_EX_INVALID_IDI): Likewise.
5088         (FP_EX_INVALID_SQRT): Likewise.
5089         (FP_EX_INVALID_CVI): Likewise.
5090         (FP_EX_INVALID_VC): Likewise.
5091         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5092         "invalid" exceptions.
5093         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5094         (_FP_ADD_INTERNAL): Likewise.
5095         (_FP_MUL): Likewise.
5096         (_FP_FMA): Likewise.
5097         (_FP_DIV): Likewise.
5098         (_FP_CMP_CHECK_NAN): Likewise.
5099         (_FP_SQRT): Likewise.
5100         (_FP_TO_INT): Likewise.
5101         (FP_EXTEND): Likewise.
5102
5103 2014-10-09  Allan McRae  <allan@archlinux.org>
5104
5105         * po/fr.po: Update French translation from translation project.
5106
5107 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5108
5109         [BZ #14132]
5110         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5111         of INTDEF.
5112         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5113         (__cxa_atexit): Use libc_hidden_proto.
5114         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5115
5116         [BZ #14132]
5117         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5118         declaration.
5119         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5120         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5121         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5122         [!_ISOMAC] (__iswctype_internal): Likewise.
5123         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5124         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5125         alias.
5126         (fcntl): Remove __fcntl_internal alias.
5127         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5128         __connect_internal alias.
5129         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5130         Likewise.
5131
5132         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5133         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5134         FP_DENORM_ZERO.
5135         (_FP_CHECK_FLUSH_ZERO): New macro.
5136         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5137         (_FP_CMP): Likewise.
5138         (_FP_CMP_EQ): Likewise.
5139         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5140         FP_DENORM_ZERO.
5141         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5142         (FP_TRUNC): Likewise.
5143
5144         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5145         treated as invalid conversion, not as normal exponent.
5146
5147         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5148         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5149         (_FP_CMP_EQ): Likewise.
5150         (_FP_CMP_UNORD): Likewise.
5151         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5152         (FP_CMP_EQ_D): Likewise.
5153         (FP_CMP_UNORD_D): Likewise.
5154         * soft-fp/extended.h (FP_CMP_E): Likewise.
5155         (FP_CMP_EQ_E): Likewise.
5156         (FP_CMP_UNORD_E): Likewise.
5157         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5158         (FP_CMP_EQ_Q): Likewise.
5159         (FP_CMP_UNORD_Q): Likewise.
5160         * soft-fp/single.h (FP_CMP_S): Likewise.
5161         (FP_CMP_EQ_S): Likewise.
5162         (FP_CMP_UNORD_S): Likewise.
5163         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5164         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5165         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5166         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5167         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5168         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5169         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5170         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5171         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5172         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5173         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5174         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5175         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5176         to FP_CMP_Q.
5177         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5178         FP_CMP_Q.
5179         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5180         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5181         FP_CMP_EQ_Q.
5182         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5183         FP_CMP_Q.
5184         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5185         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5186         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5187         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5188         FP_CMP_EQ_Q.
5189         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5190         FP_CMP_Q.
5191         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5192         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5193         FP_CMP_EQ_Q.
5194         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5195         FP_CMP_Q.
5196         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5197         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5198         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5199         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5200         FP_CMP_EQ_Q.
5201
5202         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5203         a subnormal result, set the underflow exception if trapping on
5204         underflow is enabled.
5205         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5206         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5207         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5208         redefine to 0.
5209         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5210         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5211         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5212         * soft-fp/extendxftf2.c (__extendxftf2): Use
5213         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5214
5215         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5216         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5217         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5218         FP_HANDLE_EXCEPTIONS.
5219         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5220         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5221         FP_HANDLE_EXCEPTIONS.
5222         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5223         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5224         FP_HANDLE_EXCEPTIONS.
5225         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5226         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5227         FP_HANDLE_EXCEPTIONS.
5228
5229 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5230
5231         [BZ #14132]
5232         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5233         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5234         use INTUSE.
5235         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5236         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5237         Remove alias.
5238         (__adjtimex): Define using libc_hidden_ver.
5239         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5240         Remove declaration.
5241         (ntp_gettime): Call __adjtimex directly.
5242         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5243         Remove declaration.
5244         (ntp_gettimex): Call __adjtimex directly.
5245         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5246         __adjtimex_internal alias.
5247
5248 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5249
5250         [BZ #17460]
5251         * nscd/nscd.c (more_help): Rewrite list of tables collection
5252         using xstrdup and asprintf.
5253
5254         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5255
5256 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5257             Roland McGrath  <roland@hack.frob.com>
5258
5259         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5260         (do_lookup_unique): ... local function 'enter' here; update callers.
5261
5262 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5263
5264         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5265         compat_symbol calls on [SHARED].
5266         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5267         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5268         Remove.
5269         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5270         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5271         (oldsetrlimit): Remove.
5272         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5274         (lchown): New syscall entry.
5275         (oldsetrlimit): Remove.
5276         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5277         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5278         (oldsetrlimit): Remove.
5279         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5280
5281         [BZ #14138]
5282         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5283         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5284         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5285         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5286         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5287         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5288         (fchown): Likewise.
5289         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5290         (fchown): Likewise.
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5292         Likewise.
5293
5294 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5295
5296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5297         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5298         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5299         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5300         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5301         Likewise.
5302         (__old_sem_post): Likewise.
5303
5304 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5305
5306         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5307         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5308         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5309         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5310         Use INLINE_VSYSCALL macro.
5311         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5312         __vdso_clock_gettime.
5313         * sysdeps/unix/sysv/linux/tile/init-first.c
5314         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5315         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5316         __vdso_clock_gettime.
5317
5318         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5319         to set up frame more cleanly.
5320
5321         * sysdeps/tile/memcmp.c: New file.
5322
5323         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5324
5325         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5326         * sysdeps/tile/tilegx/strcasestr.c: New file.
5327         * sysdeps/tile/tilegx/strnlen.c: New file.
5328         * sysdeps/tile/tilegx/strstr.c: New file.
5329
5330         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5331
5332 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5333
5334         * nptl/tst-setuid3.c: Write errors to stdout.
5335
5336 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5337
5338         * elf/dl-deps.c
5339         (preload): New functions broken out of _dl_map_object_deps.
5340         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5341
5342 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5343
5344         [BZ #14138]
5345         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5346         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5347
5348 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5349
5350         * sysdeps/mips/strcmp.S: New.
5351
5352 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5353
5354         [BZ #14138]
5355         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5356         (linkat): Likewise.
5357         (mkdirat): Likewise.
5358         (readlinkat): Likewise.
5359         (renameat): Likewise.
5360         (symlinkat): Likewise.
5361         (unlinkat): Likewise.
5362         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5363         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5364         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5365         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5366         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5367         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5368         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5369
5370 2014-09-30  Will Newton  <will.newton@linaro.org>
5371
5372         * math/math.h: Define long double math functions if
5373         _LIBC_TEST is defined.
5374         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5375
5376         * localedata/Makefile: Move assignment to tests-special
5377         into an ifdef testing run-built-tests.
5378         * timezone/Makefile: Likewise.
5379
5380 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5381
5382         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5383         with $(BASH) not $(SHELL).
5384
5385 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5386             Matthew LeGendre  <legendre1@llnl.gov>
5387
5388         [BZ #17411]
5389         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5390         l_reloc_result.
5391
5392 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5393
5394         * stdio-common/printf_fp.c
5395         (hack_digit): New function, broken out of ...
5396         (__printf_fp): ... local function here.  Update call sites.
5397         hack_digit now takes an additional parameter that is a pointer
5398         to a struct of the referenced locals.  Those locals moved inside
5399         the struct and references updated.
5400
5401 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5402
5403         * aclocal.m4: Require autoconf 2.69.
5404         * configure: Regenerated.
5405         * sysdeps/aarch64/configure: Likewise.
5406         * sysdeps/alpha/configure: Likewise.
5407         * sysdeps/arm/armv7/configure: Likewise.
5408         * sysdeps/arm/configure: Likewise.
5409         * sysdeps/ia64/configure: Likewise.
5410         * sysdeps/mach/configure: Likewise.
5411         * sysdeps/mips/configure: Likewise.
5412         * sysdeps/s390/configure: Likewise.
5413         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5415
5416         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5417         file.
5418         * sysdeps/ia64/configure.ac: Likewise.
5419
5420 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5421
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5423         specify symbol version for ld.so.  Do not include entry for
5424         libpthread.
5425         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5426         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5427         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5428
5429         [BZ #14171]
5430         * Makeconfig [$(build-shared) = yes]
5431         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5432         makefiles.
5433         [$(build-shared) = yes && $(soversions.mk-done) = t]
5434         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5435         [$(build-shared) = yes && $(soversions.mk-done) = t]
5436         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5437         to Makerules.
5438         [$(build-shared) = yes && $(soversions.mk-done) = t]
5439         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5440         here.
5441         [$(build-shared) = yes && $(soversions.mk-done) = t]
5442         (common-generated): Don't append gnu/lib-names.h and
5443         gnu/lib-names.stmp here.
5444         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5445         (lib-names-h-abi): New variable.
5446         [$(build-shared) = yes && $(soversions.mk-done) = t]
5447         (lib-names-stmp-abi): Likewise.
5448         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5449         abi-variants] (before-compile): Append
5450         $(common-objpfx)$(lib-names-h-abi).
5451         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5452         abi-variants] (common-generated): Append gnu/lib-names.h.
5453         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5454         abi-variants] (install-others-nosubdir): Depend on
5455         $(inst_includedir)/$(lib-names-h-abi).
5456         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5457         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5458         [$(build-shared) = yes && $(soversions.mk-done) = t]
5459         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5460         [$(build-shared) = yes && $(soversions.mk-done) = t]
5461         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5462         [$(build-shared) = yes && $(soversions.mk-done) = t]
5463         (common-generated): Append $(lib-names-h-abi) and
5464         $(lib-names-stmp-abi).
5465         * scripts/lib-names.awk: Do not handle multi being set.
5466         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5467         Remove variable.
5468         (abi-lp64_be-ld-soname): Likewise.
5469         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5470         Likewise.
5471         (abi-hard-ld-soname): Likewise.
5472         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5473         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5474         Remove variable.
5475         (abi-o32_hard-ld-soname): Likewise.
5476         (abi-o32_soft_2008-ld-soname): Likewise.
5477         (abi-o32_hard_2008-ld-soname): Likewise.
5478         (abi-n32_soft-ld-soname): Likewise.
5479         (abi-n32_hard-ld-soname): Likewise.
5480         (abi-n32_soft_2008-ld-soname): Likewise.
5481         (abi-n32_hard_2008-ld-soname): Likewise.
5482         (abi-n64_soft-ld-soname): Likewise.
5483         (abi-n64_hard-ld-soname): Likewise.
5484         (abi-n64_soft_2008-ld-soname): Likewise.
5485         (abi-n64_hard_2008-ld-soname): Likewise.
5486         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5487         Likewise.
5488         (abi-64-v2-ld-soname): Likewise.
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5490         ld.so entries.
5491         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5492         variable.
5493         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5494         entry.
5495         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5496         variable.
5497         (abi-64-ld-soname): Likewise.
5498         (abi-x32-ld-soname): Likewise.
5499         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5500         entry.
5501         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5502
5503 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5504
5505         [BZ #14138]
5506         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5507         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5508         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5509         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5510         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5511         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5512         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5513         syscall entry for GLIBC_2.2 symbol version.
5514         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5515         Likewise.
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5517         (setrlimit): Likewise.
5518         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5519         Likewise.
5520
5521 2014-09-23  Will Newton  <will.newton@linaro.org>
5522
5523         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5524         _LINUX_ARM_SYSDEP_H include guard too.
5525         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5526         define.
5527
5528 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5529
5530         * sysdeps/unix/sysv/linux/eventfd.c:
5531         Make first argument unsigned.
5532         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5533         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5534
5535 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5536
5537         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5538         * socket/sys/socket.h: Likewise
5539         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5540
5541 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5542
5543         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5544
5545 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5546
5547         * time/tst-ftime.c: New test.
5548         * time/Makefile (tests): Add tst-ftime.
5549
5550 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5551
5552         * soft-fp/extended.h: Fix comment formatting.
5553         * soft-fp/op-1.h: Likewise.
5554         * soft-fp/op-2.h: Likewise.
5555         * soft-fp/op-4.h: Likewise.
5556         * soft-fp/op-8.h: Likewise.
5557         * soft-fp/op-common.h: Likewise.
5558         * soft-fp/soft-fp.h: Likewise.
5559
5560         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5561
5562 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5563
5564         [BZ #6652]
5565         * Makeconfig (soversions-default-setname): Remove variable.
5566         ($(common-objpfx)soversions.i): Don't pass default_setname to
5567         soversions.awk.
5568         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5569         oldest_abi to abi-versions.awk.
5570         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5571         * config.make.in (oldest-abi): Remove variable.
5572         * configure.ac (--enable-oldest-abi): Remove configure option.
5573         * configure: Regenerated.
5574         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5575         text.
5576         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5577         * scripts/soversions.awk: Do not handle default_setname variable.
5578         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5579         variable.
5580         * sysdeps/mach/hurd/configure: Regenerated.
5581         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5582         variable.
5583         * sysdeps/unix/sysv/linux/configure: Regenerated.
5584
5585 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5586
5587         * elf/Makefile (CFLAGS-interp.c): Remove.
5588         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5589         path string.
5590         * elf/interp.c: Include generated runtime-linker.h
5591
5592         * Makerules (lib%.so): Don't include $(+interp) in
5593         prerequisites.
5594         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5595         * dlfcn/eval.c: Remove file.
5596
5597         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5598         macros.
5599
5600         [BZ #17266]
5601         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5602         4.2 and newer.
5603
5604         [BZ #17370]
5605         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5606
5607 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5608             Jakub Jelinek  <jakub@redhat.com>
5609
5610         [BZ #17266]
5611         * libio/stdio.h: Check definition of __fortify_function
5612         instead of __extern_always_inline to include bits/stdio2.h.
5613         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5614         check if __extern_always_inline is defined.
5615         [__USE_MISC || __USE_XOPEN]: Likewise.
5616         [__USE_ISOC99] Likewise.
5617         * misc/sys/cdefs.h (__fortify_function): Define only if
5618         __extern_always_inline is defined.
5619         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5620         __extern_always_inline and __extern_inline only for g++-4.3
5621         and newer or a compatible gcc.
5622
5623 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5624
5625         [BZ #17371]
5626         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5627         last change to handle zero prefix length.
5628
5629 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5630
5631         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5632         _SC_REGEX_VERSION.
5633
5634         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5635         _POSIX_RAW_SOCKETS.
5636
5637 2014-09-13  Allan McRae  <allan@archlinux.org>
5638
5639         * po/ru.po: Update Russian translation from translation project.
5640
5641 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5642
5643         * locale/programs/locale.c (show_locale_vars): Inline local function
5644         into its sole call site.  Clean up some style nits.
5645         (print_item): New function, broken out of ...
5646         (show_info): ... local function here.  Clean up style nits.
5647
5648         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5649         out of ...
5650         (set_class_defaults): ... local function set_default here.
5651         Define set_default as a macro locally to pass constant parameters.
5652         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5653         rather than a shared local.
5654
5655         * stdlib/rpmatch.c (try): New function, broken out of ...
5656         (rpmatch): ... local function here.  Also, prototypify definition.
5657
5658 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5659
5660         * scripts/soversions.awk: Do not handle configuration names.
5661         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5662         vendor and os variables to soversions.awk.
5663         * configure.ac: Do not modify gnu-* host_os.
5664         * configure: Regenerated
5665         * shlib-versions: Remove first column with configuration names.
5666         * nptl/shlib-versions: Likewise.
5667         * nptl_db/shlib-versions: Likewise.
5668         * sysdeps/hppa/shlib-versions: Likewise.
5669         * sysdeps/m68k/shlib-versions: Likewise.
5670         * sysdeps/mach/hurd/shlib-versions: Likewise.
5671         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5672         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5673         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5674         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5675         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5676         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5677         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5678         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5680         Likewise.
5681         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5682         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5683         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5684         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5685         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5686         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5687         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5688         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5689
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5691         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5693         Regenerated.
5694         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5696         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5697
5698         * shlib-versions: Remove OS-specific entries.  Moved to files in
5699         sysdeps.
5700         * sysdeps/mach/hurd/shlib-versions: New file.
5701         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5702
5703         * nptl/shlib-versions: Remove architecture-specific entries.
5704         Moved to files in sysdeps.
5705         * shlib-versions: Likewise.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5707         file.
5708         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5709         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5710         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5711         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5712
5713         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5714         (UDP_NO_CHECK6_RX): Likewise.
5715
5716 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5717
5718         * sysdeps/posix/sysconf.c (__sysconf): Spell
5719         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5720
5721 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5722
5723         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5724         loading.
5725         * iconv/Versions (__gconv_transliterate): Export for use from
5726         gconv modules.
5727         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5728         (struct __gconv_trans_data, __gconv_trans_fct,
5729         __gconv_trans_context_fct, __gconv_trans_query_fct,
5730         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5731         definitions.
5732         (struct __gconv_step_data): Remove __trans member.
5733         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5734         longer hidden.  Remove unused trans_data argument.
5735         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5736         (__gconv_translit_find): Remove declaration.
5737         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5738         prototype.
5739         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5740         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5741         trans_data argument.  Add hidden definition.
5742         (__gconv_translit_find): Remove.
5743         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5744         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5745         * iconv/skeleton.c: Remove transliteration initialization.
5746         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5747         __gconv_step_data initialization.
5748         * libio/iofwide.c (__libio_translit_): Remove.
5749         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5750         * wcsmbs/btowc.c (__btowc): Likewise.
5751         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5752         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5753         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5754         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5755         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5756         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5757         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5758         * wcsmbs/wctob.c (wctob): Likewise.
5759
5760 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5761
5762         [BZ #16194]
5763         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5764         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5765         register usage.
5766         * sysdeps/x86/Makefile: Adjust.
5767
5768 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5769             Roland McGrath  <roland@hack.frob.com>
5770
5771         * locale/weight.h: Add include guard.
5772         (findidx): Make static rather than auto; take new parameters
5773         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5774         * locale/weightwc.h: Likewise.
5775         * posix/fnmatch_loop.c
5776         (FCT): Change type of EXTRA from int32_t to wint_t.
5777         Don't include either header inside the function.
5778         Call FINDIDX rather than findidx, and pass new arguments.
5779         #undef FINDIDX at the end of the file.
5780         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5781         FINDIDX before including fnmatch_loop.c for the non-wide version.
5782         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5783         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5784         for the wide version.
5785         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5786         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5787         Pass new arguments to findidx.
5788         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5789         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5790         Don't #include it inside the function.  Pass new arguments to findidx.
5791         * posix/regex_internal.h
5792         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5793         (re_string_elem_size_at): Don't #include it inside the function.
5794         Pass new arguments to findidx.
5795         * string/strcoll_l.c: #include WEIGHT_H at top level.
5796         (get_next_seq): Don't #include it inside the function.
5797         Pass new arguments to findidx.
5798         (get_next_seq_nocache): Likewise.
5799         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5800         (STRXFRM): Don't #include it inside the function.
5801         Pass new arguments to findidx.
5802
5803 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5804
5805         [BZ #17344]
5806         * malloc/malloc.c (unlink): Turn asserts into a call to
5807         malloc_printerr.
5808
5809 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5810
5811         [BZ #17370]
5812         * libio/wfileops (do_ftell_wide): Free OUT.
5813
5814 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5815
5816         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5817
5818 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5819
5820         [BZ #17363]
5821         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5822         group if the current group is empty.
5823
5824 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5825
5826         * benchtests/bench-memset.c (test_main): Add more test from size
5827         from 32 to 512 bytes.
5828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5829         Add POWER8 memset object.
5830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5831         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5832         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5833         implementation.
5834         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5835         Likewise.
5836         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5837         multiarch POWER8 memset optimization.
5838         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5839         POWER8 memset optimization.
5840
5841         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5842         Remove bzero multiarch objects.
5843         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5844         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5845         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5846         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5847         Remove define.
5848         [__bzero]: Redefine to specific name.
5849         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5850         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5851         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5852         define.
5853         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5854         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5855
5856 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5857
5858         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5859         warnings into errors.
5860
5861         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5862         __cxa_thread_atexit_impl prototype.
5863
5864 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5865
5866         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5867         Fix capitalization of error message.
5868
5869 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5870
5871         * sysdeps/mips/preconfigure: Modify ABI tests.
5872
5873 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5874
5875         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5876
5877 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5878             Carlos O'Donell  <carlos@systemhalted.org>
5879
5880         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5881         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5882         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5883         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5884         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5885         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5886         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5887         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5888         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5889         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5893         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5895         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5897         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5899         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5901         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5902         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5903         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5904         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5905         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5906         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5907         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5908         Deconditionalize the code that was previously under [RESET_PID].
5909         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5910         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5911         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5912         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5913         include sysdep.h.
5914
5915 2014-09-08  Allan McRae  <allan@archlinux.org>
5916
5917         * version.h (RELEASE): Set to "development".
5918         (VERSION): Set to "2.20.90"
5919
5920 2014-09-07  Allan McRae  <allan@archlinux.org
5921
5922         * version.h (RELEASE): Set to "stable".
5923         (VERSION): Set to "2.20"
5924         * include/features.h (__GLIBC_MINOR__): Set to 20.
5925
5926         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5927         Liebler.
5928
5929         * po/ko.po: Update Korean translation from translation project.
5930
5931 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5932
5933         [BZ #17354]
5934         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5935         macro for handling signed relocations.
5936
5937 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5938
5939         [BZ #17325]
5940         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5941         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5942         assert.
5943         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5944         * iconvdata/ibm935.c (BODY): Likewise.
5945         * iconvdata/ibm937.c (BODY): Likewise.
5946         * iconvdata/ibm939.c (BODY): Likewise.
5947         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5948         assert.
5949         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5950         script.
5951         * iconvdata/run-iconv-test.sh: New test loop for checking for
5952         decoder crashers.
5953
5954 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5955
5956         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5957         libm_hidden_ver.
5958
5959 2014-09-01  Allan McRae  <allan@archlinux.org>
5960
5961         * po/eo.po: Update Esperanto translation from translation project.
5962
5963         * po/ca.po: Update Catalan translation from translation project.
5964
5965 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5966
5967         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5968         __proc_dostop call.
5969
5970 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5971
5972         [BZ #17319]
5973         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5974         to call set_thread_area instead of hand written asm.
5975         (__NR_set_thread_area): Removed define.
5976         (TLS_FLAG_WRITABLE): Likewise.
5977         (__ASSUME_SET_THREAD_AREA): Remove check.
5978         (TLS_EBX_ARG): Remove define.
5979         (TLS_LOAD_EBX): Likewise.
5980
5981 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5982
5983         Simplify atomicity of socket creation in bind.
5984
5985         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5986         looking up the name after linking the file.
5987
5988 2014-08-27  Allan McRae  <allan@archlinux.org>
5989
5990         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5991
5992 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5993
5994         [BZ #17187]
5995         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5996         trans_compare, open_translit, __gconv_translit_find):
5997         Remove module loading code.
5998
5999 2014-08-26  Allan McRae  <allan@archlinux.org>
6000
6001         * po/vi.po: Update Vietnamese translation from translation project.
6002
6003         * po/uk.po: Update Ukrainian translation from translation project.
6004
6005         * po/fr.po: Update French translation from translation project.
6006
6007         * po/ru.po: Update Russian translation from translation project.
6008
6009         * po/pl.po: Update Polish translation from translation project.
6010
6011         * po/cs.po: Update Czech translation from translation project.
6012
6013         * po/de.po: Update German translation from translation project.
6014
6015         * po/bg.po: Update Bulgarian translation from translation project.
6016
6017         * po/sv.po: Update Sweedish translation from translation project.
6018
6019         * po/nl.po: Update Dutch translation from translation project.
6020
6021         * po/es.po: Update Spanish translation from translation project.
6022
6023 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6024
6025         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6026
6027         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6028         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6029         (CPPFLAGS-iconvconfig): Likewise.
6030         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6031
6032         * include/libc-symbols.h: Remove unnecessary check for
6033         NOT_IN_libc.
6034         * nptl/pthreadP.h: Likewise.
6035         * sysdeps/aarch64/setjmp.S: Likewise.
6036         * sysdeps/alpha/setjmp.S: Likewise.
6037         * sysdeps/arm/sysdep.h: Likewise.
6038         * sysdeps/i386/setjmp.S: Likewise.
6039         * sysdeps/m68k/setjmp.c: Likewise.
6040         * sysdeps/posix/getcwd.c: Likewise.
6041         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6042         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6043         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6044         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6045         * sysdeps/sh/sh3/setjmp.S: Likewise.
6046         * sysdeps/sh/sh4/setjmp.S: Likewise.
6047         * sysdeps/unix/alpha/sysdep.h: Likewise.
6048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6049         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6050         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6051         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6054         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6056         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6059         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6061         * sysdeps/x86_64/setjmp.S: Likewise.
6062
6063 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6064
6065         [BZ #17263]
6066         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6067         <stdint.h>.
6068         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6069         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6070
6071 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6072
6073         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6074
6075         [BZ #17262]
6076         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6077         and __x86_64__ when disabling x87 inline functions.
6078
6079 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6080
6081         [BZ #17259]
6082         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6083         asm statement with __cpuid_count.
6084
6085 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6086
6087         * configure.ac: Change __ehdr_start code to dereference the struct.
6088         Run readelf on the output to look for relocations.
6089         * configure: Regenerated.
6090
6091 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6092
6093         [BZ #17261]
6094         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6095         value to 0.
6096         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6097
6098 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6099
6100         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6101
6102 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6103
6104         [BZ #16892]
6105         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6106         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6107
6108 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6109
6110         * malloc/malloc.c: Fix typo in comment.
6111
6112 2014-08-09  Allan McRae  <allan@archlinux.org>
6113
6114         * Regenerate libc.po.
6115
6116 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6117
6118         * intl/tst-gettext2.sh: Check every lang file for creation.
6119
6120 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6121
6122         * sysdeps/aarch64/fpu/math_private.h
6123         (libc_feholdsetround_noex_aarch64_ctx): New function.
6124
6125 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6126
6127         * sysdeps/arm/armv6/strcpy.S (strcpy):
6128         Fix performance issue in misaligned cases.
6129
6130 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6131
6132         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6133         Move definition from termios.h.
6134         (struct termio): Likewise.
6135         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6136         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6137         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6138         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6139         Likewise.
6140         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6141         Move definition to ioctl-types.h
6142         (struct termio): Likewise.
6143         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6144         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6145         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6146         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6147         Likewise.
6148
6149 2014-08-05  Richard Henderson  <rth@redhat.com>
6150
6151         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6152         exceptions.
6153         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6154         Add fraiseexcpt.
6155         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6156         Use __feraiseexcept.
6157         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6158         Protect libm symbols with IS_IN_libm.
6159
6160         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6161
6162 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6163
6164         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6165
6166 2014-08-04  Will Newton  <will.newton@linaro.org>
6167
6168         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6169         file.
6170
6171 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6172
6173         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6174         variants for each function.
6175
6176 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6177
6178         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6179         appended ...
6180         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6181         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6182         appended ...
6183         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6184         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6185         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6186         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6187         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6188         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6189         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6190         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6191         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6192         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6193         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6195         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6196         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6197         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6198         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6199         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6200         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6201         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6202         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6203         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6204         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6205         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6206         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6207         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6208         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6209         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6210         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6211         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6212         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6213         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6214         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6215         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6216         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6217         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6219         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6220         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6221         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6222         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6223         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6225         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6227         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6228         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6229         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6230         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6231         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6232         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6233         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6234         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6235         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6236         Update #include.
6237         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6238         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6239
6240 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6241
6242         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6243         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6244         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6245         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6246         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6247         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6248
6249 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6250
6251         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6252         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6253         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6254         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6255
6256 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6257
6258         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6259         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6260         (__libc_vfork): Define function under this name.
6261         (__vfork): Define as an alias.
6262         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6263         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6264
6265 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6266
6267         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6268         that was previously under [RESET_PID].
6269         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6270
6271 2014-08-04  Andreas Schwab  <schwab@suse.de>
6272
6273         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6274
6275 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6276
6277         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6278         (main): Likewise.
6279
6280 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6281
6282         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6283
6284 2014-08-01  Richard Henderon  <rth@redhat.com>
6285
6286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6287         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6288         typo in exact zero test.
6289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6290         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6291         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6292
6293 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6294
6295         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6296         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6297         * sysdeps/arm/sysdep.h: ... here.
6298         [!__ASSEMBLER__]: Include <stdint.h>.
6299
6300 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6301
6302         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6303         (HAVE_WCTYPE_H): Likewise.
6304         (HAVE_ISWCTYPE): Likewise.
6305         (ENABLE_NLS): Likewise.
6306         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6307         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6308
6309         * posix/regex_internal.c: Check if DEBUG is defined and is
6310         set.
6311
6312         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6313         (HAVE_MBSRTOWCS): Likewise.
6314         * posix/fnmatch.c: Include string.h unconditionally.
6315
6316 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6317
6318         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6319         reversal.
6320
6321 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6322
6323         * sysdeps/generic/safe-fatal.h: New file.
6324         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6325         * nptl/forward.c: Include it.
6326         (__pthread_unwind): Use __safe_fatal as default action, rather
6327         than a bogus use of INTERNAL_SYSCALL that could never work.
6328
6329         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6330         * configure.ac (libc_cv_builtin_trap): New test.
6331         * configure: Regenerated.
6332         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6333         (ABORT_INSTRUCTION): Define using __builtin_trap.
6334
6335         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6336         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6337         * sysdeps/nptl/nptl-signals.h: New file.
6338         * nptl/pthreadP.h: Include <nptl-signals.h>.
6339
6340 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6341
6342         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6343         (ONE_DIRECTION): Define.
6344         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6345         (ONE_DIRECTION): Define.
6346         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6347         (ONE_DIRECTION): Define.
6348
6349 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6350
6351         * sysdeps/s390/Makefile: Delete file.
6352         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6353         * sysdeps/s390/__longjmp.c: Delete file.
6354         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6355         Remove fields __flags and __reserved.
6356         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6357         and add versioning.
6358         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6359         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6360         * sysdeps/s390/rtld-setjmp.S: Likewise.
6361         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6362         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6363         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6364         * sysdeps/s390/s390-32/setjmp.S: ... here.
6365         Add versioning.
6366         (__sigsetjmp): Remove setting __flags field.
6367         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6368         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6369         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6370         * sysdeps/s390/s390-64/setjmp.S: ... here.
6371         Add versioning.
6372         (__sigsetjmp): Remove setting __flags field.
6373         * sysdeps/s390/setjmp.S: Delete file.
6374         * sysdeps/s390/sigjmp.c: Likewise.
6375         * sysdeps/s390/v1-longjmp.c: Likewise.
6376         * sysdeps/s390/v1-setjmp.h: Likewise.
6377         * sysdeps/s390/v1-sigjmp.c: Likewise.
6378         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6379         Remove v1-longjmp_chk.
6380         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6381         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6382         Include debug/longjmp_chk.c and add versioning.
6383         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6384         Include nptl/pt-longjmp.c and add versioning.
6385         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6386         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6387         Include __longjmp.c.
6388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6389         Move to ...
6390         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6391         (__getcontext): Remove setting __flags field.
6392         Add versioning.
6393         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6394         Don't restore upper high grps.
6395         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6396         Likewise.
6397         (__swapcontext): Remove setting uc_flags field.
6398         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6399         Delete file.
6400         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6401         Include __longjmp.c.
6402         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6403         Move to ...
6404         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6405         (__getcontext): Remove setting __flags field.
6406         Add versioning.
6407         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6408         (__swapcontext): Remove setting uc_flags field.
6409         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6410         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6411         Remove fields uc_high_gprs and __reserved.
6412         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6413         New file with reverted content.
6414         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6415         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6416         Regenerated.
6417         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6418         Regenerated.
6419
6420 2014-07-31  Andreas Schwab  <schwab@suse.de>
6421
6422         * config.h.in (HAVE_IFUNC): Define to 0.
6423         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6424         definedness.
6425
6426 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6427
6428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6429         memmove-avx-unaligned, memcpy-avx-unaligned and
6430         mempcpy-avx-unaligned.
6431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6432         Add tests for AVX memcpy functions.
6433         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6434         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6435         memcpy_chk.
6436         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6437         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6438         memmove_chk.
6439         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6440         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6441         mempcpy_chk.
6442         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6443         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6444         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6445
6446 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6447
6448         [BZ #17213]
6449         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6450         powerpc64le.
6451
6452 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6453
6454         [BZ #16839]
6455         * manual/llio.texi: Add section about open file description locks.
6456         * manual/examples/ofdlocks.c: Example of open file description
6457         lock usage.
6458         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6459         F_OFD_SETLK, and F_OFD_SETLKW.
6460
6461 2014-07-23  Allan McRae  <allan@archlinux.org>
6462
6463         * po/es.po: Update Spanish translation from translation project.
6464
6465 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6466
6467         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6468
6469 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6470
6471         [BZ #17078]
6472         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6473         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6474         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6475
6476 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6477
6478         [BZ #17088]
6479         * math/fesetenv.c (__fesetenv)
6480         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6481         * math/feupdateenv.c (__feupdateenv)
6482         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6483
6484         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6485         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6486         (__ASSUME_SOCKETCALL): Do not define.
6487
6488         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6489         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6490         (__ASSUME_SOCKETCALL): Do not define.
6491         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6492         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6493         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6494         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6496         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6498         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6499
6500         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6501         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6502         (__ASSUME_SOCKETCALL): Do not define.
6503         (__ASSUME_IPC64): Define unconditionally.
6504         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6505         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6506         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6508         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6510         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6511         Likewise.
6512
6513         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6514         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6515         (__ASSUME_SOCKETCALL): Do not define.
6516         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6517         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6518         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6519         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6520         (__ASSUME_REQUEUE_PI): Define unconditionally.
6521         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6522         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6523         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6524         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6525         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6526         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6527
6528         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6529         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6530         (__ASSUME_SOCKETCALL): Do not define.
6531         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6532         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6533         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6534         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6535         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6536         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6537
6538         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6539         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6540         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6541         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6543         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6545         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6546         (__ASSUME_GETCPU_SYSCALL): Likewise.
6547
6548         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6549         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6550         cases for individual architectures.
6551         * sysdeps/gnu/configure: Regenerated.
6552         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6553         LIBC_SLIBDIR_RTLDDIR.
6554         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6555         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6556         LIBC_SLIBDIR_RTLDDIR.
6557         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6559         LIBC_SLIBDIR_RTLDDIR.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6561         Regenerated.
6562         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6563         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6564         file.
6565         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6566         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6567         file.
6568         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6569         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6570         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6571         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6572
6573         * sysdeps/aarch64/shlib-versions: Move to ...
6574         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6575         * sysdeps/alpha/shlib-versions: Move to ...
6576         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6577         * sysdeps/arm/shlib-versions: Move to ...
6578         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6579         * sysdeps/hppa/shlib-versions: Move all contents except for
6580         libgcc_s entry to ...
6581         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6582         entry from ...
6583         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6584         * sysdeps/ia64/shlib-versions: Move to ...
6585         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6586         entry from ...
6587         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6588         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6589         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6590         * sysdeps/microblaze/shlib-versions: Move to ...
6591         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6592         * sysdeps/mips/shlib-versions: Move to ...
6593         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6594         entry from ...
6595         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6596         * sysdeps/tile/shlib-versions: Move to ...
6597         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6598         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6599         from ...
6600         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6601         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6602         entry from ...
6603         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6604
6605 2014-07-17  Will Newton  <will.newton@linaro.org>
6606
6607         * sysdeps/arm/bits/atomic.h
6608         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6609         (__arch_compare_and_exchange_bool_16_int): Likewise.
6610         (__arch_compare_and_exchange_bool_64_int): Likewise.
6611
6612         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6613         into an #else block.
6614
6615 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6616
6617         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6618         just Linux configurations.  Test empirically that the compiler sets
6619         __ARM_EABI__, rather than using the tuple to decide.
6620         * sysdeps/arm/preconfigure: Regenerated.
6621         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6622         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6623         contents appended ...
6624         * sysdeps/arm/configure.ac: ... here.
6625         * sysdeps/arm/configure: Regenerated.
6626
6627 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6628
6629         * nptl/pthread_kill.c: New file.
6630         * nptl/pthread_sigmask.c: New file.
6631         * nptl/pthread_sigqueue.c: New file.
6632
6633         * sysdeps/nptl/lowlevellock.h: New file.
6634         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6635         * sysdeps/nptl/lowlevellock-futex.h: New file.
6636
6637         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6638         Remove dead declarations.
6639
6640 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6641
6642         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6643         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6644         config-cflags-avx2.
6645         * sysdeps/x86_64/configure.ac: Likewise.
6646         * sysdeps/i386/configure: Regenerated.
6647         * sysdeps/x86_64/configure: Likewise.
6648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6649         memset-avx2 only if config-cflags-avx2 is yes.
6650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6651         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6652         defined.
6653         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6654         only if HAVE_AVX2_SUPPORT is defined.
6655         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6656
6657 2014-07-14  Alan Modra  <amodra@gmail.com>
6658
6659         [BZ #17153]
6660         * elf/elf.h (DT_PPC64_NUM): Correct value.
6661         * NEWS: Add to fixed bug list.
6662
6663 2014-07-13  Jim Meyering  <meyering@fb.com>
6664
6665         [BZ 17150]
6666         regex: don't deref NULL upon heap allocation failure
6667         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6668         failure in one more place.
6669         To trigger the segfault, configure grep -with-included-regex,
6670         build it, and run these commands:
6671         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6672
6673 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6674
6675         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6676
6677 2014-07-11  Richard Henderson  <rth@redhat.com>
6678
6679         * sysdeps/aarch64/libm-test-ulps: Update.
6680
6681 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6682
6683         [BZ #17135]
6684         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6685         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6686         (__nptl_setxid): Initialize error member.  Call
6687         __nptl_setxid_error.
6688         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6689         * nptl/descr.h (struct xid_command): Add error member.
6690         * nptl/tst-setuid3.c: New file.
6691         * nptl/Makefile (tests): Add it.
6692
6693 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6694
6695         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6696         New define.
6697         (__lll_trylock): Use __lll_base_trylock.
6698         (__lll_cond_trylock): Likewise.
6699
6700 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6701
6702         * nptl/pthread_create.c (start_thread): Use atomic_or and
6703         lll_futex_wake directly rather than lll_robust_dead.
6704         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6705         (lll_robust_dead): Macro removed.
6706         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6707         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6708         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6709         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6710         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6711         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6712         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6713         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6714         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6716         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6717         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6718         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6719         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6720         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6721
6722         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6723         Use atomic_compare_and_exchange_val_acq directly rather than
6724         lll_robust_trylock.
6725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6726         (__lll_robust_trylock, lll_robust_trylock): Removed.
6727         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6728         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6729         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6730         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6731         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6732         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6733         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6734         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6735         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6737         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6738         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6739         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6740         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6741
6742 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6743
6744         * manual/locale.texi (Locale Names): New section documenting
6745         locale name syntax.  Adjust menu and node chaining accordingly.
6746         (Choosing Locale): Reference Locale Names, Locale Categories.
6747         Mention setting LC_ALL=C.  Reflect that name syntax is now
6748         documented.
6749         (Locale Categories): New section title.  Reference Locale Names.
6750         LC_ALL is an environment variable, but not a category.
6751         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6752         description, now in Locale Name.  Reference that section.  Locale
6753         name syntax is now documented.
6754
6755 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6756
6757         [BZ #17137]
6758         * locale/findlocale.c (name_present, valid_locale_name): New
6759         functions.
6760         (_nl_find_locale): Use the loc_name variable to store name
6761         candidates.  Call name_present and valid_locale_name to check and
6762         validate locale names.  Return an error if the locale is invalid.
6763
6764 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6765
6766         * locale/setlocale.c (setlocale): Use strdup for allocating
6767         composite name copy.
6768
6769 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6770
6771         Sync up with gnulib.
6772         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6773         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6774         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6775         and _GL_ARG_NONNULL.
6776         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6777         [!_LIBC]: Include code for Windows and Cygwin.
6778         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6779         Include prototype for int strerror_r.
6780         [!_LIBC] (is_open): New function.
6781         (flush_stdout): New function.
6782         (print_errno_message): Use it.
6783         (error): Likewise.
6784         (error_at_line): Likewise.
6785         (error_tail) Add function attribute macros.  Use
6786         __builtin_expect.
6787
6788         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6789
6790         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6791
6792         * io/ftw.c: Include sys/param.h unconditionally.
6793
6794         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6795
6796         [BZ #17125]
6797         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6798         libc_freeres_ptr.
6799         (freecache): New function to free CACHE on exit.
6800
6801         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6802         initialization.
6803
6804 2014-07-09  David S. Miller  <davem@davemloft.net>
6805
6806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6807
6808         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6809         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6810         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6811         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6812         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6813         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6814         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6815         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6816         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6817         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6818         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6819         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6820         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6821
6822 2014-07-09  Andreas Schwab  <schwab@suse.de>
6823
6824         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6825         output.
6826         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6827         (do_test): Likewise.
6828
6829         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6830
6831 2014-07-09  Will Newton  <will.newton@linaro.org>
6832
6833         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6834         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6835         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6836         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6837         * sysdeps/hppa/start.S (_start): Likewise.
6838
6839 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6840
6841         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6842
6843         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6844         defined.
6845
6846 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6847
6848         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6849         after checking that it is non-NULL.
6850
6851         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6852
6853 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6854
6855         * sysdeps/powerpc/memmove.c: Remove file.
6856         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6857         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6858         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6859         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6860         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6861         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6862         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6863         string memmove instead of removed powerpc one.
6864
6865         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6866         [weak_alias]: Fix compiler warning due trailing data.
6867         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6868         [weak_alias]: Likewise.
6869         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6870         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6871
6872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6873         (__libc_ifunc_impl_list): Add memmove functions.
6874
6875 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6876
6877         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6878         Remove code.
6879         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6880         Likewise
6881         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6882         Likewise
6883         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6884         Likewise
6885         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6886         Likewise
6887         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6888         Likewise
6889         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6890         Likewise
6891         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6892         Likewise
6893         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6894         Likewise
6895         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6896         Likewise
6897         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6898         Likewise
6899         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6900         Likewise
6901         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6902         Likewise
6903         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6904         Likewise
6905         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6906         Likewise
6907         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6908         Likewise
6909         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6910         Likewise
6911
6912 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6913
6914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6915         to avoid alignment traps in non-cacheable memory.
6916         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6917
6918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6919         multiarch objects.
6920         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6921         file: multiarch power7 memmove.
6922         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6923         multiarch default memmove.
6924         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6925         multiarch memove for powerpc32/power4.
6926
6927         * string/bcopy.c: Use full path to include memmove.c.
6928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6929         multiarch objects.
6930         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6931         bcopy for powerpc64.
6932         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6933         bcopy for powerpc64.
6934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6935         and memmove implementations.
6936         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6937         optimized multiarch memmove for POWER7/powerpc64.
6938         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6939         default multiarch memmove for powerpc64.
6940         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6941         multiarch for powerpc64.
6942         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6943         for POWER7/powerpc64.
6944         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6945         memmove for POWER7/powerpc64.
6946
6947         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6948         glibc default one.
6949
6950         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6951         __ELF_NATIVE_CLASS equal to 64.
6952
6953 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6954
6955         * sysdeps/nptl/lowlevellock.h: File removed.
6956
6957         * NEWS: NPTL is no longer an add-on!
6958         * nptl/internaltypes.h: Moved ...
6959         * sysdeps/nptl/internaltypes.h: ... here.
6960         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6961         * sysdeps/nptl/fork.c: Likewise.
6962         * sysdeps/nptl/gai_misc.h: Likewise.
6963         * sysdeps/nptl/librt-cancellation.c: Likewise.
6964         * sysdeps/nptl/jmp-unwind.c: Likewise.
6965         * sysdeps/nptl/setxid.h: Likewise.
6966         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6967         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6968         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6969         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6970         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6971         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6972         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6973         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6974         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6975         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6976         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6977         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6978         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6979         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6980         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6981         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6982         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6983         * nptl/Makeconfig: Moved ...
6984         * sysdeps/nptl/Makeconfig: ... here.
6985         * nptl/configure: File removed.
6986         * nptl/ANNOUNCE: File removed.
6987         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6988         * sysdeps/unix/sysv/linux/configure: Regenerated.
6989
6990         * nptl/Makefile (routines): Add libc_pthread_init,
6991         libc_multiple_threads, register-atfork and unregister-atfork.
6992         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6993         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6994         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6995         pthread-pi-defines.sym, structsem.sym.
6996         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6997         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6998         [$(subdir) = nptl] (tests): Add tst-setgetname.
6999         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7000         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7001         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7002         [!LIBC_SIGACTION]: Remove aliases.
7003         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7004         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7005         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7006         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7007         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7008         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7009         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7010         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7011         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7012         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7013         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7014         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7015         __libc_allocate_rtsig_private.
7016         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7017         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7018         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7019         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7020         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7021         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7022         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7023         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7024         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7025         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7026         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7027         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7028         * nptl/internaltypes.h: ... here.
7029         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7030         * sysdeps/nptl/jmp-unwind.c: ... here.
7031         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7032         * nptl/libc-lowlevellock.c: ... here.
7033         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7034         * nptl/libc_multiple_threads.c: ... here.
7035         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7036         * nptl/libc_pthread_init.c: ... here.
7037         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7038         * nptl/lowlevelbarrier.sym: ... here.
7039         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7040         * nptl/lowlevelcond.sym: ... here.
7041         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7042         * nptl/lowlevellock.c: ... here.
7043         * nptl/lowlevellock.h: Moved ...
7044         * sysdeps/nptl/lowlevellock.h: ... here.
7045         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7046         * nptl/lowlevelrobustlock.c: ... here.
7047         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7048         * nptl/lowlevelrobustlock.sym: ... here.
7049         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7050         * nptl/lowlevelrwlock.sym: ... here.
7051         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7052         * nptl/pt-fork.c: ... here.
7053         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7054         * nptl/pthread-pi-defines.sym: ... here.
7055         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7056         * nptl/pthread_attr_getaffinity.c: ... here.
7057         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7058         * nptl/pthread_attr_setaffinity.c: ... here.
7059         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7060         * nptl/pthread_mutex_cond_lock.c: ... here.
7061         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7062         Update #include.
7063         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7064         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7065         * nptl/pthread_once.c: ... here, replacing old file.
7066         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7067         * nptl/pthread_yield.c: ... here.
7068         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7069         * nptl/register-atfork.c: ... here.
7070         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7071         * nptl/sem_post.c: ... here.
7072         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7073         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7074         * nptl/sem_timedwait.c: ... here.
7075         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7076         * nptl/sem_trywait.c: ... here.
7077         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7078         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7079         * nptl/sem_wait.c: ... here.
7080         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7081         * nptl/structsem.sym: ... here.
7082         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7083         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7084         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7085         * nptl/unregister-atfork.c: ... here.
7086         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7087         * nptl/unwindbuf.sym: ... here.
7088         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7089         * sysdeps/nptl/fork.c: ... here.
7090         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7091         * sysdeps/nptl/fork.h: ... here.
7092         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7093         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7094         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7095         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7096         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7097         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7098         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7099         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7100         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7101         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7102         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7103         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7104         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7105         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7106         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7107         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7108         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7109         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7110         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7111         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7112         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7113         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7114         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7115         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7116         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7117         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7118         * sysdeps/unix/sysv/linux/raise.c: ... here.
7119         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7120         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7121         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7122         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7123         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7124         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7125         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7126         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7127         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7128         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7129         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7130         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7131         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7132         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7133         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7134
7135 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7136
7137         * sysdeps/generic/memcopy.h: Add comment for
7138         MEMCPY_OK_FOR_FWD_MEMMOVE.
7139
7140 2014-07-04  Will Newton  <will.newton@linaro.org>
7141
7142         * string/memchr.c: Merge from gnulib.
7143         [_LIBC]: Remove conditionals.
7144         (__ptr_t): Remove define.
7145         (LONG_MAX_32_BITS): Likewise.
7146         (LONG_MAX): Likewise.
7147         (MEMCHR): Use ANSI prototype and optimize algorithm.
7148
7149         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7150
7151 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7152
7153         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7154         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7155
7156         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7157         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7158         in a bare environment with no <stdlib.h> installed.
7159         * sysdeps/nptl/configure: Regenerated.
7160
7161         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7162
7163         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7164         AC_EGREP_CPP for kernel header checks, so they only succeed if
7165         including <linux/version.h> actually works right.
7166         * sysdeps/unix/sysv/linux/configure: Regenerated.
7167
7168         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7169         value so it's not diagnosed as unused.
7170
7171         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7172         thing) with "ifeq ($(subdir),rt)".
7173
7174 2014-07-03  Richard Henderson  <rth@redhat.com>
7175
7176         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7177         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7178         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7179
7180         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7181         (math_force_eval): New.
7182
7183         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7184         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7185
7186         * sysdeps/alpha/fpu/s_round.c: Remove file.
7187         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7188
7189         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7190         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7191         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7192         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7193         (_dl_start, print_statistics): Likewise.
7194         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7195         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7196
7197         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7198         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7199         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7200         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7201         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7202         (HP_SMALL_TIMING_AVAIL): Define.
7203         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7204         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7205         (HP_SMALL_TIMING_AVAIL): Define.
7206         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7207         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7208
7209         * sysdeps/aarch64/hp-timing.h: New file.
7210
7211         * sysdeps/generic/hp-timing.h: Remove dead comment.
7212         * sysdeps/generic/hp-timing-common.h: New file.
7213         * sysdeps/alpha/hp-timing.h: Include it.
7214         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7215         * sysdeps/i386/i686/hp-timing.h: Likewise.
7216         * sysdeps/ia64/hp-timing.h: Likewise.
7217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7218         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7219         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7220         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7221         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7222         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7223         (hp_timing_t): New.
7224
7225         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7226         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7227         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7228         * elf/rtld.c (_dl_start_final): Likewise.
7229         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7230         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7231         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7232         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7233         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7235         (HP_TIMING_DIFF_INIT): Remove.
7236         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7238         (HP_TIMING_DIFF_INIT): Remove.
7239         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7240         * sysdeps/i386/i686/hp-timing.c: Remove file.
7241         * sysdeps/x86_64/hp-timing.c: Remove file.
7242         * sysdeps/ia64/hp-timing.c: Remove file.
7243         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7244         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7245         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7246         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7247
7248         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7249         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7250         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7251         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7252         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7253         (HP_TIMING_ACCUM): Remove.
7254         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7255         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7256         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7257
7258         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7259         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7260         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7261         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7262         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7263         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7264         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7265         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7266
7267         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7268
7269 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7270
7271         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7272
7273 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7274
7275         Sync up with gettext.
7276         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7277         [_MSC_VER]: Include malloc.h
7278         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7279         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7280         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7281         TEMP_FAILURE_RETRY.  Cast return of alloca.
7282         [!_LIBC] Call gl_rwlock_init.
7283         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7284
7285 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7286
7287         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7288         before checking its value.
7289
7290 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7291
7292         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7293
7294         * debug/memcpy_chk.c: Don't include pagecopy.h.
7295         * debug/mempcpy_chk.c: Likewise.
7296         * string/memcpy.c: Likewise.
7297         * string/memmove.c: Likewise.
7298         * sysdeps/powerpc/memmove.c: Likewise.
7299         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7300         definition of PAGE_COPY_FWD_MAYBE here...
7301         * sysdeps/generic/pagecopy.h: ... from here.
7302         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7303
7304 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7305             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7306
7307         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7309         optimizations.
7310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7311         (__libc_ifunc_impl_list): Likewise.
7312         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7313         multiarch strcat for PPC64.
7314         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7315         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7316
7317 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7318
7319         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7320
7321 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7322
7323         * intl/loadmsgcat.c: Remove declaration of
7324         get_sysdep_segment_value.
7325         (get_sysdep_segment_value): Use ISO C style.
7326         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7327         semicolon.  Fix typo and formatting in comment.
7328         (_nl_unload_domain): Use ISO C style.
7329
7330         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7331
7332 2014-07-02  Will Newton  <will.newton@linaro.org>
7333
7334         * malloc/obstack.c: Merge from gnulib master.
7335         [HAVE_CONFIG_H]: Remove conditional code.
7336         [!_LIBC]: Include config.h.
7337         [!ELIDE_CODE]: Don't include inttypes.h, include
7338         stdint.h unconditionally.
7339         (print_and_abort): Mark as _Noreturn.
7340         (_obstack_allocated_p): Mark as __attribute_pure__.
7341         (obstack_free): Rename to __obstack_free.
7342         [!__attribute__]: Remove conditional code.
7343         * malloc/obstack.h: Merge from gnulib master.
7344         [__cplusplus]: Move conditional down.
7345         [!__attribute_pure__]: Define __attribute_pure__ here
7346         if it is not already defined.
7347         (_obstack_memory_used): Mark as __attribute_pure__.
7348         [!__obstack_free]: Define as obstack_free.
7349         [__GNUC__]: Remove check for ancient NeXT gcc.
7350
7351 2014-07-02  Will Newton  <will.newton@linaro.org>
7352             Paul Eggert  <eggert@cs.ucla.edu>
7353
7354         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7355
7356 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7357
7358         * resolv/gethnamaddr.c: Add comment warning that the file is
7359         not maintained.
7360
7361 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7362
7363         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7364         entries.
7365
7366         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7367         entry for aio_cancel and aio_cancel64.
7368         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7369         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7370         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7371         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7372         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7373         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7374         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7375         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7376         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7377         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7378         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7379         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7380         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7381
7382 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7383
7384         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7385         * nptl/pthread_mutex_lock.c: Likewise.
7386         * nptl/pthread_mutex_timedlock.c: Likewise.
7387         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7388
7389 2014-07-01  Richard henderson  <rth@redhat.com>
7390
7391         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7392         (__isnan, __isnanl): Remove.
7393         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7394
7395         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7396
7397 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7398
7399         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7400
7401 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7402
7403         * resolv/nss_dns/dns-host.c (getanswer_r)
7404         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7405
7406 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7407
7408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7409         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7410         undefine.
7411         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7412         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7413
7414 2014-07-01  Roland McGrath <roland@hack.frob.com>
7415
7416         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7417         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7418
7419         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7420         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7421
7422         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7423         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7424         ... here.
7425         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7426         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7427
7428         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7429         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7430         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7431         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7432
7433         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7434         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7435         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7436         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7437         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7438         Moved ...
7439         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7440         ... here.
7441         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7442         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7443         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7444         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7445         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7446         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7447         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7448         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7449         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7450         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7451         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7452         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7453         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7454         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7455         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7456         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7457         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7458         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7459         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7460         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7461         ... here.
7462         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7465         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7466         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7467         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7468         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7469         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7470
7471 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7472
7473         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7474         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7475         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7476         Add sysdep.
7477
7478 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7479
7480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7481
7482 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7483
7484         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7486
7487         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7488
7489         * sysdeps/arm/libm-test-ulps: Regenerated.
7490
7491 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7492             Roland McGrath <roland@hack.frob.com>
7493
7494         * test-skeleton.c (signal_handler): Kill the whole process group
7495         before killing the child individually.
7496         (main): Report any failure on `setpgid'.
7497
7498 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7499
7500         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7501         from _TLS_H to _ARM_NPTL_TLS_H.
7502         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7503         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7504
7505 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7506
7507         [BZ #16539]
7508         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7509         (__expm1l): Return argument unchanged when small but not
7510         subnormal.
7511
7512         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7513         include macro name.
7514         (_FP_UNPACK_RAW_1_P): Likewise.
7515         (_FP_PACK_RAW_1): Likewise.
7516         (_FP_PACK_RAW_1_P): Likewise.
7517         (_FP_MUL_MEAT_1_wide): Likewise.
7518         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7519         (_FP_MUL_MEAT_1_hard): Likewise.
7520         (_FP_DIV_MEAT_1_imm): Likewise.
7521         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7522         (_FP_DIV_MEAT_1_udiv): Likewise.
7523         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7524         (_FP_UNPACK_RAW_2): Likewise.
7525         (_FP_UNPACK_RAW_2_P): Likewise.
7526         (_FP_PACK_RAW_2): Likewise.
7527         (_FP_PACK_RAW_2_P): Likewise.
7528         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7529         (_FP_MUL_MEAT_2_wide): Likewise.
7530         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7531         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7532         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7533         (_FP_MUL_MEAT_2_gmp): Likewise.
7534         (_FP_DIV_MEAT_2_udiv): Likewise.
7535         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7536         (_FP_FRAC_SRL_4): Likewise.
7537         (_FP_FRAC_SRST_4): Likewise.
7538         (_FP_FRAC_SRS_4): Likewise.
7539         (_FP_UNPACK_RAW_4): Likewise.
7540         (_FP_UNPACK_RAW_4_P): Likewise.
7541         (_FP_PACK_RAW_4): Likewise.
7542         (_FP_PACK_RAW_4_P): Likewise.
7543         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7544         (_FP_MUL_MEAT_4_wide): Likewise.
7545         (_FP_MUL_MEAT_4_gmp): Likewise.
7546         (umul_ppppmnnn): Likewise.
7547         (_FP_DIV_MEAT_4_udiv): Likewise.
7548         (__FP_FRAC_ADD_4): Likewise.
7549         (__FP_FRAC_SUB_3): Likewise.
7550         (__FP_FRAC_SUB_4): Likewise.
7551         (__FP_FRAC_DEC_3): Likewise.
7552         (__FP_FRAC_DEC_4): Likewise.
7553         (__FP_FRAC_ADDI_4): Likewise.
7554         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7555         (_FP_FRAC_SRL_8): Likewise.
7556         (_FP_FRAC_SRS_8): Likewise.
7557
7558         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7559         include macro name.
7560         (FP_UNPACK_RAW_EP): Likewise.
7561         (FP_PACK_RAW_E): Likewise.
7562         (FP_PACK_RAW_EP): Likewise.
7563         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7564         (_FP_ISSIGNAN): Likewise.
7565         (_FP_ADD_INTERNAL): Likewise.
7566         (_FP_FMA): Likewise.
7567         (_FP_CMP): Likewise.
7568         (_FP_SQRT): Likewise.
7569         (_FP_TO_INT): Likewise.
7570         (_FP_FROM_INT): Likewise.
7571         (FP_EXTEND): Likewise.
7572         (_FP_DIV_MEAT_N_loop): Likewise.
7573
7574 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7575
7576         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7577         throughout.
7578
7579 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7580
7581         [BZ #17097]
7582         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7583         result with correct sign in case of exponents that produce
7584         overflow except for X very close to 1.
7585
7586 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7587
7588         mktime: merge #if/#ifdef usage from glibc
7589         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7590         as that works with both Glibc's and Gnulib's style.
7591         See thread starting at Siddhesh Poyarekar's bug report at:
7592         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7593
7594 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7595
7596         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7597         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7598         * sysdeps/tile/tilegx/memmove.c: Remove file.
7599
7600 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7601
7602         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7603         abi-name definition.
7604         * scripts/soversions.awk: Do not handle or generate ABI lines.
7605         * shlib-versions: Remove ABI entries.
7606         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7607         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7608
7609 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7610
7611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7612         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7613         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7614         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7616         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7618         Moved ...
7619         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7620         ... here.
7621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7622         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7624         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7626         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7628         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7630         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7632         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7634         Moved ...
7635         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7639         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7641         Moved ...
7642         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7649         Moved ...
7650         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7652         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7654         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7656         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7658         Moved ...
7659         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7661         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7662         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7663         Moved ...
7664         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7665         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7666         Moved ...
7667         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7668         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7669         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7670         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7671         Moved ...
7672         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7673         ... here.
7674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7675         Identical file removed.
7676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7677         Moved ...
7678         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7680         Identical file removed.
7681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7682         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7684         Moved ...
7685         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7687         Identical file removed.
7688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7689         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7691         Identical file removed.
7692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7693         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7695         Identical file removed.
7696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7697         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7699         Identical file removed.
7700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7701         Moved ...
7702         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7703         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7704         Identical file removed.
7705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7706         Moved ...
7707         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7709         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7711         Identical file removed.
7712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7713         Moved ...
7714         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7715         ... here.
7716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7717         Identical file removed.
7718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7719         Moved ...
7720         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7722         Identical file removed.
7723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7724         Moved ...
7725         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7726         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7727         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7729         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7731         Moved ...
7732         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7733         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7734         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7735
7736         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7737         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7738         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7739         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7740         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7741
7742 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7743
7744         [BZ #17092]
7745         * nscd/nscd.c (monitor_child): Return exit status of child
7746         instead of return value from wait syscall.
7747
7748 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7749
7750         * configure.ac (libc_commonpagesize): Remove variable.
7751         (libc_relro_required): Likewise.
7752         (libc_cv_z_relro): Remove configure test.
7753         * configure: Regenerated.
7754         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7755         variable.
7756         (libc_relro_required): Likewise.
7757         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7758         (libc_relro_required): Likewise.
7759         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7760         (libc_relro_required): Likewise.
7761         * sysdeps/arm/preconfigure: Regenerated.
7762         * sysdeps/ia64/preconfigure: Remove file.
7763         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7764         variable.
7765         (libc_relro_required): Likewise.
7766
7767         [BZ #16561]
7768         [BZ #16562]
7769         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7770         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7771         recompute overflowing results in original rounding mode.
7772         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7773         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7774         recompute overflowing results in original rounding mode.
7775         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7776         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7777         recompute overflowing results in original rounding mode.
7778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7779         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7780         recompute overflowing results in original rounding mode.
7781         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7782         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7783         recompute overflowing results in original rounding mode.
7784         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7785         (libc_feholdsetround_ctx): New macro.
7786         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7787         * sysdeps/i386/fpu/libm-test-ulps: Update.
7788         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7789
7790 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7791
7792         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7793         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7794         corresponding .cpsetup call.
7795
7796 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7797
7798         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7799         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7800         * sysdeps/arm/Makefile [$(subdir) = csu]
7801         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7802         (static-only-routines): Add aeabi_read_tp here.
7803         (shared-only-routines): Add libc-aeabi_read_tp here.
7804         (CFLAGS-libc-start.c): Add -fexceptions here.
7805         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7806         (sysdep_routines, static-only-routines, shared-only-routines):
7807         Don't add to these here.
7808         (CFLAGS-libc-start.c): Likewise.
7809
7810         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7811         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7812         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7813         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7814         * sysdeps/arm/Makefile [$(subdir) = rt]
7815         (librt-sysdep_routines, librt-shared-only-routines):
7816         Append rt-aeabi_unwind_cpp_pr1 here.
7817         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7818         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7819         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7820         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7821         Append nptl-aeabi_unwind_cpp_pr1 here.
7822         (tests): Filter out tst-cleanupx4 here.
7823         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7824         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7825         Don't do those here.
7826
7827 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7828
7829         * scripts/list-sources.sh: Do not handle ports specially.
7830
7831 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7832
7833         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7834         * sysdeps/arm/feupdateenv.c: Likewise.
7835
7836         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7837
7838 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7839
7840         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7841         trailing whitespace removed.
7842         * scripts/config.guess: Update to version 2014-03-23.
7843         * scripts/config.sub: Update to version 2014-05-01
7844         * scripts/install-sh: Update to version 2013-12-25.23.
7845         * scripts/move-if-change: Update from gnulib.
7846
7847 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7848
7849         * debug/memmove_chk.c: Remove pagecopy.h include.
7850
7851 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7852
7853         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7854         identical to gnulib mktime.
7855
7856 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7857
7858         * configure.ac: Do not test for machine being rs6000.  Do not test
7859         for powerpc*-*soft.
7860         * configure: Regenerated.
7861
7862         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7863         test.
7864         * configure: Regenerated.
7865         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7866         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7867         Remove configure test.
7868         * sysdeps/arm/configure: Regenerated.
7869         * sysdeps/nptl/configure.ac: Do not check
7870         libc_cv_asm_cfi_directives.
7871         * sysdeps/nptl/configure: Regenerated.
7872         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7873         * sysdeps/x86_64/nptl/configure: Remove generated file.
7874         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7875         unconditional.
7876         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7877
7878 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7879
7880         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7881         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7882         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7883         it is defined.
7884
7885         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7886         instead of whether it is defined.
7887         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7888         * sysdeps/hppa/dl-machine.h: Likewise.
7889         * sysdeps/ia64/dl-machine.h: Likewise.
7890         * sysdeps/m68k/dl-machine.h: Likewise.
7891         * sysdeps/microblaze/dl-machine.h: Likewise.
7892         * sysdeps/mips/dl-machine.: Likewise.
7893         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7894         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7895         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7896         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7897         * sysdeps/sh/dl-machine.h: Likewise.
7898         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7899         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7900         * sysdeps/tile/dl-machine.h: Likewise.
7901         * sysdeps/x86_64/dl-machine.h: Likewise.
7902
7903         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7904         code.
7905         (verify_persistent_db): Likewise.
7906
7907 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7908
7909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7910         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7912         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7914         Moved ...
7915         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7916         ... here.
7917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7918         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7920         Identical file removed.
7921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7922         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7924         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7926         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7928         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7930         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7932         Moved ...
7933         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7935         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7937         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7939         Moved ...
7940         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7942         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7944         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7946         Identical file removed.
7947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7948         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7950         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7952         Moved ...
7953         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7954         ... here.
7955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7958         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7960         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7962         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7964         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7966         Moved ...
7967         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7969         Moved ...
7970         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7972         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7974         Moved ...
7975         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7977         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7978
7979         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7980         folded into ...
7981         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7982         * sysdeps/unix/sysv/linux/s390/Versions
7983         (libpthread: GLIBC_2.19): New version set.
7984         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7985         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7986         (librt: GLIBC_2.3.3): New version set.
7987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7988         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7989         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7990         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7991         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7992         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7993         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7994         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7995         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7996         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7997         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7998         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7999         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8000         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8001         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8002         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8003         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8004         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8005         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8006         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8007         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8008         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8009         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8011         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8012         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8013         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8014         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8015         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8016         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8017         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8018         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8023         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8025         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8027         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8029         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8031         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8032
8033         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8034         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8035         (__libc_vfork): Define the function under this name.
8036         [!NOT_IN_libc] (__vfork): Make this an alias.
8037         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8038         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8039         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8040         (__libc_vfork): Define the function under this name.
8041         [!NOT_IN_libc] (__vfork): Make this an alias.
8042         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8043         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8044         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8048
8049         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8050         code that was previously under [RESET_PID].
8051         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8052         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8054
8055         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8056         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8057         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8058         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8059         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8060         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8061         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8062         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8063         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8066         Moved ...
8067         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8068         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8069         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8070         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8072         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8073         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8074         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8075         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8076         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8077         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8078         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8079         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8080         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8081         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8082         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8083         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8085         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8086         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8087         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8088         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8089         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8090         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8091         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8092         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8093         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8094         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8095         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8096
8097 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8098
8099         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8100         that was previously under [RESET_PID].
8101         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8102
8103 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8104
8105         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8106         not undefine and redefine.
8107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8108         [O_CLOEXEC]: Make code unconditional.
8109         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8110         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8111         <kernel-features.h>.
8112         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8113         conditional variable definition.
8114         (shm_open) [O_CLOEXEC]: Make code unconditional.
8115         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8116         code.
8117
8118         * configure.ac (USE_REGPARMS): Don't define here.
8119         * configure: Regenerated.
8120         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8121         * sysdeps/i386/configure: Regenerated.
8122
8123         * nptl/createthread.c: Don't include kernel-features.h.
8124         * nptl/pthread_cancel.c: Likewise.
8125         * nptl/pthread_condattr_setclock.c: Likewise.
8126         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8127         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8128         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8129         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8130         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8131         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8132         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8135         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8136         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8137         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8138         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8139         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8140         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8141         * nscd/gai.c: Likewise.
8142         * nss/nss_db/db-open.c: Likewise.
8143         * sysdeps/generic/ldsodefs.h: Likewise.
8144         * sysdeps/sh/nptl/tls.h: Likewise.
8145         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8146         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8147         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8148         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8149         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8150         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8151         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8152         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8154         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8155         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8156         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8157         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8158         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8159         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8160         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8161         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8162         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8163         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8164         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8167         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8168         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8173         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8174         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8175         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8176         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8177         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8178         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8179         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8180         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8181         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8182         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8183         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8184         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8185         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8186         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8187         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8188         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8189         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8190         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8191         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8192         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8193         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8194         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8195         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8196         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8197         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8198         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8199         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8200         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8201         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8202         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8225         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8226         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8227         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8228         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8229         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8230         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8231         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8232         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8233         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8234         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8235         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8236         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8237         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8238         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8239         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8240         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8242         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8243         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8244         * sysdeps/unix/sysv/linux/system.c: Likewise.
8245         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8246         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8247         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8248         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8249         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8250         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8251         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8252
8253         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8254         * configure: Regenerated.
8255         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8256
8257         * configure.ac (base_machine): Do not set specially for particular
8258         machines here.
8259         * configure: Regenerated.
8260         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8261         settings from configure.ac.
8262         * sysdeps/i386/preconfigure: New file.
8263         * sysdeps/s390/preconfigure: Likewise.
8264         * sysdeps/sh/preconfigure: Likewise.
8265         * sysdeps/sparc/preconfigure: Likewise.
8266
8267 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8268
8269         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8270         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8271         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8272         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8273         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8274         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8275         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8276         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8277         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8278         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8279         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8280         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8281         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8282         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8283         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8284         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8286         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8287         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8288
8289         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8290         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8291         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8292         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8293         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8294         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8295         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8296         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8297         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8298         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8299         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8300         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8301         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8302         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8303         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8304         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8305         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8306         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8307         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8308         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8309         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8310         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8312         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8314         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8315         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8316         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8319         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8320         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8321         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8322         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8323         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8324         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8325         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8326         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8327
8328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8329         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8331         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8333         Moved ...
8334         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8335         ... here.
8336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8337         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8339         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8341         Moved ...
8342         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8344         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8346         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8348         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8350         Moved ...
8351         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8353         Moved ...
8354         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8356         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8358         Moved ...
8359         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8361         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8363         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8365         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8367         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8369         Moved ...
8370         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8371         ... here.
8372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8373         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8375         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8377         Moved ...
8378         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8380         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8382         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8384         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8386         Moved ...
8387         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8389         Moved ...
8390         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8392         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8394         Moved ...
8395         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8397         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8399         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8400
8401 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8402
8403         * timezone/checktab.awk: Update from tzcode 2014e.
8404         * timezone/private.h: Likewise.
8405         * timezone/tzfile.h: Likewise.
8406         * timezone/zdump.c: Likewise.
8407         * timezone/zic.c: Likewise.
8408
8409         * sysdeps/unix/sysv/linux/kernel-features.h
8410         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8411         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8412         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8413         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8414         Remove conditional code.
8415
8416 2014-06-25  Will Newton  <will.newton@linaro.org>
8417
8418         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8419         (_dl_arm_cap_flags): Add HWCAP2 values.
8420         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8421         (_DL_HWCAP_COUNT): Increase to 37.
8422         (_DL_HWCAP_LAST): New define.
8423         (_DL_HWCAP2_LAST): New define.
8424         (_dl_procinfo): Add support for printing
8425         AT_HWCAP2 entries.
8426         (_dl_string_hwcap): Use _dl_hwcap_string.
8427
8428 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8429
8430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8431
8432 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8433
8434         * README: Do not mention ports directory.
8435
8436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8437         Remove macro.
8438         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8439         <kernel-features.h>.
8440         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8441         conditional variable definition.
8442         (__futimes): Update comment.
8443         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8444         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8445
8446         [BZ #16560]
8447         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8448         arguments close to 0.
8449         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8450         Likewise.
8451         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8452         Likewise.
8453         * math/auto-libm-test-in: Add more tests of exp10.
8454         * math/auto-libm-test-out: Regenerated.
8455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8456
8457         * sysdeps/unix/sysv/linux/kernel-features.h
8458         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8459         * sysdeps/unix/sysv/linux/readv.c: Do not include
8460         <kernel-features.h>.
8461         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8462         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8463         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8464         unconditional.
8465         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8466         conditional code.
8467         * sysdeps/unix/sysv/linux/writev.c: Do not include
8468         <kernel-features.h>.
8469         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8470         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8471         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8472         unconditional.
8473         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8474         conditional code.
8475
8476 2014-06-25  Will Newton  <will.newton@linaro.org>
8477
8478         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8479         comment changes throughout the file.  Remove checks
8480         for HAVE_*_H definitions that are not required.
8481         (__gen_tempname): Call abort if an unknown kind value is
8482         passed.
8483
8484 2014-06-25  Andreas Schwab  <schwab@suse.de>
8485
8486         [BZ #17086]
8487         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8488         scalbln, scalblnf, scalblnl in libc.
8489
8490 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8491
8492         [BZ #17086]
8493         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8494         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8495         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8496
8497 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8498
8499         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8500         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8501         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8502         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8503         Update #include.
8504         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8505         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8506         Update #include.
8507         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8508         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8509         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8510         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8511         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8512         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8513         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8514         * sysdeps/x86/bits/semaphore.h: ... here.
8515         * sysdeps/x86/nptl/elide.h: Moved ...
8516         * sysdeps/x86/elide.h: ... here.
8517         * sysdeps/x86_64/nptl/Implies: File removed.
8518         * sysdeps/i386/nptl/Implies: File removed.
8519
8520 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8521
8522         [BZ #16539]
8523         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8524         return the argument for normal arguments with exponent below -64.
8525         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8526         Likewise.
8527         * math/auto-libm-test-in: Add another test of expm1.
8528         * math/auto-libm-test-out: Regenerated.
8529
8530         [BZ #16287]
8531         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8532         calling __erfcl for arguments at least 16.
8533         * math/auto-libm-test-in: Add more tests of erf.
8534         * math/auto-libm-test-out: Regenerated.
8535
8536         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8537         individual architectures.
8538         * sysdeps/unix/sysv/linux/configure: Regenerated.
8539         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8540         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8541         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8542         (ldd_rewrite_script): Define variable.
8543         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8545         file.
8546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8547         generated file.
8548         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8549         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8550         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8551         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8552         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8553         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8554         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8555         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8556
8557 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8558
8559         [BZ #17084]
8560         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8561         Rename member __data.d to __data.__elision_data.
8562
8563 2014-06-24  Wilco  <wdijkstr@arm.com>
8564
8565         * NEWS: Add 16918 to fixed bug list.
8566
8567 2014-06-24  Wilco  <wdijkstr@arm.com>
8568
8569         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8570
8571 2014-06-24  Wilco  <wdijkstr@arm.com>
8572
8573         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8574         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8575         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8576         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8577         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8578         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8579         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8580         Use _FPU_MASK_RM.
8581
8582 2014-06-24  Wilco  <wdijkstr@arm.com>
8583
8584         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8585
8586 2014-06-24  Wilco  <wdijkstr@arm.com>
8587
8588         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8589         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8590         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8591         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8592
8593 2014-06-24  Wilco  <wdijkstr@arm.com>
8594
8595         [BZ #16918]
8596         * sysdeps/arm/feupdateenv.c (feupdateenv):
8597         Rewrite to reduce FPSCR accesses and fix return value.
8598
8599 2014-06-24  Wilco  <wdijkstr@arm.com>
8600
8601         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8602         Optimize to avoid unnecessary FPSCR writes.
8603         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8604         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8605         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8606         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8607
8608 2014-06-24  Wilco  <wdijkstr@arm.com>
8609
8610         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8611         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8612         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8613         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8614         Call libc_fetestexcept_vfp.
8615         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8616         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8617         __SOFTFP__ ifdef so that they can be built for softfp.
8618
8619 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8620
8621         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8622         argument type signed char.
8623
8624         * Makerules (check-abi): Dump diff of symlist if the test
8625         fails.
8626
8627 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8628
8629         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8630         using abort.
8631
8632         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8633         Remove unused variable ST.
8634
8635 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8636
8637         [BZ #16354]
8638         [BZ #17061]
8639         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8640         small arguments before calling __expm1.
8641         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8642         small arguments before calling __expm1f.
8643         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8644         small arguments before calling __expm1l.
8645         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8646         Likewise.
8647         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8648         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8649         spurious underflow for some cosh tests.
8650         * math/auto-libm-test-out: Regenerated.
8651         * sysdeps/i386/fpu/libm-test-ulps: Update.
8652
8653         [BZ #17050]
8654         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8655         (__ieee754_y1): Set errno if return value overflows.
8656         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8657         (__ieee754_y1f): Set errno if return value overflows.
8658         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8659         (__ieee754_y1l): Set errno if return value overflows.
8660         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8661         (__ieee754_y1l): Set errno if return value overflows.
8662         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8663         * math/auto-libm-test-out: Regenerated.
8664
8665         * math/gen-auto-libm-tests.c: Document use of
8666         ignore-zero-inf-sign.
8667         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8668         (input_flags): Add ignore-zero-inf-sign.
8669         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8670         * math/gen-libm-test.pl (generate_testfile): Handle
8671         ignore-zero-inf-sign.
8672         * math/auto-libm-test-in: Mark some cpow tests with
8673         ignore-zero-inf-sign and some with xfail-rounding.
8674         * math/auto-libm-test-out: Regenerated.
8675         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8676         * sysdeps/i386/fpu/libm-test-ulps: Update.
8677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8678
8679         [BZ #16315]
8680         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8681         overflowing or underflowing operations take place with sign of
8682         result.
8683         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8684         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8685         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8686         (__ieee754_pow): Recompute overflowing and underflowing results in
8687         original rounding mode.
8688         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8689         (__powl_helper): Allow negative argument X and scale negated value
8690         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8691         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8692         overflowing or underflowing operations take place with sign of
8693         result.
8694         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8695         Include <math.h>.
8696         * math/auto-libm-test-in: Add more tests of pow.
8697         * math/auto-libm-test-out: Regenerated.
8698         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8699         (pow_tonearest_test_data): Remove.
8700         (pow_test_tonearest): Likewise.
8701         (pow_towardzero_test_data): Likewise.
8702         (pow_test_towardzero): Likewise.
8703         (pow_downward_test_data): Likewise.
8704         (pow_test_downward): Likewise.
8705         (pow_upward_test_data): Likewise.
8706         (pow_test_upward): Likewise.
8707         (main): Don't call removed functions.
8708         * sysdeps/i386/fpu/libm-test-ulps: Update.
8709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710
8711 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8712
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8714         Moved ...
8715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8717         Moved ...
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8720         Moved ...
8721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8723         Moved ...
8724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8726         File removed.
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8728         File removed.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8730         File removed.
8731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8732         File removed.
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8734         File removed.
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8736         File removed.
8737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8738         File removed.
8739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8740         File removed.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8742         File removed.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8744         File removed.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8746         File removed.
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8748         File removed.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8750         Moved ...
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8753         Moved ...
8754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8755         ... here.
8756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8757         Moved ...
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8760         Moved ...
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8763         Moved ...
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8766         Moved ...
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8769         Moved ...
8770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8772         Moved ...
8773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8775         Moved ...
8776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8779         ... here.
8780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8781         Moved ...
8782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8784         Moved ...
8785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8786         ... here.
8787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8788         Moved ...
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8790         ... here.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8792         Moved ...
8793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8794         ... here.
8795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8796         Moved ...
8797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8799         Moved ...
8800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8804         Moved ...
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8806         ... here.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8808         Moved ...
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8810         ... here.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8812         Moved ...
8813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8815         Moved ...
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8818         Moved ...
8819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8821         Moved ...
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8824         Moved ...
8825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8826         ... here.
8827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8828         Moved ...
8829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8831         Moved ...
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8834         Moved ...
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8837         Moved ...
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8842         Moved ...
8843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8845         Moved ...
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8848         Moved ...
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8850         ... here.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8852         Moved ...
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8854         ... here.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8856         Moved ...
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8858         ... here.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8860         Moved ...
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8863         Moved ...
8864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8866         Moved ...
8867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8869         Moved ...
8870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8871         ... here.
8872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8873         Moved ...
8874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8875         ... here.
8876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8877         Moved ...
8878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8879         ... here.
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8881         Moved ...
8882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8884         Moved ...
8885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8886
8887 2014-06-23  Will Newton  <will.newton@linaro.org>
8888             Wilco  <wdijkstr@arm.com>
8889
8890         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8891         implementation.  Include get-rounding-mode.h.
8892         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8893         [!libc_feholdsetround_noex_ctx]: Define
8894         libc_feholdsetround_noex_ctx.
8895         [!libc_feholdsetround_noexf_ctx]: Define
8896         libc_feholdsetround_noexf_ctx.
8897         [!libc_feholdsetround_noexl_ctx]: Define
8898         libc_feholdsetround_noexl_ctx.
8899         (libc_feholdsetround_ctx): New function.
8900         (libc_feresetround_ctx): New function.
8901         (libc_feholdsetround_noex_ctx): New function.
8902         (libc_feresetround_noex_ctx): New function.
8903
8904 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8905
8906         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8907         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8908         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8909         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8910         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8911         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8912
8913         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8914         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8915         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8916         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8917         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8918         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8919         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8920         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8924         Moved ...
8925         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8926         ... here.
8927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8932         Moved ...
8933         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8934         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8935         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8937         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8939         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8941         Moved ...
8942         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8944         Moved ...
8945         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8949         Moved ...
8950         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8952         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8954         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8955         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8956         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8958         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8960         Moved ...
8961         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8962         ... here.
8963         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8964         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8965         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8966         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8967         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8968         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8969         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8970         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8972         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8973         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8974         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8976         Moved ...
8977         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8979         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8981         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8983         Moved ...
8984         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8985         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8986         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8987         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8988         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8989
8990         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8991         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8992         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8993         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8994         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8995         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8996         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8997         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8999         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9000         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9001         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9002         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9003         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9004         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9005         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9006         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9007         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9008         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9009         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9010         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9011         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9012         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9013         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9014         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9015         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9016         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9017         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9018
9019 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9020
9021         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9022         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9023         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9024         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9025         (IPV6_PMTUDISC_INTERFACE): Likewise.
9026         (IPV6_PMTUDISC_OMIT): Likewise.
9027
9028 2014-06-23  Andreas Schwab  <schwab@suse.de>
9029
9030         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9031         Remove unused errout label.
9032
9033 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9034
9035         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9036         macro: hardware supports Vector Crypto instructions.
9037
9038 2014-06-23  Will Newton  <will.newton@linaro.org>
9039
9040         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9041         rather than __builtin_expect.
9042
9043         * elf/dl-lookup.c (undefined_msg): Remove variable.
9044         (_dl_lookup_symbol_x): Replace undefined_msg with string
9045         literal.
9046
9047         * elf/dl-lookup.c (do_lookup_unique): New function.
9048         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9049         to a separate function.
9050
9051 2014-06-23  Andreas Schwab  <schwab@suse.de>
9052
9053         [BZ #17079]
9054         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9055         before reading the next line.
9056
9057 2014-06-23  Will Newton  <will.newton@linaro.org>
9058
9059         * test-skeleton.c (signal_handler): Use printf and %m
9060         rather than perror.  Use printf rather than fprintf to
9061         stderr.  Use puts rather than fputs to stderr.
9062         (main): Likewise.
9063
9064 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9065
9066         * nscd/nscd.c (thread_info_t): Remove typedef.
9067         (thread_info): Remove variable.
9068
9069 2014-06-21  Allan McRae  <allan@archlinux.org>
9070
9071         * NEWS: Mention CVE-2014-4043.
9072
9073 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9074
9075         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9076         * nptl/smp.h: ... here.
9077
9078         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9079
9080         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9081         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9082         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9083         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9084
9085         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9086         * nptl/stack-aliasing.h: New file.
9087         * sysdeps/i386/i686/stack-aliasing.h: New file.
9088         * sysdeps/i386/i686/nptl/Makefile: File removed.
9089         * sysdeps/x86_64/stack-aliasing.h: New file.
9090         * sysdeps/x86_64/nptl/Makefile
9091         (CFLAGS-pthread_create.c): Variable removed.
9092
9093         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9094         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9095         old file.
9096         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9097         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9098         old file.
9099
9100 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9101
9102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9103         (__ASSUME_SIGFRAME_V2): Remove macro.
9104         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9105         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9106         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9107         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9108         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9109         Declare as function.  Remove conditional macro definitions.
9110         (__default_rt_sa_restorer): Likewise.
9111         (__default_sa_restorer_v1): Remove declaration.
9112         (__default_sa_restorer_v2): Likewise.
9113         (__default_rt_sa_restorer_v1): Likewise.
9114         (__default_rt_sa_restorer_v2): Likewise.
9115         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9116         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9117         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9118
9119 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9120
9121         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9122         (libpthread-routines): Add sysdep.
9123         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9124         * sysdeps/unix/sysv/linux/sparc/Versions
9125         (libpthread: GLIBC_2.3.3): New version set.
9126         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9127         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9128         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9129         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9130         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9131         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9132         Moved ...
9133         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9134         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9135         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9136         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9137         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9138         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9139         * sysdeps/sparc/nptl/sem_init.c: ... here.
9140         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9141         * sysdeps/sparc/nptl/sem_post.c: ... here.
9142         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9143         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9145         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9146         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9147         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9148         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9149         (libpthread-routines): Add cpu_relax.
9150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9151         File removed.
9152         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9153         (librt: GLIBC_2.3.3): New version set.
9154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9155         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9156         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9157         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9160         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9162         Moved ...
9163         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9165         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9167         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9169         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9171         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9173         Moved ...
9174         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9175         Update #include.
9176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9177         Moved ...
9178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9179         Update #include.
9180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9181         Moved ...
9182         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9183         Update #include.
9184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9185         Moved ...
9186         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9187         Update #include.
9188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9189         Moved ...
9190         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9191         Update #include.
9192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9193         Moved ...
9194         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9195         Update #include.
9196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9197         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9201         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9203         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9205         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9207         Moved ...
9208         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9210         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9212         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9213
9214 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9215
9216         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9217         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9218         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9219         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9220         * nscd/nscd.c: Likewise.
9221         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9222         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9223         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9224         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9225
9226         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9227         <kernel-features.h>.
9228         (init_mq_netlink): Remove conditional have_sock_cloexec
9229         definitions.  Remove code conditional on have_sock_cloexec < 0.
9230         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9231         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9232         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9233         <kernel-features.h>.
9234         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9235         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9236
9237 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9238
9239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9240         Add tests for memset_chk and memset.
9241
9242         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9243         with AVX2_Usable.
9244
9245 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9246
9247         [BZ #16046]
9248         * elf/tst-dl-iter-static.c: New file.
9249         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9250
9251         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9252         error.
9253
9254 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9255
9256         * sysdeps/unix/sysv/linux/kernel-features.h
9257         (__ASSUME_F_GETOWN_EX): Remove macro.
9258         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9259         <kernel-features.h>.
9260         (miss_F_GETOWN_EX): Remove variable or macro.
9261         (do_fcntl): Do not check miss_F_GETOWN_EX.
9262         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9263
9264         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9265         Remove macro.
9266         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9267         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9268         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9269
9270         * sysdeps/unix/sysv/linux/kernel-features.h
9271         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9272         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9273         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9274         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9275
9276 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9277
9278         [BZ #17075]
9279         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9280         Fix calculation of the symbol's value.
9281         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9282         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9283         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9284         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9285         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9286         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9287         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9288         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9289         (modules-names): Add `tst-armtlsdescmod',
9290         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9291         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9292         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9293         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9294         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9295         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9296         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9297         ($(objpfx)tst-armtlsdescloc): New dependency.
9298         ($(objpfx)tst-armtlsdescextnow): Likewise.
9299         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9300         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9301         TLS scheme support.
9302         * sysdeps/arm/configure: Regenerate.
9303
9304 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9305
9306         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9307         (__atfct_seterrno_2): Likewise.
9308         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9309         <kernel-features.h>.
9310         (__ASSUME_ATFCTS): Do not undefine and redefine.
9311         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9312         (__have_atfcts): Remove conditional definition.
9313         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9314         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9315         unreachable if [__ASSUME_ATFCTS].
9316         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9317         not undefine and redefine.
9318         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9319         <kernel-features.h>.
9320         (faccessat) [__NR_faccessat]: Make code unconditional.
9321         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9322         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9323         <kernel-features.h>.
9324         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9325         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9326         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9327         <kernel-features.h>.
9328         (fchownat) [__NR_fchownat]: Make code unconditional.
9329         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9330         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9331         <kernel-features.h>.
9332         (futimesat) [__NR_futimesat]: Make code unconditional.
9333         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9334         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9335         <kernel-features.h>.
9336         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9337         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9338         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9339         <kernel-features.h>.
9340         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9341         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9342         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9343         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9344         <kernel-features.h>.
9345         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9346         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9347         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9348         <kernel-features.h>.
9349         (linkat) [__NR_linkat]: Make code unconditional.
9350         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9351         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9352         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9353         <kernel-features.h>.
9354         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9355         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9356         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9357         <kernel-features.h>.
9358         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9359         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9360         * sysdeps/unix/sysv/linux/openat.c: Do not include
9361         <kernel-features.h>.
9362         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9363         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9364         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9365         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9366         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9367         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9368         <kernel-features.h>.
9369         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9370         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9371         result of INLINE_SYSCALL directly, not via int variable.
9372         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9373         <kernel-features.h>.
9374         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9375         (renameat) [__NR_renameat]: Make code unconditional.
9376         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9377         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9378         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9379         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9380         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9381         (__ASSUME_ATFCTS): Do not undefine and redefine.
9382         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9383         <kernel-features.h>.
9384         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9385         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9386         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9387         <kernel-features.h>.
9388         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9389         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9390         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9391         (__ASSUME_ATFCTS): Do not undefine and redefine.
9392         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9393         <kernel-features.h>.
9394         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9395         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9396         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9397         <kernel-features.h>.
9398         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9399         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9400
9401 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9402
9403         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9404
9405 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9406
9407         [BZ #17069]
9408         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9409         constructed tree before returning error.
9410         * posix/bug-regexp36.c: Expand test case.
9411
9412 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9413
9414         [BZ #6803]
9415         * math/libm-test.inc (scalbln_test_date):
9416         Add errno expectations.
9417         * math/w_scalblnf.c: New File.
9418         Add wrapper which checks for setting errno to ERANGE.
9419         Add weak_alias for corresponding scalbln function.
9420         * math/w_scalbln.c: Likewise.
9421         * math/w_scalblnl.c: Likewise.
9422         * math/Makefile (libm-calls): Add w_scalbln.
9423         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9424         Remove weak_alias for corresponding scalbln function.
9425         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9426         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9427         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9429         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9430         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9431         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9432         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9433         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9434         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9435         Remove long_double_symbol for scalblnl function in libm, libc.
9436         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9437         Add wrapper which checks for setting errno to ERANGE.
9438         Add long_double_symbol for scalblnl function in libm, libc.
9439         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9440         Remove long_double_symbol for scalblnl in libm.
9441         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9442         Add wrapper which checks for setting errno to ERANGE.
9443         Add long_double_symbol for scalblnl function in libm.
9444         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9445         Do not use wrapper because of own implementation.
9446
9447 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9448
9449         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9450         3 bytes for __pad1 for x32.
9451         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9452
9453 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9454             H.J. Lu  <hongjiu.lu@intel.com>
9455
9456         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9457         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9458         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9459         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9460         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9461
9462 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9463
9464         [BZ #17069]
9465         * posix/regcomp.c (parse_expression): Deallocate partially
9466         constructed tree before returning error.
9467         * posix/Makefile.c (tests): Add bug-regex36.
9468         (generated): Add bug-regex36.mtrace.
9469         (tests-special): Add $(objpfx)bug-regex36-mem.out
9470         (bug-regex36-ENV): New variable.
9471         ($(objpfx)bug-regex36-mem.out): New rule.
9472         * posix/bug-regex36.c: New file.
9473
9474 2014-06-19  Will Newton  <will.newton@linaro.org>
9475
9476         * malloc/malloc.c (systrim): If extra is zero then return
9477         early.
9478
9479 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9480
9481         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9482
9483 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9484
9485         * sysdeps/aarch64/strchr.S: New file.
9486
9487 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9488
9489         [BZ #17022]
9490         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9491         from arguments -2 or below.
9492         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9493         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9494
9495 2014-06-18  Andreas Schwab  <schwab@suse.de>
9496
9497         [BZ #17062]
9498         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9499         of a bracket expr not to run off the end of the string.
9500         * posix/Makefile (tests): Add tst-fnmatch3.
9501         * posix/tst-fnmatch3.c: New file.
9502
9503 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9504
9505         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9506         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9507         [$(cross-compiling) = no]: Likewise.
9508         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9509         [$(cross-compiling) = no]: Likewise.
9510
9511 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9512
9513         [BZ #17031]
9514         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9515         double, adjusted for any remainder from the high double.
9516         * math/libm-test.inc (nearbyint): Add tests.
9517         (rint): Likewise.
9518
9519 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9520
9521         * nptl/sysdeps/powerpc/Makefile: Moved ...
9522         * sysdeps/powerpc/nptl/Makefile: ... here.
9523         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9524         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9525         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9526         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9527         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9528         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9529         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9530         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9531         * nptl/sysdeps/powerpc/tls.h: Moved ...
9532         * sysdeps/powerpc/nptl/tls.h: ... here.
9533
9534 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9535
9536         [BZ #16681]
9537         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9538         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9539         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9540         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9541         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9542         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9543         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9544         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9545         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9546
9547 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9548
9549         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9550
9551 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9552
9553         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9554         defined operator.
9555
9556         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9557         $TIMEOUTFACTOR.
9558
9559 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9560
9561         [BZ #17058]
9562         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9563         non-executed part of the test.
9564
9565 2014-06-16  Andreas Schwab  <schwab@suse.de>
9566
9567         * string/bits/string2.h (strdup, strndup): Update feature guard.
9568
9569 2014-06-14  David S. Miller  <davem@davemloft.net>
9570
9571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9572
9573 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9574
9575         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9576         that was previously under [RESET_PID].
9577         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9578
9579         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9580         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9581         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9582         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9583         (__libc_vfork): New strong alias.
9584         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9585
9586 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9587
9588         * sysdeps/generic/elide.h: New file.
9589
9590 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9591
9592         * Makefile (installed-headers): Adjust path of pthread.h header.
9593
9594 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9595
9596         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9597         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9598         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9599         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9600
9601         * nptl/sysdeps/s390/Makefile: Moved ...
9602         * sysdeps/s390/nptl/Makefile: ... here.
9603         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9604         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9605         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9606         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9607         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9608         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9609         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9610         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9611         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9612         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9613         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9614         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9615         * nptl/sysdeps/s390/tls.h: Moved ...
9616         * sysdeps/s390/nptl/tls.h: ... here.
9617
9618         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9619         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9620
9621 2014-06-13  David S. Miller  <davem@davemloft.net>
9622
9623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9626         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9630         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9631         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9632         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9633         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9634         Remove RESET_PID cpp guards.
9635         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9636         Remove RESET_PID cpp guards.
9637         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9638
9639 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9640
9641         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9642         __sp to uintptr_t.
9643
9644 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9645
9646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9647         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9648         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9649         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9651         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9652         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9654         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9655         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9659         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9662         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9663         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9664         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9665         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9666
9667         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9668         (pthread_rwlock_rdlock): Add elision.
9669         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9670         (pthread_rwlock_wrlock): Add elision.
9671         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9672         (pthread_rwlock_trywrlock): Add elision.
9673         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9674         (pthread_rwlock_tryrdlock): Add elision.
9675         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9676         (pthread_rwlock_tryrdlock): Add elision unlock.
9677         * nptl/sysdeps/pthread/pthread.h:
9678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9679         (PTHREAD_RWLOCK_INITIALIZER,
9680         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9681         Handle new elision field.
9682         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9683         * sysdeps/arm/nptl/bits/pthreadtypes.h
9684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9685         * sysdeps/sh/nptl/bits/pthreadtypes.h
9686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9687         * sysdeps/tile/nptl/bits/pthreadtypes.h
9688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9689         * sysdeps/a/nptl/bits/pthreadtypes.h
9690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9693         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9694         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9695         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9696         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9697         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9698         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9701         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9703         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9705         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9706         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9707         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9708         (elision_init): Set try_xbegin to zero when no RTM.
9709         * sysdeps/x86/nptl/bits/pthreadtypes.h
9710         (pthread_rwlock_t): Change __pad1 to __rwelision.
9711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9712
9713 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9714
9715         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9716         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9717         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9718         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9719
9720 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9721
9722         [BZ #16996]
9723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9724         that the cached result has been set before returning it.
9725
9726 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9727
9728         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9729         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9731         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9732         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9733         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9734
9735         * nptl/sysdeps/sparc/Makefile: Moved ...
9736         * sysdeps/sparc/nptl/Makefile: ... here.
9737         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9738         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9739         * nptl/sysdeps/sparc/tls.h: Moved ...
9740         * sysdeps/sparc/nptl/tls.h: ... here.
9741         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9742         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9743         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9744         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9745         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9746         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9747         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9748         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9749         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9750         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9751         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9752         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9753         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9754         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9755         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9756         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9757         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9759         Update #include.
9760         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9762         Update #include.
9763         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9765         Update #include.
9766         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9767         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9768         Update #include.
9769
9770         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9771
9772         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9773         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9774
9775         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9776         (struct list_links): Type removed.
9777         (struct thread_node, struct timer_node): Replace struct list_links
9778         with struct list_head.
9779         (list_unlink_ip): Likewise.
9780         * sysdeps/pthread/timer_routines.c
9781         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9782         (list_append, list_insbefore): Likewise.
9783         (list_init): Function removed.
9784         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9785         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9786         * sysdeps/pthread/Makefile: ... here, new file.
9787
9788         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9789         * sysdeps/nptl/Implies: ... here.
9790         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9791         * nptl/sysdeps/pthread/list.h: Moved ...
9792         * include/list.h: ... here.
9793         * nptl/sysdeps/pthread/createthread.c: Moved ...
9794         * nptl/createthread.c: ... here.
9795         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9796         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9797         * nptl/pt-longjmp.c: ... here.
9798         * nptl/sysdeps/pthread/Makefile: Moved ...
9799         * sysdeps/nptl/Makefile: ... here.
9800         * nptl/sysdeps/pthread/Subdirs: Moved ...
9801         * sysdeps/nptl/Subdirs: ... here.
9802         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9803         * sysdeps/nptl/aio_misc.h: ... here.
9804         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9805         * sysdeps/nptl/bits/libc-lock.h: ... here.
9806         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9807         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9808         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9809         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9810         * nptl/sysdeps/pthread/configure: Moved ...
9811         * sysdeps/nptl/configure: ... here.
9812         * nptl/sysdeps/pthread/configure.ac: Moved ...
9813         * sysdeps/nptl/configure.ac: ... here.
9814         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9815         * sysdeps/nptl/gai_misc.h: ... here.
9816         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9817         * sysdeps/nptl/librt-cancellation.c: ... here.
9818         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9819         * sysdeps/nptl/malloc-machine.h: ... here.
9820         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9821         * sysdeps/nptl/pthread-functions.h: ... here.
9822         * nptl/sysdeps/pthread/pthread.h: Moved ...
9823         * sysdeps/nptl/pthread.h: ... here.
9824         * nptl/sysdeps/pthread/setxid.h: Moved ...
9825         * sysdeps/nptl/setxid.h: ... here.
9826         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9827         * sysdeps/nptl/sigfillset.c: ... here.
9828         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9829         * sysdeps/nptl/tcb-offsets.h: ... here.
9830         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9831         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9832         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9833         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9834         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9835         * sysdeps/pthread/allocalim.h: ... here.
9836         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9837         * sysdeps/pthread/bits/sigthread.h: ... here.
9838         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9839         * sysdeps/pthread/flockfile.c: ... here.
9840         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9841         * sysdeps/pthread/ftrylockfile.c: ... here.
9842         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9843         * sysdeps/pthread/funlockfile.c: ... here.
9844         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9845         * sysdeps/pthread/posix-timer.h: ... here.
9846         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9847         * sysdeps/pthread/timer_create.c: ... here.
9848         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9849         * sysdeps/pthread/timer_delete.c: ... here.
9850         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9851         * sysdeps/pthread/timer_getoverr.c: ... here.
9852         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9853         * sysdeps/pthread/timer_gettime.c: ... here.
9854         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9855         * sysdeps/pthread/timer_routines.c: ... here.
9856         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9857         * sysdeps/pthread/timer_settime.c: ... here.
9858         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9859         * sysdeps/pthread/tst-timer.c: ... here.
9860         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9861         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9862
9863         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9864         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9865
9866         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9867         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9868         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9869         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9870         Update #include target.
9871         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9872         * sysdeps/i386/i686/nptl/Makefile: ... here.
9873         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9874         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9875         Update #include target.
9876         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9877         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9878         * nptl/sysdeps/i386/Makefile: Moved ...
9879         * sysdeps/i386/nptl/Makefile: ... here.
9880         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9881         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9882         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9883         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9884         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9885         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9886         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9887         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9888         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9889         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9890         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9891         * nptl/sysdeps/i386/tls.h: Moved ...
9892         * sysdeps/i386/nptl/tls.h: ... here.
9893
9894         * sysdeps/sh/Makefile [$(subdir) = csu]
9895         (gen-as-const-headers): Add tcb-offsets.sym.
9896         * nptl/sysdeps/sh/Makefile: File removed.
9897         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9898         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9899         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9900         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9901         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9902         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9903         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9904         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9905         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9906         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9907         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9908         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9909         * nptl/sysdeps/sh/tls.h: Moved ...
9910         * sysdeps/sh/nptl/tls.h: ... here.
9911         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9912         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9913         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9914         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9915         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9916         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9917         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9918         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9919         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9920         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9921         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9922         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9923         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9924         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9926         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9928         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9929         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9930         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9932         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9933         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9935         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9936         Moved ...
9937         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9939         Moved ...
9940         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9941         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9942         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9943         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9944         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9945         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9946         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9947         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9948         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9949         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9950         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9951         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9952         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9953         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9954         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9955         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9956         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9957         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9958         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9959
9960 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9961
9962         * posix/spawn_faction_addopen.c: Include string.h.
9963
9964 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9965
9966         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9967         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9968         * nptl/sysdeps/x86_64/Makefile: Moved ...
9969         * sysdeps/x86_64/nptl/Makefile: ... here.
9970         * nptl/sysdeps/x86_64/configure: Moved ...
9971         * sysdeps/x86_64/nptl/configure: ... here.
9972         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9973         * sysdeps/x86_64/nptl/configure.ac: ... here.
9974         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9975         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9976         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9977         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9978         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9979         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9980         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9981         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9982         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9983         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9984         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9985         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9986         * nptl/sysdeps/x86_64/tls.h: Moved ...
9987         * sysdeps/x86_64/nptl/tls.h: ... here.
9988         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9989         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9990         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9991         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9992
9993         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9994
9995 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9996
9997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9998
9999 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10000
10001         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10002         type.
10003         [POSIX] (off_t): Likewise.
10004         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10005         [POSIX] (S_ISBLK): Require macro.
10006         [POSIX] (S_ISCHR): Likewise.
10007         [POSIX] (S_ISDIR): Likewise.
10008         [POSIX] (S_ISFIFO): Likewise.
10009         [POSIX] (S_ISREG): Likewise.
10010         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10011         optional-macro.
10012         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10013         type.
10014         [POSIX] (time_t): Likewise.
10015         [POSIX] (timer_t): Likewise.
10016
10017 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10018
10019         [BZ #17048]
10020         * posix/spawn_int.h (struct __spawn_action): Make the path string
10021         non-const to support deallocation.
10022         * posix/spawn_faction_addopen.c
10023         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10024         * posix/spawn_faction_destroy.c
10025         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10026         path in all spawn_do_open actions.
10027         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10028         posix_spawn_file_actions_addopen.
10029
10030 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10031
10032         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10033         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10034         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10035         conditional code always true.
10036         (__libc_vfork): New alias.
10037
10038 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10039
10040         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10041         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10042
10043         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10044
10045         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10046         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10047
10048         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10049         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10050
10051         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10052         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10053
10054 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10055
10056         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10057         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10058         multiarch strcmp for PPC64.
10059         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10060         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10062         multiarch optimizations.
10063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10064         (__libc_ifunc_impl_list): Likewise.
10065
10066 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10067
10068         * benchtests/scripts/validate_benchout.py: New script.
10069         * benchtests/Makefile (bench-func): Call it.
10070         * benchtests/scripts/benchout.schema.json: New file.
10071
10072 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10073
10074         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10075         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10076         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10077         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10078         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10079         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10080         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10081         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10082         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10083         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10084         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10085         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10086         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10087         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10088         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10089         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10091         Moved ...
10092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10093         ... here.
10094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10095         Moved ...
10096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10098         Moved ...
10099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10100         ... here.
10101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10102         Moved ...
10103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10104         ... here.
10105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10106         Moved ...
10107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10109         Moved ...
10110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10111         ... here.
10112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10113         Moved ...
10114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10115         ... here.
10116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10117         Moved ...
10118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10120         Moved ...
10121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10122         ... here.
10123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10124         Moved ...
10125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10126         ... here.
10127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10128         Moved ...
10129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10130         ... here.
10131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10132         Moved ...
10133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10135         Moved ...
10136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10137         ... here.
10138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10139         Moved ...
10140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10141         ... here.
10142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10143         Moved ...
10144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10145         ... here.
10146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10147         Moved ...
10148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10150         Moved ...
10151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10152         ... here.
10153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10154         Moved ...
10155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10156         ... here.
10157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10158         Moved ...
10159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10161         Moved ...
10162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10163         ... here.
10164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10165         Moved ...
10166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10168         Moved ...
10169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10171         Moved ...
10172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10173         ... here.
10174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10175         Moved ...
10176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10177         ... here.
10178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10179         Moved ...
10180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10181         ... here.
10182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10183         Moved ...
10184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10186         Moved ...
10187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10188         ... here.
10189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10190         Moved ...
10191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10192         ... here.
10193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10194         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10195         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10196         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10198         Moved ...
10199         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10200         ... here.
10201         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10202         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10204         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10206         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10207         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10208         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10210         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10211         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10212         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10213         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10214         Moved ...
10215         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10217         Moved ...
10218         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10219         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10220         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10221         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10225         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10226         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10227         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10228         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10229         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10230
10231 2014-06-10  Wilco  <wdijkstr@arm.com>
10232
10233         * math/test-fenv-return.c: New file.
10234         * math/Makefile: Add new test test-fenv-return.
10235
10236 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10237
10238         [BZ #17042]
10239         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10240         when x - 1 is zero.
10241         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10242         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10243         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10244         0.0L for an argument of 1.0L.
10245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10246         Likewise.
10247         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10248         value when x - 1 is zero.
10249         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10250         * sysdeps/i386/fpu/libm-test-ulps: Update.
10251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252
10253 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10254
10255         [BZ #15119]
10256         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10257
10258 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10259
10260         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10261         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10262
10263 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10264
10265         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10266         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10267
10268         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10269         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10270
10271         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10272         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10273
10274         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10275         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10276
10277         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10278         if not already defined.
10279         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10280         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10281         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10282         (TLS_INIT_TP): Use it.
10283         (TLS_DEFINE_INIT_TP): New macro.
10284         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10285
10286 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10287
10288         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10289         constant.
10290         [POSIX] (IXANY): Likewise.
10291         [POSIX] (OLCUC): Likewise.
10292         [POSIX || POSIX2008] (CBAUD): Do not allow.
10293         [POSIX || POSIX2008] (DEFECHO): Likewise.
10294         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10295         [POSIX || POSIX2008] (ECHOKE): Likewise.
10296         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10297         [POSIX || POSIX2008] (EXTA): Likewise.
10298         [POSIX || POSIX2008] (EXTB): Likewise.
10299         [POSIX || POSIX2008] (FLUSHO): Likewise.
10300         [POSIX || POSIX2008] (LOBLK): Likewise.
10301         [POSIX || POSIX2008] (PENDIN): Likewise.
10302         [POSIX || POSIX2008] (SWTCH): Likewise.
10303         [POSIX || POSIX2008] (VDISCARD): Likewise.
10304         [POSIX || POSIX2008] (VDSUSP): Likewise.
10305         [POSIX || POSIX2008] (VLNEXT): Likewise.
10306         [POSIX || POSIX2008] (VREPRINT): Likewise.
10307         [POSIX || POSIX2008] (VSTATUS): Likewise.
10308         [POSIX || POSIX2008] (VWERASE): Likewise.
10309         (B*): Change to B[0123456789]*.
10310         * conform/data/time.h-data [POSIX || UNIX98]
10311         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10312         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10313         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10314         [POSIX] (tm_*): Do not allow.
10315
10316 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10317
10318         * Makefile (install): Don't set LANGUAGE.
10319         * Makefile.in (install): Likewise.
10320         * assert/Makefile (test-assert-ENV): Remove variable.
10321         (test-assert-perr-ENV): Likewise.
10322         * elf/Makefile (neededtest4-ENV): Likewise.
10323         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10324         [$(cross-compiling) = no]: Don't set LANGUAGE.
10325         * io/ftwtest-sh (LANG): Remove variable.
10326         * libio/Makefile (tst-widetext-ENV): Likewise.
10327         * manual/install.texi (Running make install): Don't refer to
10328         environment settings for make install.
10329         * INSTALL: Regenerated.
10330         * nptl/tst-tls6.sh: Don't set LANG.
10331         * posix/globtest.sh (LANG): Remove variable.
10332         * string/Makefile (tester-ENV): Likewise.
10333         (inl-tester-ENV): Likewise.
10334         (noinl-tester-ENV): Likewise.
10335         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10336         [$(cross-compiling) = no]: Don't set LANGUAGE.
10337         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10338         without explicit environment settings.
10339
10340 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10341
10342         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10343         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10344         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10345         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10346
10347 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10348
10349         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10350         other files in the crypt directory.
10351         * crypt/crypt.c: Remove duplicate includes.
10352         * crypt/crypt-entry.c: Likewise.
10353         * crypt/crypt_util.c: Likewise.
10354
10355 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10356
10357         * Makeconfig (run-program-env): New variable.
10358         (run-program-prefix-before-env): Likewise.
10359         (run-program-prefix-after-env): Likewise.
10360         (run-program-prefix): Define in terms of new variables.
10361         (built-program-cmd-before-env): New variable.
10362         (built-program-cmd-after-env): Likewise.
10363         (built-program-cmd): Define in terms of new variables.
10364         (test-program-prefix-before-env): New variable.
10365         (test-program-prefix-after-env): Likewise.
10366         (test-program-prefix): Define in terms of new variables.
10367         (test-program-cmd-before-env): New variable.
10368         (test-program-cmd-after-env): Likewise.
10369         (test-program-cmd): Define in terms of new variables.
10370         * Rules (make-test-out): Use $(run-program-env).
10371         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10372         (help): Do not mention environment variables.  Mention
10373         --timeoutfactor option.
10374         (timeoutfactor): New variable.
10375         (blacklist_exports): Remove function.
10376         (exports): Remove variable.
10377         (command): Do not include ${exports}.
10378         * manual/install.texi (Configuring and compiling): Do not mention
10379         test wrappers preserving environment variables.  Mention that last
10380         assignment to a variable must take precedence.
10381         * INSTALL: Regenerated.
10382         * benchtests/Makefile (run-bench): Use $(run-program-env).
10383         * catgets/Makefile ($(objpfx)test1.cat): Use
10384         $(built-program-cmd-before-env), $(run-program-env) and
10385         $(built-program-cmd-after-env).
10386         ($(objpfx)test2.cat): Do not specify environment variables
10387         explicitly.
10388         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10389         $(run-program-env) and $(built-program-cmd-after-env).
10390         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10391         $(run-program-env) and $(test-program-cmd-after-env).
10392         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10393         explicitly.
10394         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10395         run_program_env and test_program_cmd_after_env arguments.
10396         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10397         * elf/tst-pathopt.sh: Use run_program_env argument.
10398         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10399         $(test-wrapper-env) and $(run-program-env).
10400         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10401         run_program_env arguments.
10402         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10403         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10404         $(test-program-prefix-before-env), $(run-program-env) and
10405         $(test-program-prefix-after-env).
10406         ($(objpfx)tst-gettext2.out): Likewise.
10407         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10408         run_program_env and test_program_prefix_after_env arguments.
10409         * intl/tst-gettext2.sh: Likewise.
10410         * intl/tst-gettext4.sh: Do not set environment variables
10411         explicitly.
10412         * intl/tst-gettext6.sh: Likewise.
10413         * intl/tst-translit.sh: Likewise.
10414         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10415         $(test-program-prefix-before-env), $(run-program-env) and
10416         $(test-program-prefix-after-env).
10417         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10418         run_program_env and test_program_prefix_after_env arguments.
10419         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10420         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10421         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10422         explicitly with each use of ${test_wrapper_env}.
10423         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10424         $(test-program-prefix-before-env), $(run-program-env) and
10425         $(test-program-prefix-after-env).
10426         * posix/tst-getconf.sh: Do not set environment variables
10427         explicitly.
10428         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10429         run_program_env and test_program_prefix_after_env arguments.
10430         * stdio-common/tst-printf.sh: Do not set environment variables
10431         explicitly.
10432         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10433         $(test-program-prefix-before-env), $(run-program-env) and
10434         $(test-program-prefix-after-env).
10435         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10436         run_program_env and test_program_prefix_after_env arguments.
10437         Split $test calls into $test_pre and $test.
10438         * timezone/Makefile (build-testdata): Use
10439         $(built-program-cmd-before-env), $(run-program-env) and
10440         $(built-program-cmd-after-env).
10441
10442 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10443
10444         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10445         strlen for non SHARED builds.
10446
10447 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10448
10449         * nptl/allocatestack.c (check_list): Inlined function...
10450         (__reclaim_stacks): ... here.
10451
10452 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10453
10454         [BZ #15698]
10455         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10456         memory overrun.
10457
10458 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10459
10460         * Rules (make-test-out): Include
10461         LOCPATH=$(common-objpfx)localedata in default environment.
10462         * debug/Makefile (tst-chk1-ENV): Remove variable.
10463         (tst-chk2-ENV): Likewise.
10464         (tst-chk3-ENV): Likewise.
10465         (tst-chk4-ENV): Likewise.
10466         (tst-chk5-ENV): Likewise.
10467         (tst-chk6-ENV): Likewise.
10468         (tst-lfschk1-ENV): Likewise.
10469         (tst-lfschk2-ENV): Likewise.
10470         (tst-lfschk3-ENV): Likewise.
10471         (tst-lfschk4-ENV): Likewise.
10472         (tst-lfschk5-ENV): Likewise.
10473         (tst-lfschk6-ENV): Likewise.
10474         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10475         (tst-iconv7-ENV): Likewise.
10476         * intl/Makefile (LOCPATH-ENV): Likewise.
10477         (tst-codeset-ENV): Likewise.
10478         (tst-gettext3-ENV): Likewise.
10479         (tst-gettext5-ENV): Likewise.
10480         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10481         (tst-fopenloc-ENV): Likewise.
10482         (tst-fgetws-ENV): Remove variable.
10483         (tst-ungetwc1-ENV): Likewise.
10484         (tst-ungetwc2-ENV): Likewise.
10485         (bug-ungetwc2-ENV): Likewise.
10486         (tst-swscanf-ENV): Likewise.
10487         (bug-ftell-ENV): Likewise.
10488         (tst-fgetwc-ENV): Likewise.
10489         (tst-fseek-ENV): Likewise.
10490         (tst-ftell-partial-wide-ENV): Likewise.
10491         (tst-ftell-active-handler-ENV): Likewise.
10492         (tst-ftell-append-ENV): Likewise.
10493         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10494         (tst-regexloc-ENV): Likewise.
10495         (bug-regex1-ENV): Likewise.
10496         (tst-regex-ENV): Likewise.
10497         (tst-regex2-ENV): Likewise.
10498         (bug-regex5-ENV): Likewise.
10499         (bug-regex6-ENV): Likewise.
10500         (bug-regex17-ENV): Likewise.
10501         (bug-regex18-ENV): Likewise.
10502         (bug-regex19-ENV): Likewise.
10503         (bug-regex20-ENV): Likewise.
10504         (bug-regex22-ENV): Likewise.
10505         (bug-regex23-ENV): Likewise.
10506         (bug-regex25-ENV): Likewise.
10507         (bug-regex26-ENV): Likewise.
10508         (bug-regex30-ENV): Likewise.
10509         (bug-regex32-ENV): Likewise.
10510         (bug-regex33-ENV): Likewise.
10511         (bug-regex34-ENV): Likewise.
10512         (bug-regex35-ENV): Likewise.
10513         (tst-rxspencer-ENV): Likewise.
10514         (tst-rxspencer-no-utf8-ENV): Likewise.
10515         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10516         (tst-sscanf-ENV): Likewise.
10517         (tst-swprintf-ENV): Likewise.
10518         (tst-swscanf-ENV): Likewise.
10519         (test-vfprintf-ENV): Likewise.
10520         (scanf13-ENV): Likewise.
10521         (bug14-ENV): Likewise.
10522         (tst-grouping-ENV): Likewise.
10523         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10524         (tst-strtod3-ENV): Likewise.
10525         (tst-strtod4-ENV): Likewise.
10526         (tst-strtod5-ENV): Likewise.
10527         (testmb2-ENV): Likewise./
10528         * string/Makefile (tst-strxfrm-ENV): Likewise.
10529         (tst-strxfrm2-ENV): Likewise.
10530         (bug-strcoll1-ENV): Likewise.
10531         (test-strcasecmp-ENV): Likewise.
10532         (test-strncasecmp-ENV): Likewise.
10533         * time/Makefile (tst-strptime-ENV): Likewise.
10534         (tst-ftime_l-ENV): Likewise.
10535         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10536         (tst-mbrtowc-ENV): Likewise.
10537         (tst-wcrtomb-ENV): Likewise.
10538         (tst-mbrtowc2-ENV): Likewise.
10539         (tst-c16c32-1-ENV): Likewise.
10540         (tst-mbsnrtowcs-ENV): Likewise.
10541
10542 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10543
10544         * manual/resource.texi (How to get information about the memory
10545         subsystem?): Fix typo.
10546         Reported by Peon de la Parra Ivan <peon@keba.com>
10547
10548 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10549
10550         [BZ #16882]
10551         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10552         (pthread_spin_lock): Branch out of spin loop to proper location.
10553         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10554         (pthread_spin_lock): Likewise.
10555
10556         * nptl/tst-spin4.c: New test.
10557         * nptl/Makefile (tests): Add tst-spin4.
10558
10559 2014-06-03  Andreas Schwab  <schwab@suse.de>
10560
10561         [BZ #15946]
10562         * resolv/res_send.c (send_dg): Reload file descriptor after
10563         calling reopen.
10564
10565 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10566
10567         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10568
10569 2014-06-03  Richard Henderson  <rth@redhat.com>
10570
10571         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10572         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10573         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10574         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10575         in the SAVE_PID block.
10576         (__libc_vfork): New alias.
10577         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10578
10579         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10580         child in registers, not on the stack.  Remove RESET_PID conditionals.
10581         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10582
10583 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10584
10585         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10586
10587 2014-06-03  Wilco  <wdijkstr@arm.com>
10588
10589         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10590         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10591         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10592         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10593         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10594         Likewise.
10595
10596 2014-06-03  Wilco  <wdijkstr@arm.com>
10597
10598         * sysdeps/aarch64/fpu/math_private.h
10599         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10600         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10601         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10602         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10603         Fix declarations.
10604
10605 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10606
10607         * crypt/crypt-private.h: Include ufc-crypt.h.
10608         (__b64_from_24bit): Declare extern.
10609         * crypt/crypt_util.c(__b64_from_24bit): New function.
10610         (b64t): New static const variable.
10611         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10612         (b64t): Remove variable.
10613         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10614         * crypt/sha256-crypt.c: Include crypt-private.h.
10615         (b64t): Remove variable.
10616         (__sha256_crypt_r): Remove b64_from_24bit and replace
10617         with __b64_from_24bit.
10618         * crypt/sha512-crypt.c: Likewise.
10619
10620 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10621
10622         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10623         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10624         Label the code __libc_vfork rather than __vfork.
10625         [!NOT_IN_libc] (vfork): Define as weak alias.
10626         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10627         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10628         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10629
10630 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631
10632         * malloc/malloc.c (malloc_info): Fix format specifier for
10633         n_mmaps.
10634
10635 2014-06-02  Wilco  <wdijkstr@arm.com>
10636
10637         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10638         FPCR write.
10639
10640 2014-06-02  Wilco  <wdijkstr@arm.com>
10641
10642         [BZ #17009]
10643         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10644         Rewrite to reduce FPCR/FPSR accesses.
10645
10646 2014-06-01  David S. Miller  <davem@davemloft.net>
10647
10648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10649
10650 2014-05-31  David S. Miller  <davem@davemloft.net>
10651
10652         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10653         to occur in round to nearest mode when |x| >= 2.0
10654
10655 2014-05-30  Richard Henderson  <rth@twiddle.net>
10656
10657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10658         (PSEUDO_RET_NOERRNO): Remove.
10659         (ret): Don't redefine.
10660         (ret_NOERRNO): Define in terms of ret.
10661         (ret_ERRVAL): Likewise.
10662
10663         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10664         use of PSEUDO_RET; perform the error check directly.
10665
10666 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10667
10668         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10669         with __int128_t.
10670
10671 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10672
10673         * malloc/malloc (malloc_info): Fix formatting.
10674
10675 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676             Roland McGrath  <roland@hack.frob.com>
10677
10678         * malloc/malloc (malloc_info): Also print mmapped statistics.
10679
10680 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10681
10682         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10683         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10684
10685 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10686
10687         * malloc/malloc.c (malloc_info): Inline mi_arena.
10688
10689 2014-05-29  Richard Henderson  <rth@twiddle.net>
10690
10691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10692         Remove comma before expanding ASM_ARGS_##nr.
10693         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10694         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10695         of ASM_ARGS_##nr.
10696         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10697         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10698         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10699         (ASM_ARGS_1): Add leading comma.
10700
10701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10702         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10703         to __errno_location.
10704         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10705         Remove the expected plt for __errno_location.
10706
10707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10708         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10709         call to __read_tp.
10710
10711         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10712         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10713         it and break it down.
10714         (DOCARGS_0, DOCARGS_1): Do nothing.
10715         (DOCARGS_2): Update to store into the new stack frame.
10716         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10717         (UNDOCARGS_1): Update to restore from the new stack frame.
10718         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10719         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10720
10721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10722         (SINGLE_THREAD_P): New parameter for result regno.
10723         (PSEUDO): Update to match; use cbz instead of beq.
10724
10725         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10726         Use ENTRY to define the _nocancel entry point.  Share the syscall
10727         and syscall error check paths with the cancel path.
10728         (PSEUDO_END): New.
10729
10730         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10731         whitespace; tabs before and after asm mnemonics.
10732
10733 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10734
10735         [BZ #15132]
10736         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10737         Call fstat64 or stat64 internally, depending on arguments passed.
10738         Replace stat buffer argument with file descriptor argument.
10739         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10740         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10741         Pass fd to __internal_statvfs instead of calling fstat64.
10742         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10743         Pass fd to __internal_statvfs64 instead of calling fstat64.
10744         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10745         Pass -1 to __internal_statvfs instead of calling stat64.
10746         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10747         Pass -1 to __internal_statvfs64 instead of calling stat64.
10748
10749 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10750
10751         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10752         that was previously under [RESET_PID].
10753         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10754
10755         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10756         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10757
10758 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10759
10760         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10761
10762         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10763         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10764
10765 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10766
10767         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10768
10769 2014-05-27  Andreas Schwab  <schwab@suse.de>
10770
10771         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10772         TLS_INIT_TP macro.
10773         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10774         * elf/rtld.c (init_tls, dl_main): Likewise.
10775         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10776         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10777         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10778         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10779         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10780         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10781         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10782         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10783         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10784         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10785         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10786         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10787         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10788         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10789         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10790         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10791         * sysdeps/generic/tls.h: Update description.
10792
10793 2014-05-27  Will Newton  <will.newton@linaro.org>
10794
10795         [BZ #16990]
10796         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10797         and restore r2 rather than just restoring.
10798
10799 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10800
10801         [BZ #16724]
10802         * libio/tst-ftell-append.c: New test case.
10803         * libio/Makefile (tests): Add test case.
10804         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10805         append mode.
10806         * libio/wfileops.c (do_ftell_wide): Likewise.
10807
10808 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10809
10810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10811
10812         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10813         ...
10814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10816         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10817         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10818         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10819         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10820         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10826         Moved ...
10827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10828         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10829         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10830         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10831         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10832         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10833         ...
10834         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10835         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10836         Moved ...
10837         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10838         here.
10839         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10840         ...
10841         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10842         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10843         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10844
10845         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10846         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10847         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10848         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10849
10850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10851         merge into ...
10852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10853         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10854         ...
10855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10857         ...
10858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10860         Moved ...
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10862         here.
10863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10864         Moved ...
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10867         Moved ...
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10869
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10871         conditional [RESET_PID].
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10873         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10874         removed.
10875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10876         removed.
10877
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10879         <tcb-offsets.h>.
10880         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10881         (__libc_vfork): New strong alias.
10882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10883         removed.
10884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10885         Removed.
10886
10887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10888         <tcb-offsets.h>.
10889         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10890         (__libc_vfork): New strong alias.
10891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10892         removed.
10893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10894         removed.
10895
10896 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10897
10898         * malloc/malloc.c (mi_arena): New function.
10899         (malloc_info): Remove nested function mi_arena. Call non-nosted
10900         function mi_arena.
10901
10902 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10903
10904         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10905         by insrwi.
10906         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10907         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10908         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10909         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10910         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10911         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10912         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10913
10914 2014-05-26  Andreas Schwab  <schwab@suse.de>
10915
10916         [BZ #16984]
10917         * locale/programs/repertoire.c (repertoire_read): Add slash
10918         between I18NPATH element and file name.
10919         * locale/programs/locfile.c (locfile_read): Likewise.
10920
10921 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10922
10923         * nptl/pthread_mutexattr_settype.c
10924         (__pthread_mutexattr_settype):
10925         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10926
10927 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10928
10929         * nptl/tst-mutex5 (do_test):
10930         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10931
10932 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10933
10934         * benchtests/README: Document 'init' directive.
10935         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10936         BENCH_INIT.
10937         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10938         (parse_file): Recognize 'init' directive.
10939
10940 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10941
10942         [BZ #16796]
10943         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10944         alignment of struct pthread.
10945
10946 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10947
10948         [BZ #16878]
10949         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10950         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10951         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10952         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10953
10954 2014-05-25  Richard Henderson  <rth@twiddle.net>
10955
10956         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10957         (SINGLE_THREAD_P_PIC): Remove.
10958         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10959         (SINGLE_THREAD_P_PIC): Remove.
10960
10961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10962         branch to syscall error ...
10963         (PSEUDO): ... here.
10964         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10965         from __local_syscall_error to .Lsyscall_error.
10966         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10967         (SYSCALL_ERROR): Update label name.
10968
10969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10970         Do not use DOARGS/UNDOARGS.
10971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10972         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10973         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10974         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10975         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10976
10977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10978         block comment.
10979
10980         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10981         define if !NOT_IN_libc.
10982         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10983         define with non-default symbol versions.
10984
10985 2014-05-23  Richard Henderson  <rth@twiddle.net>
10986
10987         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10988         (vfork, __vfork): Define via compat_symbol.
10989
10990         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10991         [!HAVE_IFUNC] (vfork_compat): Remove.
10992         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10993
10994 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10995
10996         [BZ #16978]
10997         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10998         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10999         variable.
11000
11001 2014-05-23  Richard Henderson  <rth@twiddle.net>
11002
11003         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11004         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11005         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11006         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11007
11008         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11009         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11010         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11011         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11012         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11013         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11014         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11015         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11016         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11017         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11018         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11019         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11020         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11021         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11022         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11023         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11024         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11025         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11027         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11028         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11029         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11030         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11031         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11032         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11033         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11034         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11035         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11037         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11038         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11039         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11040         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11041         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11042         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11043         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11044         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11045         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11046         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11047         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11048         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11049         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11050         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11051         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11052         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11053         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11055         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11057         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11058         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11059         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11060         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11061         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11063         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11064
11065         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11066         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11067         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11068         before exiting on error.
11069         (__libc_vfork): New strong alias.
11070         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11071         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11072
11073         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11074         that was previously under [RESET_PID].
11075         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11076
11077         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11078
11079 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11080
11081         [BZ #16977]
11082         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11083         value when x - 1 is zero.
11084         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11085         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11086         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11087         0.0L for an argument of 1.0L.
11088         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11089         Likewise.
11090         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11091         value when x - 1 is zero.
11092         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11093         * sysdeps/i386/fpu/libm-test-ulps: Update.
11094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11095
11096 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11097
11098         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11099         alphasort and versionsort.
11100
11101 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11102
11103         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11104         macro.
11105         [copysignf]: Likewise.
11106
11107 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11108
11109         * crypt/md5-crypt.c: Fix formatting.
11110
11111 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11112
11113         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11114         (b64_from_24bit): New function.
11115
11116 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11117
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11119         libc_hidden_builtin_def to ifunc.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11121         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11122
11123 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11124
11125         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11126         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11127
11128 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11129
11130         * nscd/Depend (linuxthreads): Remove.
11131         (nptl): Add.
11132         * resolv/Depend (linuxthreads): Remove.
11133         * rt/Depend (linuxthreads): Remove.
11134
11135         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11136         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11137         $(common-objpfx)elf/.
11138         (link-libc-before-gnulib): Likewise.
11139         (elfobjdir): Remove variable.
11140         * Makefile (install): Use $(elf-objpfx) instead of
11141         $(common-objpfx)elf/.
11142         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11143         $(elfobjdir)/.
11144         (link-libc-deps): Likewise.
11145         ($(common-objpfx)libc.so): Likewise.
11146         ($(common-objpfx)linkobj/libc.so): Likewise.
11147         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11148         instead of $(common-objpfx)elf/.
11149         (symbolic-link-list): Likewise.
11150         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11151         [$(cross-compiling) = no]: Likewise.
11152         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11153         $(elfobjdir)/.
11154         (static-gnulib-arch): Likewise.
11155         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11156         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11157         $(common-objpfx)elf/.
11158
11159 2014-05-21  Richard Henderson  <rth@redhat.com>
11160
11161         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11162         (SINGLE_THREAD_P): Use the correct width load.  Fold
11163         into the ldr offset.
11164
11165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11166         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11167
11168 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11169
11170         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11171         (libgcc_s_resume): Use __attribute_used__.
11172         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11173         Likewise.
11174
11175 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11176
11177         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11178         optimization when used with float constants.
11179
11180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11181
11182 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11183
11184         [BZ #16915]
11185         * locale/nl_langinfo_l.c: Make direct reference to every
11186         _nl_current_CATEGORY symbol.
11187         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11188         (tests-static): Add tst-langinfo-static.
11189         (tests-special): Add tst-langinfo-static.out.
11190         ($(objpfx)tst-langinfo.out): Redirect output.
11191         ($(objpfx)tst-langinfo-static.out): New.
11192         * localedata/tst-langinfo.sh: Send output to stdout.
11193         * localedata/tst-langinfo-static.c: New file.
11194
11195         [BZ #16965]
11196         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11197         when the shift amount is modulo the limb size.
11198
11199 2014-05-20  Richard Henderson  <rth@redhat.com>
11200
11201         [BZ #16967]
11202         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11203         Change type of sa_flags from unsigned int to int.
11204
11205         [BZ #16966]
11206         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11207
11208         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11209
11210 2014-05-20  Will Newton  <will.newton@linaro.org>
11211
11212         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11213         Test the return value of the system call in the nocancel case.
11214
11215 2014-05-20  Will Newton  <will.newton@linaro.org>
11216             Yvan Roux  <yvan.roux@linaro.org>
11217
11218         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11219         #include of asm/ptrace.h.
11220         (PTRACE_GET_THREAD_AREA): Remove #undef.
11221         (PTRACE_GETHBPREGS): Likewise.
11222         (PTRACE_SETHBPREGS): Likewise.
11223         (struct user_regs_struct): New structure.
11224         (struct user_fpsimd_struct): New structure.
11225         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11226         #include of asm/ptrace.h and second #include of sys/user.h.
11227         (PTRACE_GET_THREAD_AREA): Remove #undef.
11228         (PTRACE_GETHBPREGS): Likewise.
11229         (PTRACE_SETHBPREGS): Likewise.
11230         (ELF_NGREG): Use new struct user_regs_struct.
11231         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11232
11233 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11234
11235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11237
11238 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11239
11240         [BZ #16958]
11241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11242         membar to avoid block loads/stores to overlap previous stores.
11243
11244 2014-05-17  Richard Henderson  <rth@redhat.com>
11245
11246         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11247         Create the __##syscall_name##_nocancel entry point.
11248         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11249         Remove; let the sysdep-cancel.h code create it.
11250
11251 2014-05-17  David S. Miller  <davem@davemloft.net>
11252
11253         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11254         Protect with __USE_GNU.
11255         (TIOCSET_TEMPT): Likewise.
11256         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11257         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11258         these are already provided in bits/ioctl-types.h
11259
11260 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11261
11262         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11263         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11264
11265         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11266         Use wait4 regardless of [__NR_waitpid].
11267
11268 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11269
11270         PR libgcc/60166
11271         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11272         (_FP_NANSIGN_Q): Set the quiet bit.
11273
11274 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11275
11276         * benchtests/Makefile
11277         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11278         not $(common-objpfx)math/libm.so.
11279         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11280         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11281         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11282         $(common-objpfx)dlfcn/libdl.so.
11283         ($(objpfx)tst-audit8): Depend on $(libm), not
11284         $(common-objpfx)math/libm.so.
11285         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11286         not $(common-objpfx)dlfcn/libdl.so.
11287         * math/Makefile
11288         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11289         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11290         [$(build-shared) = yes].
11291         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11292         $(common-objpfx)nptl/libpthread.so.
11293         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11294         $(common-objpfx)math/libm.so$(libm.so-version) or
11295         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11296         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11297         $(common-objpfx)dlfcn/libdl.so.
11298         * setjmp/Makefile (link-libm): Remove variable.
11299         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11300         * stdio-common/Makefile (link-libm): Remove variable.
11301         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11302         * stdlib/Makefile (link-libm): Remove variable.
11303         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11304         ($(objpfx)tst-strtod-round): Likewise.
11305         ($(objpfx)tst-tininess): Likewise.
11306         ($(objpfx)tst-strtod-underflow): Likewise.
11307         ($(objpfx)tst-strtod6): Likewise.
11308         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11309         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11310         $(common-objpfx)dlfcn/libdl.so.
11311
11312 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11313
11314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11315         BSD terminal modes definitions.
11316
11317 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11318
11319         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11320         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11321
11322         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11323         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11324         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11325         Don't do #include_next.
11326         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11327         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11328         Don't do #include_next.
11329         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11330         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11331         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11332         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11333
11334 2014-05-16  Allan McRae  <allan@archlinux.org>
11335
11336         * po/sv.po: Update Swedish translation from translation project.
11337
11338         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11339         in sed expression.
11340
11341 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11342
11343         [BZ #16917]
11344         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11345         errno if the TIOCGPTN ioctl fails with an error different than
11346         EINVAL.
11347         * login/tst-ptsname.c: New file.
11348         * login/Makefile (tests): Add tst-ptsname.
11349
11350         [BZ #16943]
11351         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11352         and prlimit64.
11353
11354 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11355
11356         [BZ #16849]
11357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11358         herrno to return EAI_AGAIN.
11359
11360 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11361
11362         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11363         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11364         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11365         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11366         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11367         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11368         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11369         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11370         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11373         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11374         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11375         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11376         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11377         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11378         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11379         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11380         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11381         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11382         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11383         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11384         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11385         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11386         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11387         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11388         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11389         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11390         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11391         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11393         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11395         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11397         Moved ...
11398         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11400         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11402         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11404         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11406         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11408         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11410         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11412         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11414         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11416         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11418         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11420         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11422         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11424         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11426         Moved ...
11427         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11429         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11431         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11433         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11435         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11437         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11439         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11441         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11443         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11445         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11447         Moved ...
11448         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11450         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11451
11452         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11453         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11454         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11455         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11456         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11457         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11458         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11459         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11460         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11461         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11462         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11463         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11464         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11465         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11466         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11467         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11468         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11469         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11470         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11471         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11472         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11473         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11474         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11475         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11476         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11477         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11478         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11479         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11480         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11481         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11482         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11483
11484         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11485         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11486
11487         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11488         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11489         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11490         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11491         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11493         Moved ...
11494         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11496         Moved ...
11497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11498         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11499         Moved ...
11500         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11502         Moved ...
11503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11504         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11505         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11506         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11507         Moved ...
11508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11509         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11510         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11512         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11513         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11514         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11516         Moved ...
11517         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11518         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11519         Moved ...
11520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11521         ... here.
11522         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11523         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11524         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11525         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11526         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11527         Moved ...
11528         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11529         ... here.
11530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11531         Moved ...
11532         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11533         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11534         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11535         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11536         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11538         Moved ...
11539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11541         Moved ...
11542         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11543         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11544         Moved ...
11545         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11547         Moved ...
11548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11549         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11550         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11551         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11552         Moved ...
11553         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11554         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11555         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11557         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11558         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11559         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11561         Moved ...
11562         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11563         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11564         Moved ...
11565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11566         ... here.
11567         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11568         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11569         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11570         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11571         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11572         Moved ...
11573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11574         ... here.
11575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11576         Moved ...
11577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11578         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11579         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11580         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11581         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11582         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11584         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11585         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11587         Moved ...
11588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11590         Moved ...
11591         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11593         Moved ...
11594         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11596         Moved ...
11597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11598         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11599         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11600         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11601         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11602         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11603         Moved ...
11604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11605         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11606         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11607         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11608         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11609         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11610         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11612         Moved ...
11613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11614         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11615         Moved ...
11616         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11617         ... here.
11618         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11619         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11621         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11623         Moved ...
11624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11625         ... here.
11626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11627         Moved ...
11628         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11629         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11630         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11631         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11632         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11633         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11634         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11635         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11636         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11637         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11638         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11639
11640         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11641         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11642
11643         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11644         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11645
11646         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11647         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11648         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11649         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11650         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11651         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11652         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11653         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11654         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11655         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11656         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11657         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11658         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11659         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11660         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11662         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11664         Moved ...
11665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11669         Moved ...
11670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11672         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11674         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11678         Moved ...
11679         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11681         Moved ...
11682         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11688         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11689         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11690         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11691         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11692         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11693         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11694         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11695         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11696         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11697         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11698         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11699
11700         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11701         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11702         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11703         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11704         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11705
11706         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11707         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11708         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11709         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11710         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11711         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11712         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11713         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11714         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11715         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11716
11717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11719
11720         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11721         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11722         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11723         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11724         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11725         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11726         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11727         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11728         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11729         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11730         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11731         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11732         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11733         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11735         Update #include.
11736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11737         Likewise.
11738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11739         Likewise.
11740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11741         Likewise.
11742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11743         Likewise.
11744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11745         Likewise.
11746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11747         Likewise.
11748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11749         Likewise.
11750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11751         Likewise.
11752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11753         Likewise.
11754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11760         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11762         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11766         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11768         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11769
11770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11771         that was previously under [RESET_PID].
11772         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11773         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11774         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11775
11776         * sysdeps/i386/nptl/Implies: New file.
11777         * sysdeps/x86_64/nptl/Implies: New file.
11778         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11779         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11780         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11781         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11782
11783         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11784         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11785         (__libc_vfork): New strong alias.
11786         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11787         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11788
11789         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11790         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11791         (__libc_vfork): New strong alias.
11792         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11793         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11794
11795         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11796         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11797         (__libc_vfork): New strong alias.
11798         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11799         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11800         * nptl/pt-vfork.c: New file.
11801         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11802         (libpthread: GLIBC_2.20): New version set (empty).
11803
11804 2014-05-14  Will Newton  <will.newton@linaro.org>
11805
11806         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11807         rather than #if.
11808
11809 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11810
11811         [BZ #16564]
11812         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11813         arguments with exponent 65 or above.
11814         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11815         arguments 0x1p113L or above.
11816         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11817         to arguments 0x1p107L or above.
11818         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11819         positive arguments with exponent 65 or above.
11820         * math/auto-libm-test-in: Add more tests of log1p.
11821         * math/auto-libm-test-out: Regenerated.
11822
11823         [BZ #16928]
11824         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11825         non-finite arguments is +0.
11826         * math/s_cacosf.c (__cacosf): Likewise.
11827         * math/s_cacosl.c (__cacosl): Likewise.
11828         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11829         * sysdeps/i386/fpu/libm-test-ulps: Update.
11830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831
11832         [BZ #16927]
11833         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11834         value.
11835         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11836         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11837         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11838         for explicit high bit of mantissa when testing for argument equal
11839         to 1.
11840         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11841         * sysdeps/i386/fpu/libm-test-ulps: Update.
11842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11843
11844         [BZ #16516]
11845         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11846         (__erf): Scale by 16 instead of 8 in potentially underflowing
11847         case.  Ensure exception if result actually underflows.
11848         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11849         (__erff): Scale by 16 instead of 8 in potentially underflowing
11850         case.  Ensure exception if result actually underflows.
11851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11852         (efx8): Remove variable.
11853         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11854         case.  Ensure exception if result actually underflows.
11855         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11856         (efx8): Remove variable.
11857         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11858         case.  Ensure exception if result actually underflows.
11859         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11860         (efx8): Remove variable.
11861         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11862         case.  Ensure exception if result actually underflows.
11863         * math/auto-libm-test-in: Add more tests of erf.
11864         * math/auto-libm-test-out: Regenerated.
11865
11866 2014-05-14  Andreas Schwab  <schwab@suse.de>
11867
11868         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11869         Remove code conditionalized on USE___THREAD.
11870
11871         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11872         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11873         not definedness.
11874
11875 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11876
11877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11878         Define unconditionally.
11879         (__ASSUME_O_CLOEXEC): Likewise.
11880         (__ASSUME_SOCK_CLOEXEC): Likewise.
11881         (__ASSUME_IN_NONBLOCK): Likewise.
11882         (__ASSUME_PIPE2): Likewise.
11883         (__ASSUME_EVENTFD2): Likewise.
11884         (__ASSUME_SIGNALFD4): Likewise.
11885         (__ASSUME_DUP3): Likewise.
11886         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11887         (__ASSUME_DUP3): Do not define.
11888         (__ASSUME_EVENTFD2): Likewise.
11889         (__ASSUME_IN_NONBLOCK): Likewise.
11890         (__ASSUME_O_CLOEXEC): Likewise.
11891         (__ASSUME_PIPE2): Likewise.
11892         (__ASSUME_SIGNALFD4): Likewise.
11893         (__ASSUME_SOCK_CLOEXEC): Likewise.
11894         (__ASSUME_UTIMES): Undefine.
11895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11896         (__ASSUME_UTIMES): Do not define.
11897         (__ASSUME_O_CLOEXEC): Likewise.
11898         (__ASSUME_SOCK_CLOEXEC): Likewise.
11899         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11900         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11901         0x020621].
11902         (__ASSUME_PIPE2): Likewise.
11903         (__ASSUME_EVENTFD2): Likewise.
11904         (__ASSUME_SIGNALFD4): Likewise.
11905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11906         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11907         Do not define.
11908         (__ASSUME_EVENTFD2): Likewise.
11909         (__ASSUME_SIGNALFD4): Likewise.
11910         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11911         (__ASSUME_32BITUIDS): Likewise.
11912         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11913         (__ASSUME_IPC64): Likewise.
11914         (__ASSUME_ST_INO_64_BIT): Likewise.
11915         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11916         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11917         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11918         (__ASSUME_UTIMES): Do not define.
11919         (__ASSUME_PSELECT): Likewise.
11920         (__ASSUME_PPOLL): Likewise.
11921         (__ASSUME_O_CLOEXEC): Likewise.
11922         (__ASSUME_SOCK_CLOEXEC): Likewise.
11923         (__ASSUME_IN_NONBLOCK): Likewise.
11924         (__ASSUME_PIPE2): Likewise.
11925         (__ASSUME_EVENTFD2): Likewise.
11926         (__ASSUME_SIGNALFD4): Likewise.
11927         (__ASSUME_DUP3): Likewise.
11928         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11929         (__ASSUME_UTIMES): Likewise.
11930         (__ASSUME_O_CLOEXEC): Likewise.
11931         (__ASSUME_SOCK_CLOEXEC): Likewise.
11932         (__ASSUME_IN_NONBLOCK): Likewise.
11933         (__ASSUME_PIPE2): Likewise.
11934         (__ASSUME_EVENTFD2): Likewise.
11935         (__ASSUME_SIGNALFD4): Likewise.
11936         (__ASSUME_DUP3): Likewise.
11937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11938         (__ASSUME_UTIMES): Likewise.
11939         (__ASSUME_O_CLOEXEC): Likewise.
11940         (__ASSUME_SOCK_CLOEXEC): Likewise.
11941         (__ASSUME_IN_NONBLOCK): Likewise.
11942         (__ASSUME_PIPE2): Likewise.
11943         (__ASSUME_EVENTFD2): Likewise.
11944         (__ASSUME_SIGNALFD4): Likewise.
11945         (__ASSUME_DUP3): Likewise.
11946         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11947         Likewise.
11948         (__ASSUME_UTIMES): Likewise.
11949         (__ASSUME_EVENTFD2): Likewise.
11950         (__ASSUME_SIGNALFD4): Likewise.
11951         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11952         (__ASSUME_O_CLOEXEC): Likewise.
11953         (__ASSUME_SOCK_CLOEXEC): Likewise.
11954         (__ASSUME_IN_NONBLOCK): Likewise.
11955         (__ASSUME_PIPE2): Likewise.
11956         (__ASSUME_EVENTFD2): Likewise.
11957         (__ASSUME_SIGNALFD4): Likewise.
11958         (__ASSUME_DUP3): Likewise.
11959         (__ASSUME_UTIMES): Undefine.
11960
11961         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11962         feclearexcept.  Remove symbol versioning code.
11963         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11964         symbol versioning code.
11965         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11966         symbol versioning code.
11967         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11968         feupdateenv.  Remove symbol versioning code.
11969         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11970         fegetexceptflag.  Remove symbol versioning code.
11971         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11972         fesetexceptflag.  Remove symbol versioning code.
11973         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11974         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11975         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11976         (__posix_fadvise64_l32): Remove prototype.
11977         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11978         code.
11979
11980 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11981
11982         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11983         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11984         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11985         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11986
11987 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11988
11989         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11990         current working directory
11991
11992 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11993
11994         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11995         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11996         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11997         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11998         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11999         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12000         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12001         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12002         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12003         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12004         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12005         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12006         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12007         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12008         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12009         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12010         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12011         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12012         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12013         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12014         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12015         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12016         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12017         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12018         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12019         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12020         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12021         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12022         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12023         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12024         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12025         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12026         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12027         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12028         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12029         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12030         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12031         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12032         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12033         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12034         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12035         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12036
12037         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12038         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12039
12040         * sysdeps/unix/sysv/linux/arm/Makefile
12041         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12042         Add rt-aeabi_unwind_cpp_pr1.
12043         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12044         Add nptl-aeabi_unwind_cpp_pr1.
12045         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12046         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12047         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12048         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12049         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12050         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12051
12052         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12053         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12054         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12055         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12056
12057         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12058         Deconditionalize the code that was previously under [RESET_PID].
12059         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12060
12061         * sysdeps/generic/exit-thread.h: New file.
12062         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12063         * include/unistd.h (__exit_thread): Remove declaration.
12064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12065         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12066         * csu/libc-start.c: Include <exit-thread.h>.
12067         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12068         * nptl/pthread_create.c: Include <exit-thread.h>.
12069         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12070         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12071         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12072         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12073         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12074         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12075         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12076         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12077         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12078         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12079         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12080         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12081         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12082         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12083         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12084         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12085         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12086
12087 2014-05-13  Andreas Schwab  <schwab@suse.de>
12088
12089         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12090
12091 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12092
12093         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12094         (__ASSUME_UTIMES): Do not condition on kernel version.
12095         (__ASSUME_PSELECT): Define unconditionally.
12096         (__ASSUME_PPOLL): Likewise.
12097         (__ASSUME_ATFCTS): Likewise.
12098         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12099         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12100         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12101         (__ASSUME_UTIMENSAT): Define unconditionally.
12102         (__ASSUME_PRIVATE_FUTEX): Likewise.
12103         (__ASSUME_FALLOCATE): Likewise.
12104         (__ASSUME_O_CLOEXEC): Likewise.
12105         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12106         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12107         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12108         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12109         (__ASSUME_IN_NONBLOCK): Likewise.
12110         (__ASSUME_PIPE2): Likewise.
12111         (__ASSUME_EVENTFD2): Likewise.
12112         (__ASSUME_SIGNALFD4): Likewise.
12113         (__ASSUME_DUP3): Likewise.
12114         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12115         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12116         (__ASSUME_AT_RANDOM): Likewise.
12117         (__ASSUME_PREADV): Likewise.
12118         (__ASSUME_PWRITEV): Likewise.
12119         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12120         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12121         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12122         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12123         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12124         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12125         (__ASSUME_O_CLOEXEC): Define unconditionally.
12126         (__ASSUME_PSELECT): Do not undefine conditionally.
12127         (__ASSUME_PPOLL): Likewise.
12128         (__ASSUME_ATFCTS): Likewise.
12129         (__ASSUME_SET_ROBUST_LIST): Likewise.
12130         (__ASSUME_UTIMENSAT): Likewise.
12131         (__ASSUME_FDATASYNC): Define unconditionally.
12132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12133         (__ASSUME_SIGFRAME_V2): Likewise.
12134         )__ASSUME_EVENTFD2): Likewise.
12135         (__ASSUME_SIGNALFD4): Likewise.
12136         (__ASSUME_PSELECT): Do not undefine conditionally.
12137         (__ASSUME_PPOLL): Likewise.
12138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12139         (__ASSUME_PSELECT): Define unconditionally.
12140         (__ASSUME_PPOLL): Likewise.
12141         (__ASSUME_O_CLOEXEC): Likewise.
12142         (__ASSUME_SOCK_CLOEXEC): Likewise.
12143         (__ASSUME_IN_NONBLOCK): Likewise.
12144         (__ASSUME_PIPE2): Likewise.
12145         (__ASSUME_EVENTFD2): Likewise.
12146         (__ASSUME_SIGNALFD4): Likewise.
12147         (__ASSUME_DUP3): Likewise.
12148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12149         (__ASSUME_O_CLOEXEC): Likewise.
12150         (__ASSUME_SOCK_CLOEXEC): Likewise.
12151         (__ASSUME_IN_NONBLOCK): Likewise.
12152         (__ASSUME_PIPE2): Likewise.
12153         (__ASSUME_EVENTFD2): Likewise.
12154         (__ASSUME_SIGNALFD4): Likewise.
12155         (__ASSUME_DUP3): Likewise.
12156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12157         (__ASSUME_EVENTFD2): Likewise.
12158         (__ASSUME_SIGNALFD4): Likewise.
12159         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12160
12161 2014-05-12  Andreas Schwab  <schwab@suse.de>
12162
12163         [BZ #16932]
12164         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12165         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12166         than maximum RPC packet size.
12167         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12168         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12169         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12170         (_nss_nis_getservbyport_r): Likewise.
12171
12172 2014-05-12  Will Newton  <will.newton@linaro.org>
12173
12174         * malloc/Makefile (tests): Add tst-mallopt.
12175         * malloc/tst-mallopt.c: New file.
12176
12177 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12178
12179         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12180         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12181
12182 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12183
12184         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12185         (tst-tlsmod6.so): Likewise.
12186
12187 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12188
12189         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12190
12191 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12192
12193         [BZ #16064]
12194         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12195         and <dl-procinfo.h>.
12196         (__fegetenv): Save SSE state in envp->__eip if supported.
12197         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12198         envp->__eip if supported.
12199         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12200         and <dl-procinfo.h>.
12201         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12202         __data_offset and __data_selector in environment to 0.  Set SSE
12203         state if supported.
12204         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12205         test-fenv-sse.
12206         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12207         -mfpmath=sse.
12208         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12209
12210 2014-05-09  Will Newton  <will.newton@linaro.org>
12211
12212         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12213         and libc_relro_required for ARM.
12214         * sysdeps/arm/preconfigure: Regenerate.
12215
12216 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12217             Stefan Liebler  <stli@linux.vnet.ibm.com>
12218
12219         * config.make.in (enable-lock-elision): New Makefile variable.
12220         * configure.ac: Likewise.
12221         * configure: Regenerate.
12222         * sysdeps/s390/configure.ac:
12223         Add check for gcc transactions support.
12224         * sysdeps/s390/configure: Regenerate.
12225         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12226         Build elision files if enabled.
12227         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12228         Add lock elision support for s390.
12229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12230         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12231         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12232         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12233         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12234         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12236         Likewise.
12237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12238         Likewise.
12239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12240         Likewise.
12241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12242         Likewise.
12243         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12244         (__lll_timedlock_elision, __lll_lock_elision)
12245         (__lll_unlock_elision, __lll_trylock_elision)
12246         (lll_timedlock_elision, lll_lock_elision)
12247         (lll_unlock_elision, lll_trylock_elision): Add.
12248         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12249         (pthread_mutex_t): Add lock elision support for s390.
12250
12251 2014-05-14  Wilco  <wdijkstr@arm.com>
12252
12253         * sysdeps/arm/fclrexcpt.c: Cleanup.
12254         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12255         * sysdeps/arm/feenablxcpt.c: Cleanup.
12256         * sysdeps/arm/fegetenv.c: Cleanup.
12257         * sysdeps/arm/fegetexcept.c: Cleanup.
12258         * sysdeps/arm/fegetround.c: Cleanup.
12259         * sysdeps/arm/feholdexcpt.c: Cleanup.
12260         * sysdeps/arm/fesetenv.c: Cleanup.
12261         * sysdeps/arm/fesetround.c: Cleanup.
12262         * sysdeps/arm/feupdateenv.c: Cleanup.
12263         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12264         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12265         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12266         * sysdeps/arm/ftestexcept.c: Cleanup.
12267         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12268         * sysdeps/arm/setfpucw.c: Cleanup.
12269
12270 2014-05-09  Will Newton  <will.newton@linaro.org>
12271
12272         * sysdeps/arm/armv7/strcmp.S: New file.
12273         * NEWS: Mention addition of ARMv7 optimized strcmp.
12274
12275 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12276
12277         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12278         look for %.ac rather than %.in.
12279
12280         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12281         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12282         * sysdeps/mach/hurd/configure: Regenerated.
12283         * sysdeps/unix/sysv/linux/configure: Regenerated.
12284
12285         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12286
12287 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12288
12289         [BZ# 16922]
12290         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12291         (LONG_SUB): Ditto.
12292         (PTR_SUB): Ditto.
12293
12294 2014-05-07  Andreas Schwab  <schwab@suse.de>
12295
12296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12297         when skipping over non-matching result from nscd.
12298
12299 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12300
12301         [BZ #16876]
12302         * nptl/sockperf.c (client): Check socket return value.
12303
12304         [BZ #16877]
12305         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12306         nscd security class.
12307
12308 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12309
12310         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12311         * sysdeps/arm/unwind.h: ... here.
12312
12313 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12314
12315         [BZ# 16916]
12316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12317         Define.
12318
12319 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12320
12321         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12322         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12323         multiarch strncpy for PPC64.
12324         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12325         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12327         multiarch optimizations.
12328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12329         (__libc_ifunc_impl_list): Likewise.
12330         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12331         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12332         multiarch stpncpy for PPC64.
12333         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12334         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12335
12336 2014-05-06  Andreas Schwab  <schwab@suse.de>
12337
12338         [BZ #16912]
12339         * gmon/mcount.c (_MCOUNT_DECL): Use
12340         atomic_compare_and_exchange_bool_acq instead of
12341         catomic_compare_and_exchange_bool_acq.
12342
12343 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12344
12345         * elf/Makefile (others, install-bin): Remove pldd.
12346         (pldd-modules): Variable removed.
12347         ($(objpfx)pldd): Target removed.
12348         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12349         (others, install-bin): Append pldd here.
12350         ($(objpfx)pldd): New target.
12351
12352         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12353         to 0, so the first #if test emitted later doesn't see it undefined.
12354         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12355         * sysdeps/gnu/errlist.c: Regenerated.
12356
12357 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12358
12359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12360         [libc_hidden_builtin_def]: Define to empty value.
12361         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12362         [libc_hidden_builtin_def]: Likewise.
12363         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12364         [libc_hidden_builtin_def]: Likewise.
12365         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12366         [libc_hidden_builtin_def]: Likewise.
12367         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12368         __redirect_memcpy and define ifunc as default hidden symbol.
12369         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12370         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12371
12372 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12373
12374         * locale/iso-4217.def: Reintroduce XDR currency.
12375
12376 2014-05-04  Allan McRae  <allan@archlinux.org>
12377
12378         * po/eo.po: Update Esperanto translation from translation project.
12379
12380 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12381
12382         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12383         and FEATURE_INDEX_MAX to 1.
12384         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12385
12386 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12387
12388         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12389         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12390         * iconvdata/big5.c (ONE_DIRECTION): Define.
12391         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12392         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12393         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12394         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12395         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12396         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12397         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12398         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12399         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12400         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12401         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12402         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12403         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12404         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12405         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12406         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12407         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12408         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12409         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12410         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12411         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12412         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12413         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12414         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12415         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12416         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12417         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12418         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12419         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12420         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12421         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12422         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12423         * iconvdata/johab.c (ONE_DIRECTION): Define.
12424         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12425         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12426         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12427         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12428         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12429         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12430         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12431         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12432         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12433         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12434
12435 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12436
12437         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12438         (_IO_JUMPS_OFFSET): Define to 0.
12439
12440         * nptl/sysdeps/pthread/bits/libc-lock.h
12441         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12442         (__libc_lock_define_initialized_recursive): Always define using
12443         initializer.  Modern compilers treat uninitialized (implicit zero) and
12444         explicit zero initializers the same (i.e. put the datum in bss).
12445
12446 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12447
12448         * nscd/nscd-client.h: Include <string.h>.
12449
12450 2014-05-01  David S. Miller  <davem@davemloft.net>
12451
12452         [BZ #16885]
12453         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12454         multiple zero bytes exist at the end of a string.
12455         Reported by Aurelien Jarno <aurelien@aurel32.net>
12456
12457         * string/test-strcmp.c (check): Add explicit test for situations where
12458         there are multiple zero bytes after the first.
12459
12460 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12461
12462         [BZ #16890]
12463         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12464         when compiling wprintf.
12465         * stdio-common/tstdiomisc.c (t3): New function.
12466         (main): Call it.
12467
12468 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12469
12470         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12471         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12472         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12473         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12474
12475 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12476
12477         * stdlib/longlong.h: Updated from GCC.
12478
12479 2014-05-01  Will Newton  <will.newton@linaro.org>
12480             Bernard Ogden  <bernie.ogden@linaro.org>
12481
12482         * NEWS: Update fixed bug list.
12483
12484         [BZ #15119]
12485         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12486
12487 2014-04-30  David S. Miller  <davem@davemloft.net>
12488
12489         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12490         (libc_feholdexcept_setround_sparc_ctx): New function.
12491         (libc_fesetenv_sparc_ctx): Likewise.
12492         (libc_feupdateenv_sparc_ctx): Likewise.
12493         (libc_feholdsetround_sparc_ctx): Likewise.
12494         (libc_feholdexcept_setround_ctx): Define.
12495         (libc_feholdexcept_setroundf_ctx): Likewise.
12496         (libc_feholdexcept_setroundl_ctx): Likewise.
12497         (libc_fesetenv_ctx): Likewise.
12498         (libc_fesetenvf_ctx): Likewise.
12499         (libc_fesetenvl_ctx): Likewise.
12500         (libc_feupdateenv_ctx): Likewise.
12501         (libc_feupdateenvf_ctx): Likewise.
12502         (libc_feupdateenvl_ctx): Likewise.
12503         (libc_feresetround_ctx): Likewise.
12504         (libc_feresetroundf_ctx): Likewise.
12505         (libc_feresetroundl_ctx): Likewise.
12506         (libc_feholdsetround_ctx): Likewise.
12507         (libc_feholdsetroundf_ctx): Likewise.
12508         (libc_feholdsetroundl_ctx): Likewise.
12509
12510         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12511         with __USE_GNU instead of XOPEN cpp guards.
12512
12513         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12514         0.
12515
12516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12517         with XOPEN cpp guards.
12518
12519 2014-04-30  Julian Brown  <julian@codesourcery.com>
12520
12521         [BZ #16888]
12522         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12523         handling.
12524
12525 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12526
12527         [BZ #9894]
12528         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12529         Change to 2.6.32.
12530         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12531         * sysdeps/unix/sysv/linux/configure: Regenerated.
12532         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12533         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12534         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12535         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12536         * README: Update reference to required Linux kernel version.
12537         * manual/install.texi (Linux): Update reference to required Linux
12538         kernel headers version.
12539         * INSTALL: Regenerated.
12540
12541         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12542         header inclusion.
12543         [POSIX] (limits.h): Likewise.
12544         [POSIX] (math.h): Likewise.
12545         [POSIX] (sys/wait.h): Likewise.
12546         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12547         function.
12548         [POSIX] (stddef.h): Do not allow header inclusion.
12549
12550 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12551
12552         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12553
12554 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12555
12556         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12557         Return immediately after lll_futex_wake.
12558
12559 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560
12561         [BZ #16791]
12562         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12563         structure.
12564         (datahead_init_pos): Call datahead_init_common early.
12565         (datahead_init_neg): Likewise.
12566
12567         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12568         datahead_init_neg): New functions.
12569         * nscd/aicache.c (addhstaiX): Use them.
12570         * nscd/grpcache.c (cache_addgr): Likewise.
12571         * nscd/hstcache.c (cache_addhst): Likewise.
12572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12573         * nscd/netgroupcache.c (do_notfound): Likewise.
12574         (addgetnetgrentX): Likewise.
12575         (addinnetgrX): Likewise.
12576         * nscd/pwdcache.c (cache_addpw): Likewise.
12577         * nscd/servicescache.c (cache_addserv): Likewise.
12578
12579 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12580             Atsushi Onoe  <atsushi@onoe.org>
12581
12582         [BZ #14308]
12583         [BZ #12994]
12584         [BZ #13651]
12585         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12586         one response is valid.
12587         * resolv/res_send.c (send_dg): Check for validity of other
12588         response if the current response is a referral.
12589
12590 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12591
12592         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12593
12594 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12595
12596         [BZ #16823]
12597         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12598         Always divide by positive zero when computing -Inf result.
12599         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12600         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12601
12602 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12603
12604         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12605         FPSCR if value do not change.
12606         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12607         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12608         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12609         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12610         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12611         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12612         function.
12613
12614 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12615
12616         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12617         * sysdeps/unix/sysv/linux/hppa: Move directory from
12618         ports/systeps/unix/sysv/linux/hppa.
12619         * README: Update listing for hppa-*-linux-gnu.
12620
12621 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12622
12623         [BZ #16754]
12624         * manual/stdio.texi (Hook functions): Fix types of stream hook
12625         functions.
12626         [BZ #16854]
12627         * socket/sys/socket.h: Fix typo in comment.
12628
12629 2014-04-28  Wilco  <wdijkstr@arm.com>
12630
12631         * sysdeps/arm/fenv_private.h: New file.
12632         * sysdeps/arm/math_private.h: New file.
12633         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12634
12635 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12636
12637         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12638         with __int128_t.
12639         (La_x86_64_retval): Likewise.
12640
12641 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12642
12643         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12644         fpsr if value didn't change.
12645         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12646         to fpcr if value didn't change.
12647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12648         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12649         fpsr or fpcr if value didn't change.
12650         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12651         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12652         fpcr if value didn't change.
12653         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12654         to fpsr if value didn't change.
12655
12656 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12657
12658         * nptl/tst-sem3.c: Use test-skeleton.c
12659         (main): Rename to do_test.  Use return instead of
12660         exit.
12661         * nptl/tst-sem4.c: Use test-skeleton.c
12662         (main): Rename to do_test.
12663
12664 2014-04-22  David S. Miller  <davem@davemloft.net>
12665
12666         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12667         (struct sigaction): New struct member __glibc_reserved0, change
12668         type of sa_flags to int.
12669
12670 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12671
12672         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12673         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12674
12675 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12676
12677         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12678         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12679
12680 2014-04-22  Will Newton  <will.newton@linaro.org>
12681             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12682
12683         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12684         (__longjmp): Add longjmp and longjmp_target SystemTap
12685         probes.
12686         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12687         (__sigsetjmp): Add setjmp SystemTap probe.
12688
12689 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12690
12691         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12692         match manual order.
12693
12694 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12695
12696         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12697
12698         * sysdeps/powerpc/fpu/fenv_private.h
12699         (libc_feholdexcept_setroundl_ctx): Define to
12700         libc_feholdexcept_setround_ppc_ctx.
12701         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12702         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12703         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12704         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12705
12706 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12707
12708         * sysdeps/aarch64/math-tests.h: New file.
12709
12710 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12711
12712         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12713         New.
12714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12715         Check and set bit_AVX2_Usable.
12716         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12717         macro.
12718         (bit_AVX2): Likewise.
12719         (index_AVX2_Usable): Likewise.
12720         (CPUID_AVX2): Likewise.
12721         (HAS_AVX2): Likewise.
12722
12723 2014-04-17  Will Newton  <will.newton@linaro.org>
12724
12725         * manual/setjmp.texi (System V contexts): Add note that
12726         calling setcontext on a context created by a call to a
12727         signal handler is undefined.  Update text to note that
12728         setcontext from a signal handler is possible but not
12729         recommended.
12730
12731         [BZ #16629]
12732         * stdlib/tst-setcontext.c: Include signal.h.
12733         (main): Check that the signal stack before and
12734         after swapcontext is the same.
12735
12736         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12737         Re-implement to restore registers in user code and avoid
12738         rt_sigreturn system call.
12739
12740 2014-04-17  Wilco  <wdijkstr@arm.com>
12741
12742         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12743         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12744         * math/test-fenv.c: Skip exception trap tests on targets which only
12745         support non-stop mode.
12746
12747 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12748             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12749
12750         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12751         (libc_feholdsetround_aarch64_ctx)
12752         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12753         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12754         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12755         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12756         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12757         (libc_feresetround_noexl_ctx): Define.
12758
12759 2014-04-16  Richard Henderson  <rth@redhat.com>
12760
12761         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12762
12763         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12764         unwind tables.
12765
12766         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12767         const from the non-libc, non-ldso copy.
12768
12769         * sysdeps/alpha/libm-test-ulps: Regenerate.
12770
12771 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12772             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12773
12774         * sysdeps/aarch64/fpu/math_private.h: New file.
12775
12776 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12777
12778         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12779
12780 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12781
12782         [BZ #16275]
12783         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12784         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12785         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12786         Intel MPX bound registers before _dl_profile_fixup.
12787         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12788         registers after _dl_profile_fixup.  Save and restore bound
12789         registers bnd0/bnd1 when calling _dl_call_pltexit.
12790         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12791         (LR_BND_OFFSET): Likewise.
12792         (LRV_BND0_OFFSET): Likewise.
12793         (LRV_BND1_OFFSET): Likewise.
12794
12795 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12796
12797         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12798         to...
12799         * sysdeps/mach/hurd/i386/tls.h: ... here.
12800         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12801         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12802         fields.
12803
12804 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12805
12806         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12807
12808 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12809
12810         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12811
12812 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12813
12814         [BZ #14770]
12815         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12816         * sysdeps/s390/configure: Regenerate.
12817
12818         [BZ #16824]
12819         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12820         Set round-to-nearest internally to reduce error accumulation.
12821
12822 2014-04-16  Alan Modra  <amodra@gmail.com>
12823
12824         [BZ #16740]
12825         [BZ #16619]
12826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12827         * math/libm-test.inc (frexp_test_data): Add tests.
12828         * NEWS: Update fixed bug list.
12829
12830 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12831
12832         * benchtests/Makefile: Depend on libraries in build directory.
12833         (bench-math): Separate out math tests.
12834         (bench-pthread): Separate out pthread tests.
12835         (bench): Include math and pthread tests.
12836
12837 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12838
12839         [BZ #16831]
12840         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12841         _dl_debug_initialize.
12842
12843         * configure.ac: Remove SELinux header check.
12844         * configure: Regenerate.
12845         * nscd/selinux.c (perms): Array of const char* to permission names.
12846         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12847         default policy. Call string_to_security_class and string_to_av_perm to
12848         translate strings. Enforce default policy and call avs_has_perm with
12849         results of translated strings.
12850
12851 2014-04-13  David S. Miller  <davem@davemloft.net>
12852
12853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12854
12855 2014-04-12  Allan McRae  <allan@archlinux.org>
12856
12857         [BZ #16838]
12858         * manual/string.texi (Collation Functions): Fix qsort argument
12859         order in example.
12860         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12861
12862 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12863
12864         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12865         Make the test a no-op if there are no exceptions defined.
12866
12867 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12868
12869         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12870         enable-hardcoded-path-in-tests
12871
12872 2014-04-11  Will Newton  <will.newton@linaro.org>
12873
12874         * benchtests/Makefile (extra-objs): Add json-lib.o.
12875         (bench-func): Tidy up JSON output.
12876         * benchtests/bench-skeleton.c: Include json-lib.h.
12877         (main): Use JSON library functions to do output of
12878         benchmark results.
12879         * benchtests/bench-timing-type.c (main): Output the
12880         timing type simply, leaving formatting to the user.
12881         * benchtests/json-lib.c: New file.
12882         * benchtests/json-lib.h: Likewise.
12883
12884 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12885
12886         [BZ #15215]
12887         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12888         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12889         memory barriers.  Add comments.
12890         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12891         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12892         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12893         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12894         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12895         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12896
12897 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12898
12899         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12900         * sysdeps/s390/s390-64/configure.ac: ... this ...
12901         * sysdeps/s390/configure.ac: ... to here.
12902         * sysdeps/s390/s390-32/configure: Delete file.
12903         * sysdeps/s390/s390-64/configure: Delete file.
12904         * sysdeps/s390/configure: Regenerate.
12905
12906 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12907
12908         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12909
12910 2014-04-11  Will Newton  <will.newton@linaro.org>
12911
12912         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12913         to zero if it is not defined elsewhere.  (mtrim): Test
12914         the value of MALLOC_DEBUG with #if rather than #ifdef.
12915
12916 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12917
12918         * benchtests/pthread_once-inputs: New file.
12919         * benchtests/pthread_once-source.c: New file.
12920         * benchtests/README: Update documentation.
12921
12922 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12923             H.J. Lu  <hongjiu.lu@intel.com>
12924
12925         [BZ #16275]
12926         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12927         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12928         * sysdeps/x86_64/configure: Regenerated.
12929         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12930         macro.
12931         (REGISTER_SAVE_RAX): Likewise.
12932         (REGISTER_SAVE_RCX): Likewise.
12933         (REGISTER_SAVE_RDX): Likewise.
12934         (REGISTER_SAVE_RSI): Likewise.
12935         (REGISTER_SAVE_RDI): Likewise.
12936         (REGISTER_SAVE_R8): Likewise.
12937         (REGISTER_SAVE_R9): Likewise.
12938         (REGISTER_SAVE_BND0): Likewise.
12939         (REGISTER_SAVE_BND1): Likewise.
12940         (REGISTER_SAVE_BND2): Likewise.
12941         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12942         bound registers when calling _dl_fixup.
12943
12944 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12945
12946         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12947         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12948         of its definition.
12949         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12950         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12951         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12952         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12953         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12954         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12955         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12956
12957 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12958
12959         [BZ #15514]
12960         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12961         pathconf(_PC_NAME_MAX).
12962
12963 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12964
12965         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12966         Remove macro usage.
12967         (__PTHREAD_SPINS): Move definition to ...
12968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12969         (__PTHREAD_SPINS): ... here.
12970         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12971         (__PTHREAD_SPIN): Likewise.
12972         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12973         (__PTHREAD_SPIN): Likewise.
12974         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12975         (__PTHREAD_SPIN): Likewise.
12976         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12977         (__PTHREAD_SPIN): Likewise.
12978         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12979         (__PTHREAD_SPIN): Likewise.
12980         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12981         (__PTHREAD_SPIN): Likewise.
12982         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12983         (__PTHREAD_SPIN): Likewise.
12984         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12985         (__PTHREAD_SPIN): Likewise.
12986         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12987         (__PTHREAD_SPIN): Likewise.
12988         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12989         (__PTHREAD_SPIN): Likewise.
12990         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12991         (__PTHREAD_SPIN): Likewise.
12992         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12993         (__PTHREAD_SPIN): Likewise.
12994
12995         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12996         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12997         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12998         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12999         imply folder.
13000         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13001         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13002         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13003         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13004         correct imply path.
13005         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13006         strlen symbol for non multi-arch builds.
13007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13008         missing hidden_def and weak_alias.
13009
13010 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13011
13012         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13013
13014 2014-04-07  Will Newton  <will.newton@linaro.org>
13015
13016         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13017         and contents.  [!_LIBC] Remove #ifndef and contents.
13018         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13019         * string/memccpy.c (__memccpy): Use ANSI prototype.
13020         * string/memfrob.c (memfrob): Likewise.
13021         * string/strcoll.c (STRCOLL): Likewise.
13022         * string/strlen.c (strlen): Likewise.
13023         * string/strtok.c (STRTOK): Likewise.
13024         * string/strcat.c: Remove unused #include of memcopy.h.
13025         (strcat): Use ANSI prototype.
13026         * string/strchr.c: Remove unused #include of memcopy.h.
13027         (strchr): Use ANSI prototype.
13028         * string/strcmp.c: Remove unused #include of memcopy.h.
13029         (strcmp): Use ANSI prototype.
13030         * string/strcpy.c: Remove unused #include of memcopy.h.
13031         (strcpy): Use ANSI prototype.
13032
13033 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13034
13035         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13036         * config.make.in (config-extra-cppflags): Set it from
13037         libc_extra_cppflags.
13038         * configure.ac (libc_extra_cflags): Make it accumulate over
13039         configure fragments.
13040         (libc_extra_cppflags): New flag.
13041         * configure. Regenerate.
13042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13043         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13044         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13046
13047         [BZ #16815]
13048         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13049         result for FE_DOWNWARD rounding mode.
13050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13051         Likewise.
13052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13053
13054 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13055
13056         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13057         in function argument name.
13058
13059 2014-04-03  David Svoboda  <svoboda@cert.org>
13060
13061         [BZ #5666]
13062         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13063         explicitly.
13064
13065 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13066
13067         * elf/dl-unmap-segments.h: New file.
13068         * sysdeps/generic/ldsodefs.h
13069         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13070         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13071         * elf/dl-fptr.c: Likewise.
13072         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13073         * sysdeps/aarch64/tlsdesc.c: Likewise.
13074         * sysdeps/arm/tlsdesc.c: Likewise.
13075         * sysdeps/i386/tlsdesc.c: Likewise.
13076         * sysdeps/tile/dl-runtime.c: Likewise.
13077         * sysdeps/x86_64/tlsdesc.c: Likewise.
13078         * elf/dl-load.h: New file.
13079         * elf/dl-load.c: Include it.
13080         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13081         Macros moved to dl-load.h.
13082         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13083         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13084         Use _dl_unmap_segments in place of __munmap.
13085         Break out segment-mapping loop into ...
13086         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13087
13088 2014-04-03  Will Newton  <will.newton@linaro.org>
13089
13090         * elf/dl-lookup.c (do_lookup_x): Remove comment
13091         referring to nested function and move variable
13092         declarations down to before first use.
13093
13094 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13095
13096         [BZ #16799]
13097         [BZ #16800]
13098         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13099         with 0 numerator.
13100         * math/s_catanf.c (__catanf): Likewise.
13101         * math/s_catanh.c (__catanh): Likewise.
13102         * math/s_catanhf.c (__catanhf): Likewise.
13103         * math/s_catanhl.c (__catanhl): Likewise.
13104         * math/s_catanl.c (__catanl): Likewise.
13105         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13106         by positive zero when computing -Inf result.
13107         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13108         (catanh_test): Likewise.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13111
13112         [BZ #16789]
13113         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13114         instead of using underflowing value in computing result.
13115         * math/s_clog10.c (__clog10): Likewise.
13116         * math/s_clog10f.c (__clog10f): Likewise.
13117         * math/s_clog10l.c (__clog10l): Likewise.
13118         * math/s_clogf.c (__clogf): Likewise.
13119         * math/s_clogl.c (__clogl): Likewise.
13120         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13121         (clog10_test): Likewise.
13122         * sysdeps/i386/fpu/libm-test-ulps: Update.
13123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13124
13125 2014-04-02  Alan Modra  <amodra@gmail.com>
13126
13127         [BZ #16739]
13128         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13129         output when value is near a power of two.  Use int64_t for lx and
13130         remove casts.  Use decimal rather than hex exponent constants.
13131         Don't use long double multiplication when double will suffice.
13132         * math/libm-test.inc (nextafter_test_data): Add tests.
13133         * NEWS: Add 16739 and 16786 to bug list.
13134
13135         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13136
13137         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13138
13139 2014-04-01  Will Newton  <will.newton@linaro.org>
13140
13141         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13142         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13143
13144 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13145
13146         [BZ #13347]
13147         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13148         * nptl/tst-setuid2.c: New file.
13149         * nptl/Makefile (xtests): Add tst-setuid2.
13150
13151 2014-04-01  Alan Modra  <amodra@gmail.com>
13152
13153         [BZ #16786]
13154         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13155
13156 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13157
13158         [BZ #6803]
13159         [BZ #6804]
13160         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13161         set errno as appropriate.
13162         * math/w_scalbf.c (__scalbf): Likewise.
13163         * math/w_scalbl.c (__scalbl): Likewise.
13164         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13165         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13166         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13167         Add more NaN tests.
13168
13169         [BZ #16349]
13170         * math/w_atan2.c: Include <errno.h>.
13171         (__atan2): Set errno for result underflowing to zero.
13172         * math/w_atan2f.c: Include <errno.h>.
13173         (__atan2f): Set errno for result underflowing to zero.
13174         * math/w_atan2l.c: Include <errno.h>.
13175         (__atan2l): Set errno for result underflowing to zero.
13176         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13177         tests.
13178         * math/auto-libm-test-out: Regenerated.
13179
13180 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13181
13182         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13183         Encode instruction correctly in little endian.
13184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13185         Likewise.
13186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13187         Likewise.
13188         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13189         Likewise.
13190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13191         Likewise.
13192
13193 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13194
13195         [BZ #9894]
13196         * sysdeps/unix/sysv/linux/kernel-features.h
13197         [__sparc__ && !__arch64__ && !__sparc_v9__]
13198         (__ASSUME_SET_ROBUST_LIST): Do not define.
13199         [__sparc__ && !__arch64__ && !__sparc_v9__]
13200         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13201         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13204         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13205         (__ASSUME_REQUEUE_PI): Likewise.
13206         (__ASSUME_SET_ROBUST_LIST): Likewise.
13207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13208         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13209         Undefine.
13210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13211         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13212         Likewise.
13213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13214         Likewise.
13215         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13218         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13219         Undefine.
13220         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13221         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13222         Likewise.
13223
13224         [BZ #16648]
13225         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13226         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13227         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13228
13229 2014-03-31  Will Newton  <will.newton@linaro.org>
13230
13231         * benchtests/Makefile (bench): Add ffs and ffsll to list
13232         of tests.
13233         * benchtests/ffs-inputs: New file.
13234         * benchtests/ffsll-inputs: Likewise.
13235
13236 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13237
13238         [BZ #16770]
13239         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13240         too large before casting to int.
13241         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13242         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13243         * math/libm-test.inc (scalb_test_data): Add more tests.
13244
13245 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13246
13247         * benchtests/Makefile (DETAILED_OPT): New make option.
13248         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13249         set.
13250         * benchtests/bench-skeleton.c: Include stdbool.h.
13251         (main): Store and print timings per input.
13252         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13253         member to each argument value.
13254         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13255         (_print_arg_data): Initialize per-input timing to 0.
13256
13257         * benchtests/Makefile (timing-type): New binary.
13258         (bench-clean): Also remove bench-timing-type.
13259         (bench): New target for timing-type.
13260         (bench-func): Print output in JSON format.
13261         * benchtests/bench-skeleton.c (main): Print output in JSON
13262         format.
13263         * benchtests/bench-timing-type.c: New file.
13264         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13265         (TIMING_PRINT_STATS): Remove.
13266         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13267         name separately.
13268
13269         * benchtests/bench-modf.c: Remove.
13270         * benchtests/modf-inputs: New inputs file.
13271
13272 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13273
13274         [BZ #16362]
13275         * math/s_clog10.c (M_PI_LOG10E): New macro.
13276         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13277         imaginary parts are 0.
13278         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13279         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13280         imaginary parts are 0.
13281         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13282         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13283         imaginary parts are 0.
13284         * math/libm-test.inc (clog10_test_data): Update expected results
13285         for when real and imaginary parts are 0.
13286
13287 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13288
13289         * elf/dl-load.c: Finish conversion of __builtin_expect into
13290         __glibc_{un}likely.
13291
13292 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13293
13294         [BZ #16348]
13295         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13296         1+x for argument with exponent below -67.
13297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13298         Likewise.
13299         * math/auto-libm-test-in: Add more tests of exp.
13300         * math/auto-libm-test-out: Regenerated.
13301
13302 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13303
13304         [BZ #16759]
13305         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13306         (nscd_getnetgrent): Use it.
13307
13308         [BZ #16760]
13309         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13310         of stpcpy.
13311
13312 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13313
13314         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13315         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13316         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13317         (lll_robust_unlock): Remove out of line section. Use cfi
13318         intrinsics.
13319         (LLL_STUB_UNWIND_INFO*): Remove.
13320         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13321         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13322         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13323         (lll_robust_unlock): Remove out of line section. Use cfi
13324         intrinsics.
13325         (LLL_STUB_UNWIND_INFO*): Remove.
13326
13327 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13328
13329         [BZ #16758]
13330         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13331         blank values.
13332
13333 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13334
13335         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13336
13337 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13338
13339         [BZ #16198]
13340         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13341         fnstenv.
13342         * math/test-fenv-preserve.c: New file.
13343         * math/Makefile (tests): Add test-fenv-preserve.
13344
13345 2014-03-26  Will Newton <will.newton@linaro.org>
13346
13347         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13348
13349 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13350
13351         * scripts/versionlist.awk: Partition the version sets and emit all
13352         GLIBC_* (sorted) before all others (sorted).
13353
13354 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13355
13356         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13357         GLIBC_2.2.5 version.
13358
13359 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13360
13361         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13362         calls.
13363
13364         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13365         previous change.
13366
13367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13368
13369 2014-03-25  Andreas Schwab  <schwab@suse.de>
13370
13371         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13372         label to be used after in6ailist is initialized.
13373
13374 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13375
13376         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13377         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13378
13379 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13380
13381         [BZ #16357]
13382         [BZ #16599]
13383         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13384         min_plus_half.
13385         (fp_formats): Update initializers.
13386         (init_fp_formats): Initialize new field.
13387         (output_for_one_input_case): Allow underflow for results up to
13388         min_plus_half.
13389         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13390         * math/auto-libm-test-in: Don't mark some underflows from asin and
13391         atanh as spurious.
13392         * math/auto-libm-test-out: Regenerated.
13393         * sysdeps/i386/fpu/libm-test-ulps: Update.
13394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13395
13396 2014-03-25  Andreas Schwab  <schwab@suse.de>
13397
13398         * libio/Makefile (tst-ftell-partial-wide-ENV)
13399         (tst-ftell-active-handler-ENV): Define.
13400
13401 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13402
13403         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13404
13405 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13406
13407         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13408
13409 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13410
13411         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13412         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13413         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13414
13415 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13416
13417         [BZ #16634]
13418         * elf/dl-load.c (open_verify): Add mode parameter.
13419         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13420         (open_path): Change from boolean 'secure' to complete flag 'mode'
13421         (_dl_map_object): Adjust.
13422         * elf/Makefile (tests): Add tst-dlopen-aout.
13423         * elf/tst-dlopen-aout.c: New test.
13424
13425 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13426
13427         [BZ #16714]
13428         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13429         (struct stat): Rename member pad0 to __glibc_reserved0.
13430
13431         [BZ #16712]
13432         * sysdeps/s390/s390-32/bits/wordsize.h
13433         (__WORDSIZE32_SIZE_ULONG): New define.
13434         * sysdeps/s390/s390-64/bits/wordsize.h
13435         (__WORDSIZE32_SIZE_ULONG): Likewise.
13436         * sysdeps/generic/stdint.h (SIZE_MAX):
13437         Define as UL if __WORDSIZE32_SIZE_ULONG.
13438
13439         [BZ #16713]
13440         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13441         (__glibc_reserved0): New variable.
13442         (sa_flags): Change type to int.
13443
13444         * posix/Makefile (before-compile): Use += before-compile instead
13445         of a :=.
13446
13447         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13448         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13449
13450 2014-03-20  Andreas Schwab  <schwab@suse.de>
13451
13452         [BZ #16743]
13453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13454         non-matching result from nscd.
13455
13456 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13457
13458         * scripts/bench.py: Moved to ...
13459         * benchtests/scripts/bench.py: ... here.
13460         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13461
13462 2014-03-24  Andreas Schwab  <schwab@suse.de>
13463
13464         [BZ #16002]
13465         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13466         alloca_account and account alloca use for struct in6ailist.
13467
13468 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13469
13470         [BZ #16284]
13471         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13472         rounding mode to recompute results that overflow to infinity or
13473         underflow to zero.
13474         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13475         bug 16284.
13476         * math/auto-libm-test-out: Regenerated.
13477         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13478         (ccosh_test): Likewise.
13479         (csin_test_data): Use plus_oflow.
13480         (csin_test): Use ALL_RM_TEST.
13481         (csinh_test_data): Use plus_oflow.
13482         (csinh_test): Use ALL_RM_TEST.
13483         * sysdeps/i386/fpu/libm-test-ulps: Update.
13484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13485
13486 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13487
13488         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13489         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13490         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13491
13492         [BZ #16731]
13493         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13494         when x - 1 is zero.
13495         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13496         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13497         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13499         argument is 1.
13500         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13501         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13502         zero.
13503         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13504         * sysdeps/i386/fpu/libm-test-ulps: Update.
13505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13506
13507 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13508
13509         * scripts/bench.pl: Remove file.
13510         * scripts/bench.py: New benchmark script.
13511         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13512         * benchtests/README: Mention python dependency.
13513         * scripts/pylintrc: New file.
13514         * scripts/pylint: New file.
13515
13516         * bits/mathdef.h: Use #ifdef instead of #if.
13517         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13518         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13519         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13520         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13521         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13522         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13523
13524 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13525             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13526
13527         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13529         and strpbrk-ppc64 objects.
13530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13532         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13533         multiarch strpbrk for POWER7.
13534         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13535         multiarch strpbrk for PPC64.
13536         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13537         ifunc selector.
13538         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13539         strpbrk for POWER7.
13540
13541 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13542
13543         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13544         (atan_test): Likewise.
13545         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13546         (atanh_test): Use ALL_RM_TEST.
13547         (atan2_test_data): Likewise.
13548         (cabs_test): Likewise.
13549         (cacosh_test): Likewise.
13550         (carg_test): Likewise.
13551         (casin_test): Likewise.
13552         (casinh_test): Likewise.
13553         (cbrt_test): Likewise.
13554         (csqrt_test): Likewise.
13555         (erf_test): Likewise.
13556         (erfc_test): Likewise.
13557         (pow10_test): Likewise.
13558         (exp2_test): Likewise.
13559         (hypot_test): Likewise.
13560         (j0_test): Likewise.
13561         (j1_test): Likewise.
13562         (lgamma_test): Likewise.
13563         (gamma_test): Likewise.
13564         (sincos_test): Likewise.
13565         (tanh_test): Likewise.
13566         (y0_test): Likewise.
13567         (y1_test): Likewise.
13568         * sysdeps/i386/fpu/libm-test-ulps: Update.
13569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13570
13571 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13572
13573         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13575         and strcspn-ppc64 objects.
13576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13577         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13578         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13579         multiarch strcspn for POWER7.
13580         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13581         multiarch strcspn for PPC64.
13582         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13583         ifunc selector.
13584         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13585         strcspn for POWER7.
13586
13587 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13588
13589         * math/gen-libm-test.pl (generate_testfile): Expect only function
13590         name as argument to AUTO_TESTS_* and pass results for all rounding
13591         modes to parse_args.
13592         (parse_auto_input): Separate inputs of automatic tests from
13593         outputs before storing in %auto_tests.
13594         * math/libm-test.inc (acos_test_data): Update call to
13595         AUTO_TESTS_f_f.
13596         (acos_test): Use ALL_RM_TEST.
13597         (acos_tonearest_test_data): Remove.
13598         (acos_test_tonearest): Likewise.
13599         (acos_towardzero_test_data): Likewise.
13600         (acos_test_towardzero): Likewise.
13601         (acos_downward_test_data): Likewise.
13602         (acos_test_downward): Likewise.
13603         (acos_upward_test_data): Likewise.
13604         (acos_test_upward): Likewise.
13605         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13606         (asin_test_data): Likewise.
13607         (asin_test): Use ALL_RM_TEST.
13608         (asin_tonearest_test_data): Remove.
13609         (asin_test_tonearest): Likewise.
13610         (asin_towardzero_test_data): Likewise.
13611         (asin_test_towardzero): Likewise.
13612         (asin_downward_test_data): Likewise.
13613         (asin_test_downward): Likewise.
13614         (asin_upward_test_data): Likewise.
13615         (asin_test_upward): Likewise.
13616         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13617         (atan_test_data): Likewise.
13618         (atanh_test_data): Likewise.
13619         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13620         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13621         (carg_test_data): Likewise.
13622         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13623         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13624         (ccosh_test_data): Likewise.
13625         (cexp_test_data): Likewise.
13626         (clog_test_data): Likewise.
13627         (clog10_test_data): Likewise.
13628         (cos_test_data): Update call to AUTO_TESTS_f_f.
13629         (cos_test): Use ALL_RM_TEST.
13630         (cos_tonearest_test_data): Remove.
13631         (cos_test_tonearest): Likewise.
13632         (cos_towardzero_test_data): Likewise.
13633         (cos_test_towardzero): Likewise.
13634         (cos_downward_test_data): Likewise.
13635         (cos_test_downward): Likewise.
13636         (cos_upward_test_data): Likewise.
13637         (cos_test_upward): Likewise.
13638         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13639         (cosh_test): Use ALL_RM_TEST.
13640         (cosh_tonearest_test_data): Remove.
13641         (cosh_test_tonearest): Likewise.
13642         (cosh_towardzero_test_data): Likewise.
13643         (cosh_test_towardzero): Likewise.
13644         (cosh_downward_test_data): Likewise.
13645         (cosh_test_downward): Likewise.
13646         (cosh_upward_test_data): Likewise.
13647         (cosh_test_upward): Likewise.
13648         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13649         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13650         (ctan_test_data): Likewise.
13651         (ctan_test): Use ALL_RM_TEST.
13652         (ctan_tonearest_test_data): Remove.
13653         (ctan_test_tonearest): Likewise.
13654         (ctan_towardzero_test_data): Likewise.
13655         (ctan_test_towardzero): Likewise.
13656         (ctan_downward_test_data): Likewise.
13657         (ctan_test_downward): Likewise.
13658         (ctan_upward_test_data): Likewise.
13659         (ctan_test_upward): Likewise.
13660         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13661         (ctanh_test): Use ALL_RM_TEST.
13662         (ctanh_tonearest_test_data): Remove.
13663         (ctanh_test_tonearest): Likewise.
13664         (ctanh_towardzero_test_data): Likewise.
13665         (ctanh_test_towardzero): Likewise.
13666         (ctanh_downward_test_data): Likewise.
13667         (ctanh_test_downward): Likewise.
13668         (ctanh_upward_test_data): Likewise.
13669         (ctanh_test_upward): Likewise.
13670         (erf_test_data): Update call to AUTO_TESTS_f_f.
13671         (erfc_test_data): Likewise.
13672         (exp_test_data): Likewise.
13673         (exp_test): Use ALL_RM_TEST.
13674         (exp_tonearest_test_data): Remove.
13675         (exp_test_tonearest): Likewise.
13676         (exp_towardzero_test_data): Likewise.
13677         (exp_test_towardzero): Likewise.
13678         (exp_downward_test_data): Likewise.
13679         (exp_test_downward): Likewise.
13680         (exp_upward_test_data): Likewise.
13681         (exp_test_upward): Likewise.
13682         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13683         (exp10_test): Use ALL_RM_TEST.
13684         (exp10_tonearest_test_data): Remove.
13685         (exp10_test_tonearest): Likewise.
13686         (exp10_towardzero_test_data): Likewise.
13687         (exp10_test_towardzero): Likewise.
13688         (exp10_downward_test_data): Likewise.
13689         (exp10_test_downward): Likewise.
13690         (exp10_upward_test_data): Likewise.
13691         (exp10_test_upward): Likewise.
13692         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13693         (expm1_test_data): Likewise.
13694         (expm1_test): Use ALL_RM_TEST.
13695         (expm1_tonearest_test_data): Remove.
13696         (expm1_test_tonearest): Likewise.
13697         (expm1_towardzero_test_data): Likewise.
13698         (expm1_test_towardzero): Likewise.
13699         (expm1_downward_test_data): Likewise.
13700         (expm1_test_downward): Likewise.
13701         (expm1_upward_test_data): Likewise.
13702         (expm1_test_upward): Likewise.
13703         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13704         (fma_test): Use ALL_RM_TEST.
13705         (fma_towardzero_test_data): Remove.
13706         (fma_test_towardzero): Likewise.
13707         (fma_downward_test_data): Likewise.
13708         (fma_test_downward): Likewise.
13709         (fma_upward_test_data): Likewise.
13710         (fma_test_upward): Likewise.
13711         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13712         (j0_test_data): Update call to AUTO_TESTS_f_f.
13713         (j1_test_data): Likewise.
13714         (jn_test_data): Update call to AUTO_TESTS_if_f.
13715         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13716         (log_test_data): Update call to AUTO_TESTS_f_f.
13717         (log10_test_data): Likewise.
13718         (log1p_test_data): Likewise.
13719         (log2_test_data): Likewise.
13720         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13721         (pow_tonearest_test_data): Likewise.
13722         (sin_test_data): Update call to AUTO_TESTS_f_f.
13723         (sin_test): Use ALL_RM_TEST.
13724         (sin_tonearest_test_data): Remove.
13725         (sin_test_tonearest): Likewise.
13726         (sin_towardzero_test_data): Likewise.
13727         (sin_test_towardzero): Likewise.
13728         (sin_downward_test_data): Likewise.
13729         (sin_test_downward): Likewise.
13730         (sin_upward_test_data): Likewise.
13731         (sin_test_upward): Likewise.
13732         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13733         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13734         (sinh_test): Use ALL_RM_TEST.
13735         (sinh_tonearest_test_data): Remove.
13736         (sinh_test_tonearest): Likewise.
13737         (sinh_towardzero_test_data): Likewise.
13738         (sinh_test_towardzero): Likewise.
13739         (sinh_downward_test_data): Likewise.
13740         (sinh_test_downward): Likewise.
13741         (sinh_upward_test_data): Likewise.
13742         (sinh_test_upward): Likewise.
13743         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13744         (sqrt_test): Use ALL_RM_TEST.
13745         (sqrt_tonearest_test_data): Remove.
13746         (sqrt_test_tonearest): Likewise.
13747         (sqrt_towardzero_test_data): Likewise.
13748         (sqrt_test_towardzero): Likewise.
13749         (sqrt_downward_test_data): Likewise.
13750         (sqrt_test_downward): Likewise.
13751         (sqrt_upward_test_data): Likewise.
13752         (sqrt_test_upward): Likewise.
13753         (tan_test_data): Update call to AUTO_TESTS_f_f.
13754         (tan_test): Use ALL_RM_TEST.
13755         (tan_tonearest_test_data): Remove.
13756         (tan_test_tonearest): Likewise.
13757         (tan_towardzero_test_data): Likewise.
13758         (tan_test_towardzero): Likewise.
13759         (tan_downward_test_data): Likewise.
13760         (tan_test_downward): Likewise.
13761         (tan_upward_test_data): Likewise.
13762         (tan_test_upward): Likewise.
13763         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13764         (tgamma_test_data): Likewise.
13765         (y0_test_data): Likewise.
13766         (y1_test_data): Likewise.
13767         (yn_test_data): Update call to AUTO_TESTS_if_f.
13768         (main): Do not call removed functions.
13769
13770 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13771
13772         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13773         (ldexp_test_data): Remove.
13774         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13775         scalbn_test_data.
13776         (scalb_test): Use ALL_RM_TEST.
13777
13778 2014-03-19  Andreas Schwab  <schwab@suse.de>
13779
13780         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13781
13782 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13783
13784         [BZ #16649]
13785         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13786         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13787         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13789         (__ASSUME_PREADV): Undefine.
13790         (__ASSUME_PWRITEV): Likewise.
13791
13792 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13793
13794         * bits/mman-linux.h: Add comment about non-Linux use.
13795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13796         bits/mman-linux.h resting place.
13797
13798         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13799         * bits/mman-linux.h: ... here.
13800
13801 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13802
13803         * conform/conformtest.pl: Add standard definition when calling C
13804         preprocessor on data files.
13805         (checknamespace): Remove unused variable.
13806
13807 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13808
13809         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13810         minus_oflow, plus_uflow and minus_uflow in expected results.
13811         * math/libm-test.inc (scalbn_test_data): Add more tests of
13812         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13813         minus_uflow.
13814         (scalbn_test): Use ALL_RM_TEST.
13815         (scalbln_test_data): Add more tests of negative arguments.  Use
13816         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13817         (scalbln_test): Use ALL_RM_TEST.
13818
13819 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13820
13821         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13822
13823 2014-03-18  Will Newton  <will.newton@linaro.org>
13824
13825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13826         inaccurate comment.
13827
13828 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13829
13830         * Makerules [!subdir] (check-abi): Exit with error status if a
13831         test failed.
13832
13833 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13834
13835         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13836         for rint.  Include results for all rounding modes.
13837         (nearbyint_test): Use ALL_RM_TEST.
13838         (rint_test_data): Include all tests used for nearbyint.
13839
13840 2014-03-17  Will Newton  <will.newton@linaro.org>
13841
13842         * nptl/sysdeps/pthread/pthread.h: Revert previous
13843         change.
13844
13845         * sysdeps/generic/ldsodefs.h: Revert previous
13846         change.
13847
13848         * libio/genops.c: Revert previous change.
13849         * libio/libioP.h: Likewise.
13850         * stdio-common/vfprintf.c: Likewise.
13851
13852         * sysdeps/generic/math_private.h: Revert previous
13853         change.
13854
13855         * sysdeps/generic/math_private.h: Check whether
13856         HAVE_RM_CTX is defined with #ifdef rather
13857         than #if.
13858
13859         * argp/argp-fmtstream.h: Check whether
13860         __STRICT_ANSI__ is defined with #ifdef rather
13861         than #if.
13862         * argp/argp.h: Likewise.
13863
13864         * libio/genops.c: Check whether
13865         _IO_JUMPS_OFFSET is defined with #ifdef rather
13866         than #if.
13867         * libio/libioP.h: Likewise.
13868         * stdio-common/vfprintf.c: Likewise.
13869
13870         * sysdeps/generic/ldsodefs.h: Check whether
13871         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13872         than #if.
13873
13874         * nptl/sysdeps/pthread/pthread.h: Check
13875         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13876         its value.
13877
13878 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13879
13880         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13881         setting O_APPEND.
13882         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13883         test case.
13884
13885         [BZ #16680]
13886         * libio/fileops.c (_IO_file_open): Seek to end of file but
13887         don't cache the offset.
13888         (get_file_offset): Remove function.
13889         (do_ftell): Use cached offset when available.
13890         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13891         don't cache the offset.
13892         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13893         case.
13894         (do_one_test): Call it.
13895         (do_ftell_test): Fix up expected old offset for a+ mode.
13896         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13897         available.
13898
13899         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13900         up test status with function return status.
13901         (do_write_test): Likewise.
13902         (do_append_test): Likewise.
13903
13904         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13905         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13906         Remove.
13907
13908 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13909
13910         * math/gen-libm-test.pl (parse_args): Handle results specified for
13911         each rounding mode separately.
13912         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13913         tests and results from lrint_tonearest_test_data,
13914         lrint_towardzero_test_data, lrint_downward_test_data and
13915         lrint_upward_test_data.
13916         (lrint_test): Use ALL_RM_TEST.
13917         (lrint_tonearest_test_data): Remove.
13918         (lrint_test_tonearest): Likewise.
13919         (lrint_towardzero_test_data): Likewise.
13920         (lrint_test_towardzero): Likewise.
13921         (lrint_downward_test_data): Likewise.
13922         (lrint_test_downward): Likewise.
13923         (lrint_upward_test_data): Likewise.
13924         (lrint_test_upward): Likewise.
13925         (llrint_test_data): Merge in per-rounding-mode tests and results
13926         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13927         llrint_downward_test_data and llrint_upward_test_data.
13928         (llrint_test): Use ALL_RM_TEST.
13929         (llrint_tonearest_test_data): Remove.
13930         (llrint_test_tonearest): Likewise.
13931         (llrint_towardzero_test_data): Likewise.
13932         (llrint_test_towardzero): Likewise.
13933         (llrint_downward_test_data): Likewise.
13934         (llrint_test_downward): Likewise.
13935         (llrint_upward_test_data): Likewise.
13936         (llrint_test_upward): Likewise.
13937         (rint_test_data): Merge in per-rounding-mode tests and results
13938         from rint_tonearest_test_data, rint_towardzero_test_data,
13939         rint_downward_test_data and rint_upward_test_data.  Add
13940         per-rounding-mode results for tests not in those arrays.
13941         (rint_test): Use ALL_RM_TEST.
13942         (rint_tonearest_test_data): Remove.
13943         (rint_test_tonearest): Likewise.
13944         (rint_towardzero_test_data): Likewise.
13945         (rint_test_towardzero): Likewise.
13946         (rint_downward_test_data): Likewise.
13947         (rint_test_downward): Likewise.
13948         (rint_upward_test_data): Likewise.
13949         (rint_test_upward): Likewise.
13950         (main): Don't call removed functions.
13951
13952 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13953
13954         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13955         "Compiled on ..." crapola.  It is anti-useful.
13956
13957 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13958
13959         * scripts/evaluate-test.sh: Handle fourth argument to determine
13960         whether test run should stop on failure.
13961         * Makeconfig (stop-on-test-failure): New variable.
13962         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13963         $(stop-on-test-failure).
13964         * Makefile (tests): Give a summary of results from testing and
13965         exit with failure status if they include an ERROR or FAIL.
13966         (xtests): Likewise.
13967         * manual/install.texi (Configuring and compiling): Mention
13968         stop-on-test-failure=y.
13969         * INSTALL: Regenerated.
13970
13971 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13972
13973         * scripts/versionlist.awk: New file.
13974         * Makerules [$(build-shared) = yes]
13975         (postclean-generated): Add Versions.def, not Versions.def.v and
13976         Versions.def.v.i.
13977         ($(common-objpfx)Versions.def.v.i): Target removed.
13978         ($(common-objpfx)Versions.def): New target.
13979         ($(common-objpfx)Versions.all): Depend on that rather that
13980         $(common-objpfx)Versions.def.v.
13981         * Versions.def: File removed.
13982
13983         * Makeconfig (+gccwarn): Add -Wundef.
13984         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13985         a dl-sysdep.h breaking its contract.
13986         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13987         * include/stackinfo.h: New file.
13988         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13989         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13990         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13991         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13992         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13993         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13994         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13995         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13996         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13997         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13998         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13999         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14000         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14001         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14002         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14003
14004 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14005
14006         [BZ #16707]
14007         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14008         implementation.
14009         * math/libm-test.inc (round_test_data): Add more tests.
14010
14011         [BZ #16706]
14012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14013         implementation.
14014         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14015
14016         [BZ #16701]
14017         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14018         implementation.
14019         * math/libm-test.inc (ceil_test_data): Add more tests.
14020
14021         * math/libm-test.inc (trunc_test_data): Add more tests related to
14022         BZ#16414.
14023
14024 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14025
14026         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14027         with #if rather than #ifdef.
14028         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14029
14030 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14031
14032         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14033         first.  Disable AVX-512 GCC support if assembler doesn't support
14034         it.
14035         * sysdeps/x86_64/configure: Regenerated.
14036
14037 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14038
14039         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14040         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14041         (__old_pthread_attr_setstack): Likewise.
14042         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14043         [!_STACK_GROWS_DOWN]: Likewise.
14044
14045 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14046
14047         * config.make.in (have-bash2): Delete.
14048         * configure.ac (libc_cv_have_bash2): Delete.
14049         * configure: Regenerate.
14050         * elf/Makefile (common-ldd-rewrite): Rename to ...
14051         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14052         (sh-ldd-rewrite): Delete.
14053         (bash-ldd-rewrite): Delete.
14054         (have-bash2): Delete checks.
14055         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14056         ldd-rewrite.
14057
14058         * config.make.in (have-ksh): Delete.
14059         (KSH): Delete.
14060         * configure.ac (libc_cv_have_ksh): Delete.
14061         * configure: Regenerate.
14062
14063         * elf/Makefile: Delete $(have-ksh) check.
14064         ($(objpfx)sotruss): Change KSH to BASH.
14065         * elf/sotruss.ksh: Rename to ...
14066         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14067         function style to match POSIX.  Drop ksh vim mode setting.
14068
14069         * manual/time.texi (Specifying the Time Zone with TZ): Change
14070         Tuesday to Thursday.
14071
14072         * debug/tst-longjmp_chk2.c: Update header comment.
14073         (stackoverflow_handler): Add comment.  Call assert on pass value.
14074
14075 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14076
14077         [BZ #16194]
14078         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14079         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14080         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14081         (La_x86_64_vector): Add zmm.
14082         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14083         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14084         ($(objpfx)tst-audit10): New target.
14085         ($(objpfx)tst-audit10.out): Likewise.
14086         (tst-audit10-ENV): New.
14087         (AVX512-CFLAGS): Likewise.
14088         (CFLAGS-tst-audit10.c): Likewise.
14089         (CFLAGS-tst-auditmod10a.c): Likewise.
14090         (CFLAGS-tst-auditmod10b.c): Likewise.
14091         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14092         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14093         * sysdeps/x86_64/configure: Regenerated.
14094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14095         AVX-512 zmm register support.
14096         (_dl_x86_64_save_sse): Likewise.
14097         (_dl_x86_64_restore_sse): Likewise.
14098         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14099         size vector registers.
14100         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14101         (ZMM_SIZE): Likewise.
14102         * sysdeps/x86_64/tst-audit10.c: New file.
14103         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14104         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14105
14106 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14107
14108         * configure.ac (HAVE_EHDR_START): New check.
14109         * configure: Regenerated.
14110         * config.h.in (HAVE_EHDR_START): New #undef.
14111         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14112         assuming the lowest-addressed segment maps the start of the file.
14113
14114 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14115
14116         * INSTALL: Regenerated.
14117
14118 2014-03-13  Will Newton  <will.newton@linaro.org>
14119
14120         * manual/setjmp.texi (System V contexts): Improve
14121         clarity and grammar of documentation.
14122
14123 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14124
14125         [BZ #16381]
14126         * elf/Makefile (tests): Add tst-pie2.
14127         (tests-pie): Add tst-pie2.
14128         * elf/tst-pie2.c: New file.
14129         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14130         for ET_EXEC.
14131         * elf/rtld.c (map_doit): Load executable as lt_executable.
14132         (dl_main): Likewise.
14133
14134 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14135
14136         [BZ #16642]
14137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14138         (__ASSUME_PSELECT): Undefine.
14139
14140 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14141
14142         [BZ #16689]
14143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14144         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14145         static build.
14146         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14147         selector for static builds.
14148
14149 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14150
14151         [BZ #16695]
14152         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14153         key in the buffer.
14154
14155 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14156
14157         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14158         IFUNC selector for static builds.
14159
14160 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14161
14162         * sysdeps/mips/math_private.h [__mips_hard_float]
14163         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14164         libc_feresetround_mips_ctx.
14165         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14166         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14167         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14168
14169         [BZ #16677]
14170         * math/s_nextafter.c (__nextafter): Do not return value from
14171         overflowing computation.
14172         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14173         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14174         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14175         Likewise.
14176         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14177         Likewise.
14178         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14179         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14180
14181 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14182
14183         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14184         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14185         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14186         the new mov targetting sp.
14187
14188 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14189
14190         [BZ #16683]
14191         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14192         Define it for static builds as well.
14193         (NO_BZERO_IMPL): Likewise.
14194
14195 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14196
14197         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14198         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14199         multiarch strspn for PPC64.
14200         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14201         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14203         (__libc_ifunc_impl_list): Likewise.
14204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14205         multiarch optimizations
14206         * string/strspn.c (strspn): Using macro to redefine symbol name.
14207
14208 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14210
14211         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14212         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14213         multiarch strncat for PPC64.
14214         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14215         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14217         (__libc_ifunc_impl_list): Likewise.
14218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14219         multiarch optimizations
14220
14221 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14222
14223         [BZ #16639]
14224         * nscd/nscd.service: Make service type forking.
14225
14226 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14227
14228         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14229         sign in non default rounding modes.
14230         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14231
14232 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14233
14234         * math/libm-test.inc (ALL_RM_TEST): New macro.
14235         (ceil_test): Use ALL_RM_TEST.
14236         (cimag_test): Likewise.
14237         (conj_test): Likewise.
14238         (copysign_test): Likewise.
14239         (cproj_test): Likewise.
14240         (creal_test): Likewise.
14241         (fabs_test): Likewise.
14242         (floor_test): Likewise.
14243         (fmax_test): Likewise.
14244         (fmin_test): Likewise.
14245         (fmod_test): Likewise.
14246         (fpclassify_test): Likewise.
14247         (frexp_test): Likewise.
14248         (ilogb_test): Likewise.
14249         (isfinite_test): Likewise.
14250         (finite_test): Likewise.
14251         (isgreater_test): Likewise.
14252         (isgreaterequal_test): Likewise.
14253         (isinf_test): Likewise.
14254         (isless_test): Likewise.
14255         (islessequal_test): Likewise.
14256         (islessgreater_test): Likewise.
14257         (isnan_test): Likewise.
14258         (isnormal_test): Likewise.
14259         (issignaling_test): Likewise.
14260         (isunordered_test): Likewise.
14261         (logb_test): Likewise.
14262         (logb_downward_test_data): Remove.
14263         (logb_test_downward): Likewise.
14264         (lround_test): Use ALL_RM_TEST.
14265         (llround_test): Likewise.
14266         (modf_test): Likewise.
14267         (nexttoward_test): Likewise.
14268         (remainder_test): Likewise.
14269         (drem_test): Likewise.
14270         (remainder_tonearest_test_data): Likewise.
14271         (remainder_test_tonearest): Likewise.
14272         (drem_test_tonearest): Likewise.
14273         (remainder_towardzero_test_data): Likewise.
14274         (remainder_test_towardzero): Likewise.
14275         (drem_test_towardzero): Likewise.
14276         (remainder_downward_test_data): Likewise.
14277         (remainder_test_downward): Likewise.
14278         (drem_test_downward): Likewise.
14279         (remainder_upward_test_data): Likewise.
14280         (remainder_test_upward): Likewise.
14281         (drem_test_upward): Likewise.
14282         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14283         (round_test): Use ALL_RM_TEST.
14284         (signbit_test): Likewise.
14285         (trunc_test): Likewise.
14286         (significand_test): Likewise.
14287         (main): Don't call removed functions.
14288
14289 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14290
14291         [BZ #16674]
14292         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14293         || __USE_XOPEN2K8].
14294         (ILL_ILLOPN): Likewise.
14295         (ILL_ILLADR): Likewise.
14296         (ILL_ILLTRP): Likewise.
14297         (ILL_PRVOPC): Likewise.
14298         (ILL_PRVREG): Likewise.
14299         (ILL_COPROC): Likewise.
14300         (ILL_BADSTK): Likewise.
14301         (FPE_INTDIV): Likewise.
14302         (FPE_INTOVF): Likewise.
14303         (FPE_FLTDIV): Likewise.
14304         (FPE_FLTOVF): Likewise.
14305         (FPE_FLTUND): Likewise.
14306         (FPE_FLTRES): Likewise.
14307         (FPE_FLTINV): Likewise.
14308         (FPE_FLTSUB): Likewise.
14309         (SEGV_MAPERR): Likewise.
14310         (SEGV_ACCERR): Likewise.
14311         (BUS_ADRALN): Likewise.
14312         (BUS_ADRERR): Likewise.
14313         (BUS_OBJERR): Likewise.
14314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14315         (TRAP_TRACE): Likewise.
14316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14317         __USE_XOPEN2K8].
14318         (CLD_KILLED): Likewise.
14319         (CLD_DUMPED): Likewise.
14320         (CLD_TRAPPED): Likewise.
14321         (CLD_STOPPED): Likewise.
14322         (CLD_CONTINUED): Likewise.
14323         (POLL_IN): Likewise.
14324         (POLL_OUT): Likewise.
14325         (POLL_MSG): Likewise.
14326         (POLL_ERR): Likewise.
14327         (POLL_PRI): Likewise.
14328         (POLL_HUP): Likewise.
14329         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14330         Likewise.
14331         (ILL_ILLOPN): Likewise.
14332         (ILL_ILLADR): Likewise.
14333         (ILL_ILLTRP): Likewise.
14334         (ILL_PRVOPC): Likewise.
14335         (ILL_PRVREG): Likewise.
14336         (ILL_COPROC): Likewise.
14337         (ILL_BADSTK): Likewise.
14338         (FPE_INTDIV): Likewise.
14339         (FPE_INTOVF): Likewise.
14340         (FPE_FLTDIV): Likewise.
14341         (FPE_FLTOVF): Likewise.
14342         (FPE_FLTUND): Likewise.
14343         (FPE_FLTRES): Likewise.
14344         (FPE_FLTINV): Likewise.
14345         (FPE_FLTSUB): Likewise.
14346         (SEGV_MAPERR): Likewise.
14347         (SEGV_ACCERR): Likewise.
14348         (BUS_ADRALN): Likewise.
14349         (BUS_ADRERR): Likewise.
14350         (BUS_OBJERR): Likewise.
14351         (BUS_MCEERR_AR): Likewise.
14352         (BUS_MCEERR_AO): Likewise.
14353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14354         (TRAP_TRACE): Likewise.
14355         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14356         __USE_XOPEN2K8].
14357         (CLD_KILLED): Likewise.
14358         (CLD_DUMPED): Likewise.
14359         (CLD_TRAPPED): Likewise.
14360         (CLD_STOPPED): Likewise.
14361         (CLD_CONTINUED): Likewise.
14362         (POLL_IN): Likewise.
14363         (POLL_OUT): Likewise.
14364         (POLL_MSG): Likewise.
14365         (POLL_ERR): Likewise.
14366         (POLL_PRI): Likewise.
14367         (POLL_HUP): Likewise.
14368         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14369         (ILL_ILLOPN): Likewise.
14370         (ILL_ILLADR): Likewise.
14371         (ILL_ILLTRP): Likewise.
14372         (ILL_PRVOPC): Likewise.
14373         (ILL_PRVREG): Likewise.
14374         (ILL_COPROC): Likewise.
14375         (ILL_BADSTK): Likewise.
14376         (FPE_INTDIV): Likewise.
14377         (FPE_INTOVF): Likewise.
14378         (FPE_FLTDIV): Likewise.
14379         (FPE_FLTOVF): Likewise.
14380         (FPE_FLTUND): Likewise.
14381         (FPE_FLTRES): Likewise.
14382         (FPE_FLTINV): Likewise.
14383         (FPE_FLTSUB): Likewise.
14384         (SEGV_MAPERR): Likewise.
14385         (SEGV_ACCERR): Likewise.
14386         (BUS_ADRALN): Likewise.
14387         (BUS_ADRERR): Likewise.
14388         (BUS_OBJERR): Likewise.
14389         (BUS_MCEERR_AR): Likewise.
14390         (BUS_MCEERR_AO): Likewise.
14391         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14392         (TRAP_TRACE): Likewise.
14393         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14394         __USE_XOPEN2K8].
14395         (CLD_KILLED): Likewise.
14396         (CLD_DUMPED): Likewise.
14397         (CLD_TRAPPED): Likewise.
14398         (CLD_STOPPED): Likewise.
14399         (CLD_CONTINUED): Likewise.
14400         (POLL_IN): Likewise.
14401         (POLL_OUT): Likewise.
14402         (POLL_MSG): Likewise.
14403         (POLL_ERR): Likewise.
14404         (POLL_PRI): Likewise.
14405         (POLL_HUP): Likewise.
14406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14407         Likewise.
14408         (ILL_ILLOPN): Likewise.
14409         (ILL_ILLADR): Likewise.
14410         (ILL_ILLTRP): Likewise.
14411         (ILL_PRVOPC): Likewise.
14412         (ILL_PRVREG): Likewise.
14413         (ILL_COPROC): Likewise.
14414         (ILL_BADSTK): Likewise.
14415         (ILL_BADIADDR): Likewise.
14416         (ILL_BREAK): Likewise.
14417         (FPE_INTDIV): Likewise.
14418         (FPE_INTOVF): Likewise.
14419         (FPE_FLTDIV): Likewise.
14420         (FPE_FLTOVF): Likewise.
14421         (FPE_FLTUND): Likewise.
14422         (FPE_FLTRES): Likewise.
14423         (FPE_FLTINV): Likewise.
14424         (FPE_FLTSUB): Likewise.
14425         (FPE_DECOVF): Likewise.
14426         (FPE_DECDIV): Likewise.
14427         (FPE_DECERR): Likewise.
14428         (FPE_INVASC): Likewise.
14429         (FPE_INVDEC): Likewise.
14430         (SEGV_MAPERR): Likewise.
14431         (SEGV_ACCERR): Likewise.
14432         (SEGV_PSTKOVF): Likewise.
14433         (BUS_ADRALN): Likewise.
14434         (BUS_ADRERR): Likewise.
14435         (BUS_OBJERR): Likewise.
14436         (BUS_MCEERR_AR): Likewise.
14437         (BUS_MCEERR_AO): Likewise.
14438         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14439         (TRAP_TRACE): Likewise.
14440         (TRAP_BRANCH): Likewise.
14441         (TRAP_HWBKPT): Likewise.
14442         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14443         __USE_XOPEN2K8].
14444         (CLD_KILLED): Likewise.
14445         (CLD_DUMPED): Likewise.
14446         (CLD_TRAPPED): Likewise.
14447         (CLD_STOPPED): Likewise.
14448         (CLD_CONTINUED): Likewise.
14449         (POLL_IN): Likewise.
14450         (POLL_OUT): Likewise.
14451         (POLL_MSG): Likewise.
14452         (POLL_ERR): Likewise.
14453         (POLL_PRI): Likewise.
14454         (POLL_HUP): Likewise.
14455         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14456         (ILL_ILLOPN): Likewise.
14457         (ILL_ILLADR): Likewise.
14458         (ILL_ILLTRP): Likewise.
14459         (ILL_PRVOPC): Likewise.
14460         (ILL_PRVREG): Likewise.
14461         (ILL_COPROC): Likewise.
14462         (ILL_BADSTK): Likewise.
14463         (FPE_INTDIV): Likewise.
14464         (FPE_INTOVF): Likewise.
14465         (FPE_FLTDIV): Likewise.
14466         (FPE_FLTOVF): Likewise.
14467         (FPE_FLTUND): Likewise.
14468         (FPE_FLTRES): Likewise.
14469         (FPE_FLTINV): Likewise.
14470         (FPE_FLTSUB): Likewise.
14471         (SEGV_MAPERR): Likewise.
14472         (SEGV_ACCERR): Likewise.
14473         (BUS_ADRALN): Likewise.
14474         (BUS_ADRERR): Likewise.
14475         (BUS_OBJERR): Likewise.
14476         (BUS_MCEERR_AR): Likewise.
14477         (BUS_MCEERR_AO): Likewise.
14478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14479         (TRAP_TRACE): Likewise.
14480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14481         __USE_XOPEN2K8].
14482         (CLD_KILLED): Likewise.
14483         (CLD_DUMPED): Likewise.
14484         (CLD_TRAPPED): Likewise.
14485         (CLD_STOPPED): Likewise.
14486         (CLD_CONTINUED): Likewise.
14487         (POLL_IN): Likewise.
14488         (POLL_OUT): Likewise.
14489         (POLL_MSG): Likewise.
14490         (POLL_ERR): Likewise.
14491         (POLL_PRI): Likewise.
14492         (POLL_HUP): Likewise.
14493         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14494         (ILL_ILLOPN): Likewise.
14495         (ILL_ILLADR): Likewise.
14496         (ILL_ILLTRP): Likewise.
14497         (ILL_PRVOPC): Likewise.
14498         (ILL_PRVREG): Likewise.
14499         (ILL_COPROC): Likewise.
14500         (ILL_BADSTK): Likewise.
14501         (FPE_INTDIV): Likewise.
14502         (FPE_INTOVF): Likewise.
14503         (FPE_FLTDIV): Likewise.
14504         (FPE_FLTOVF): Likewise.
14505         (FPE_FLTUND): Likewise.
14506         (FPE_FLTRES): Likewise.
14507         (FPE_FLTINV): Likewise.
14508         (FPE_FLTSUB): Likewise.
14509         (SEGV_MAPERR): Likewise.
14510         (SEGV_ACCERR): Likewise.
14511         (BUS_ADRALN): Likewise.
14512         (BUS_ADRERR): Likewise.
14513         (BUS_OBJERR): Likewise.
14514         (BUS_MCEERR_AR): Likewise.
14515         (BUS_MCEERR_AO): Likewise.
14516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14517         (TRAP_TRACE): Likewise.
14518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14519         __USE_XOPEN2K8].
14520         (CLD_KILLED): Likewise.
14521         (CLD_DUMPED): Likewise.
14522         (CLD_TRAPPED): Likewise.
14523         (CLD_STOPPED): Likewise.
14524         (CLD_CONTINUED): Likewise.
14525         (POLL_IN): Likewise.
14526         (POLL_OUT): Likewise.
14527         (POLL_MSG): Likewise.
14528         (POLL_ERR): Likewise.
14529         (POLL_PRI): Likewise.
14530         (POLL_HUP): Likewise.
14531         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14532         (ILL_ILLOPN): Likewise.
14533         (ILL_ILLADR): Likewise.
14534         (ILL_ILLTRP): Likewise.
14535         (ILL_PRVOPC): Likewise.
14536         (ILL_PRVREG): Likewise.
14537         (ILL_COPROC): Likewise.
14538         (ILL_BADSTK): Likewise.
14539         (FPE_INTDIV): Likewise.
14540         (FPE_INTOVF): Likewise.
14541         (FPE_FLTDIV): Likewise.
14542         (FPE_FLTOVF): Likewise.
14543         (FPE_FLTUND): Likewise.
14544         (FPE_FLTRES): Likewise.
14545         (FPE_FLTINV): Likewise.
14546         (FPE_FLTSUB): Likewise.
14547         (SEGV_MAPERR): Likewise.
14548         (SEGV_ACCERR): Likewise.
14549         (BUS_ADRALN): Likewise.
14550         (BUS_ADRERR): Likewise.
14551         (BUS_OBJERR): Likewise.
14552         (BUS_MCEERR_AR): Likewise.
14553         (BUS_MCEERR_AO): Likewise.
14554         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14555         (TRAP_TRACE): Likewise.
14556         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14557         __USE_XOPEN2K8].
14558         (CLD_KILLED): Likewise.
14559         (CLD_DUMPED): Likewise.
14560         (CLD_TRAPPED): Likewise.
14561         (CLD_STOPPED): Likewise.
14562         (CLD_CONTINUED): Likewise.
14563         (POLL_IN): Likewise.
14564         (POLL_OUT): Likewise.
14565         (POLL_MSG): Likewise.
14566         (POLL_ERR): Likewise.
14567         (POLL_PRI): Likewise.
14568         (POLL_HUP): Likewise.
14569         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14570         (ILL_ILLOPN): Likewise.
14571         (ILL_ILLADR): Likewise.
14572         (ILL_ILLTRP): Likewise.
14573         (ILL_PRVOPC): Likewise.
14574         (ILL_PRVREG): Likewise.
14575         (ILL_COPROC): Likewise.
14576         (ILL_BADSTK): Likewise.
14577         (ILL_DBLFLT): Likewise.
14578         (ILL_HARDWALL): Likewise.
14579         (FPE_INTDIV): Likewise.
14580         (FPE_INTOVF): Likewise.
14581         (FPE_FLTDIV): Likewise.
14582         (FPE_FLTOVF): Likewise.
14583         (FPE_FLTUND): Likewise.
14584         (FPE_FLTRES): Likewise.
14585         (FPE_FLTINV): Likewise.
14586         (FPE_FLTSUB): Likewise.
14587         (SEGV_MAPERR): Likewise.
14588         (SEGV_ACCERR): Likewise.
14589         (BUS_ADRALN): Likewise.
14590         (BUS_ADRERR): Likewise.
14591         (BUS_OBJERR): Likewise.
14592         (BUS_MCEERR_AR): Likewise.
14593         (BUS_MCEERR_AO): Likewise.
14594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14595         (TRAP_TRACE): Likewise.
14596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14597         __USE_XOPEN2K8].
14598         (CLD_KILLED): Likewise.
14599         (CLD_DUMPED): Likewise.
14600         (CLD_TRAPPED): Likewise.
14601         (CLD_STOPPED): Likewise.
14602         (CLD_CONTINUED): Likewise.
14603         (POLL_IN): Likewise.
14604         (POLL_OUT): Likewise.
14605         (POLL_MSG): Likewise.
14606         (POLL_ERR): Likewise.
14607         (POLL_PRI): Likewise.
14608         (POLL_HUP): Likewise.
14609         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14610         (ILL_ILLOPN): Likewise.
14611         (ILL_ILLADR): Likewise.
14612         (ILL_ILLTRP): Likewise.
14613         (ILL_PRVOPC): Likewise.
14614         (ILL_PRVREG): Likewise.
14615         (ILL_COPROC): Likewise.
14616         (ILL_BADSTK): Likewise.
14617         (FPE_INTDIV): Likewise.
14618         (FPE_INTOVF): Likewise.
14619         (FPE_FLTDIV): Likewise.
14620         (FPE_FLTOVF): Likewise.
14621         (FPE_FLTUND): Likewise.
14622         (FPE_FLTRES): Likewise.
14623         (FPE_FLTINV): Likewise.
14624         (FPE_FLTSUB): Likewise.
14625         (SEGV_MAPERR): Likewise.
14626         (SEGV_ACCERR): Likewise.
14627         (BUS_ADRALN): Likewise.
14628         (BUS_ADRERR): Likewise.
14629         (BUS_OBJERR): Likewise.
14630         (BUS_MCEERR_AR): Likewise.
14631         (BUS_MCEERR_AO): Likewise.
14632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14633         (TRAP_TRACE): Likewise.
14634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14635         __USE_XOPEN2K8].
14636         (CLD_KILLED): Likewise.
14637         (CLD_DUMPED): Likewise.
14638         (CLD_TRAPPED): Likewise.
14639         (CLD_STOPPED): Likewise.
14640         (CLD_CONTINUED): Likewise.
14641         (POLL_IN): Likewise.
14642         (POLL_OUT): Likewise.
14643         (POLL_MSG): Likewise.
14644         (POLL_ERR): Likewise.
14645         (POLL_PRI): Likewise.
14646         (POLL_HUP): Likewise.
14647         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14648         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14649
14650         [BZ #16670]
14651         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14652         before #include of <time.h>.
14653         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14654         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14655         (test-xfail-UNIX98/sched.h/conform): Likewise.
14656
14657 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14658
14659         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14660         error absence of trapping exception support.
14661         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14662
14663 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14664
14665         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14666         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14667         * timezone/Makefile (testdata): Move definition above include of
14668         Rules.
14669         (test-zones): New variable.
14670         (tests-special): Add zone files.
14671         (build-testdata): Use $(evaluate-test).
14672
14673         * elf/Makefile (tests-special): Rename tests to end with .out.
14674         ($(objpfx)noload-mem): Likewise.
14675         ($(objpfx)tst-leaks1-mem): Likewise.
14676         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14677         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14678         $(objpfx)test-iconvconfig.out.
14679         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14680         set -e inside subshell and redirect output to file.
14681         * iconvdata/Makefile (generated): Rename tests to end with .out.
14682         Correct type.
14683         (tests-special): Rename tests to end with .out.
14684         ($(objpfx)mtrace-tst-loading): Likewise.
14685         * intl/Makefile (generated): Likewise.
14686         (tests-special): Likewise.
14687         ($(objpfx)mtrace-tst-gettext): Likewise.
14688         * misc/Makefile (generated): Likewise.
14689         (tests-special): Likewise.
14690         ($(objpfx)tst-error1-mem): Likewise.
14691         * nptl/Makefile (tests-special): Likewise.
14692         ($(objpfx)tst-stack3-mem): Likewise.
14693         (generated): Likewise.
14694         * posix/Makefile (generated): Likewise.
14695         (tests-special): Likewise.
14696         (xtests-special): Likewise.
14697         ($(objpfx)tst-fnmatch-mem): Likewise.
14698         ($(objpfx)bug-regex2-mem): Likewise.
14699         ($(objpfx)bug-regex14-mem): Likewise.
14700         ($(objpfx)bug-regex21-mem): Likewise.
14701         ($(objpfx)bug-regex31-mem): Likewise.
14702         ($(objpfx)tst-vfork3-mem): Likewise.
14703         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14704         ($(objpfx)tst-pcre-mem): Likewise.
14705         ($(objpfx)tst-boost-mem): Likewise.
14706         ($(objpfx)bug-ga2-mem): Likewise.
14707         ($(objpfx)bug-glob2-mem): Likewise.
14708         * resolv/Makefile (generate): Likewise.
14709         (tests-special): Likewise.
14710         (xtests-special): Likewise.
14711         (generated): Likewise.
14712         ($(objpfx)mtrace-tst-leaks): Likewise.
14713         ($(objpfx)mtrace-tst-leaks2): Likewise.
14714
14715         * scripts/merge-test-results.sh: New file.
14716         * Makefile (tests-special-notdir): New variable.
14717         (tests): Run merge-test-results.sh.
14718         (xtests): Likewise.
14719         * Rules (tests-special-notdir): New variable.
14720         (xtests-special-notdir): Likewise.
14721         (tests): Run merge-test-results.sh
14722         (xtests): Likewise.
14723
14724         * Makeconfig (test-xfail-name): New variable.
14725         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14726         compute variable name for expected failures.
14727         * conform/Makefile (conformtest-headers-data): New variable.
14728         (conformtest-standards): Likewise.
14729         (conformtest-headers-ISO): Likewise.
14730         (conformtest-headers-ISO99): Likewise.
14731         (conformtest-headers-ISO11): Likewise.
14732         (conformtest-headers-POSIX): Likewise.
14733         (conformtest-headers-XPG3): Likewise.
14734         (conformtest-headers-XPG4): Likewise.
14735         (conformtest-headers-UNIX98): Likewise.
14736         (conformtest-headers-XOPEN2K): Likewise.
14737         (conformtest-headers-POSIX2008): Likewise.
14738         (conformtest-headers-XOPEN2K8): Likewise.
14739         (conformtest-header-list-base): Likewise.
14740         (conformtest-header-list-tests): Likewise.
14741         (conformtest-header-base): Likewise.
14742         (conformtest-header-tests): Likewise.
14743         (tests-special): Add $(conformtest-header-list-tests).  If
14744         [$(fast-check) && !$(cross-compiling)], add
14745         $(conformtest-header-tests) instead of
14746         $(objpfx)run-conformtest.out.
14747         (generated): Add $(conformtest-header-list-base).  If
14748         [$(fast-check) && !$(cross-compiling)], add
14749         $(conformtest-header-base).  Remove previous setting.
14750         ($(conformtest-header-list-tests)): New target.
14751         (test-xfail-run-conformtest): Remove variable.
14752         ($(objpfx)run-conformtest.out): Remove target.
14753         (test-xfail-ISO11/complex.h/conform): New variable.
14754         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14755         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14756         (test-xfail-XPG3/varargs.h/conform): Likewise.
14757         (test-xfail-XPG4/varargs.h/conform): Likewise.
14758         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14759         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14760         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14761         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14762         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14763         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14764         (test-xfail-XPG3/ftw.h/conform): Likewise.
14765         (test-xfail-XPG3/grp.h/conform): Likewise.
14766         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14767         (test-xfail-XPG3/limits.h/conform): Likewise.
14768         (test-xfail-XPG3/pwd.h/conform): Likewise.
14769         (test-xfail-XPG3/search.h/conform): Likewise.
14770         (test-xfail-XPG3/signal.h/conform): Likewise.
14771         (test-xfail-XPG3/stdio.h/conform): Likewise.
14772         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14773         (test-xfail-XPG3/string.h/conform): Likewise.
14774         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14775         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14776         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14777         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14778         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14779         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14780         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14781         (test-xfail-XPG3/termios.h/conform): Likewise.
14782         (test-xfail-XPG3/time.h/conform): Likewise.
14783         (test-xfail-XPG3/unistd.h/conform): Likewise.
14784         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14785         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14786         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14787         (test-xfail-XPG4/netdb.h/conform): Likewise.
14788         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14789         (test-xfail-XPG4/signal.h/conform): Likewise.
14790         (test-xfail-XPG4/stdio.h/conform): Likewise.
14791         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14792         (test-xfail-XPG4/stropts.h/conform): Likewise.
14793         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14794         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14795         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14796         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14797         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14798         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14799         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14800         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14801         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14802         (test-xfail-XPG4/termios.h/conform): Likewise.
14803         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14804         (test-xfail-XPG4/unistd.h/conform): Likewise.
14805         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14806         (test-xfail-POSIX/sched.h/conform): Likewise.
14807         (test-xfail-POSIX/signal.h/conform): Likewise.
14808         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14809         (test-xfail-POSIX/tar.h/conform): Likewise.
14810         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14811         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14812         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14813         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14814         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14815         (test-xfail-UNIX98/sched.h/conform): Likewise.
14816         (test-xfail-UNIX98/signal.h/conform): Likewise.
14817         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14818         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14819         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14820         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14821         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14822         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14823         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14824         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14825         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14826         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14827         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14828         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14829         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14830         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14831         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14832         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14833         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14834         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14835         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14836         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14837         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14838         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14839         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14840         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14841         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14842         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14843         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14844         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14845         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14846         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14847         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14848         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14849         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14850         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14851         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14852         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14853         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14854         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14855         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14856         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14857         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14858         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14859         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14860         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14861         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14862         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14863         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14864         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14865         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14866         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14867         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14868         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14869         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14870         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14871         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14872         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14873         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14874         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14875         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14876         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14877         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14878         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14879         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14880         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14881         (conformtest-cc-flags): Likewise.
14882         ($(conformtest-header-tests): New target.
14883         * conform/check-header-lists.sh: New file.
14884         * conform/run-conformtest.sh: Remove.
14885
14886         * conform/conformtest.pl: Allow ' and \ in values given for
14887         constants.
14888         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14889         inclusion.
14890         [POSIX] (sys/types.h): Likewise.
14891         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14892         inclusion.
14893         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14894         inclusion.
14895         * conform/data/signal.h-data (SIGIO): Remove expectation.
14896         [XPG3] (SIGBUS): Do not expect.
14897         [POSIX || XPG3] (SIGPOLL): Likewise.
14898         [POSIX || XPG3] (SIGPROF): Likewise.
14899         [POSIX || XPG3] (SIGSYS): Likewise.
14900         [XPG3] (SIGTRAP): Likewise.
14901         [POSIX || XPG3] (SIGURG): Likewise.
14902         [POSIX || XPG3] (SIGVTALRM): Likewise.
14903         [POSIX || XPG3] (SIGXCPU): Likewise.
14904         [POSIX || XPG3] (SIGXFSZ): Likewise.
14905         [POSIX] (SA_SIGINFO): Expect.
14906         [XPG3] (siginfo_t): Do not expect type or contents.
14907         [POSIX] (si_pid): Do not expect element.
14908         [POSIX] (si_uid): Likewise.
14909         [POSIX] (si_addr): Likewise.
14910         [POSIX] (si_status): Likewise.
14911         [POSIX] (si_band): Likewise.
14912         [XPG4] (si_value): Likewise.
14913         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14914         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14915         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14916         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14917         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14918         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14919         [POSIX || XPG3] (ILL_COPROC): Likewise.
14920         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14921         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14922         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14923         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14924         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14925         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14926         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14927         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14928         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14929         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14930         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14931         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14932         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14933         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14934         [POSIX || XPG3] (CLD_EXITED): Likewise.
14935         [POSIX || XPG3] (CLD_KILLED): Likewise.
14936         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14937         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14938         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14939         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14940         [POSIX || XPG3] (POLL_IN): Likewise.
14941         [POSIX || XPG3] (POLL_OUT): Likewise.
14942         [POSIX || XPG3] (POLL_MSG): Likewise.
14943         [POSIX || XPG3] (POLL_ERR): Likewise.
14944         [POSIX || XPG3] (POLL_PRI): Likewise.
14945         [POSIX || XPG3] (POLL_HUP): Likewise.
14946         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14947         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14948         (SIG*): Do not allow.
14949         [XPG3] (si_*): Likewise.
14950         [XPG3] (SI_*): Likewise.
14951         [XPG3 || XPG4] (sigev_*): Likewise.
14952         [XPG3 || XPG4] (SIGEV_*): Likewise.
14953         [XPG3 || XPG4] (sival_*): Likewise.
14954         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14955         [POSIX || XPG3] (BUS_*): Likewise.
14956         [POSIX || XPG3] (CLD_*): Likewise.
14957         [POSIX || XPG3] (FPE_*): Likewise.
14958         [POSIX || XPG3] (ILL_*): Likewise.
14959         [POSIX || XPG3] (POLL_*): Likewise.
14960         [POSIX || XPG3] (SEGV_*): Likewise.
14961         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14962         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14963         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14964         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14965         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14966         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14967         Specify type and value.
14968         (TVERSLEN): Likewise.
14969         (REGTYPE): Likewise.
14970         (AREGTYPE): Likewise.
14971         (LNKTYPE): Likewise.
14972         (SYMTYPE): Likewise.
14973         (CHRTYPE): Likewise.
14974         (BLKTYPE): Likewise.
14975         (DIRTYPE): Likewise.
14976         (FIFOTYPE): Likewise.
14977         (CONTTYPE): Likewise.
14978         (TSUID): Likewise.
14979         (TSGID): Likewise.
14980         (TSVTX): Likewise.
14981         (TUREAD): Likewise.
14982         (TUWRITE): Likewise.
14983         (TUEXEC): Likewise.
14984         (TGREAD): Likewise.
14985         (TGWRITE): Likewise.
14986         (TGEXEC): Likewise.
14987         (TOREAD): Likewise.
14988         (TOWRITE): Likewise.
14989         (TOEXEC): Likewise.
14990         [POSIX] (TSVTX): Expect constant.
14991
14992 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14993
14994         * Makefile (tests): Change dependencies to ....
14995         (tests-special): ... additions to this variable.
14996         (tests): Depend on $(tests-special).
14997         * Makerules (check-abi-list): New variable.
14998         (check-abi): Depend on $(check-abi-list).
14999         [$(subdir) = elf] (tests-special): Add
15000         $(objpfx)check-abi-libc.out.
15001         [$(build-shared) = yes && subdir] (tests-special): Add
15002         $(check-abi-list).
15003         [$(build-shared) = yes && subdir] (tests): Do not depend on
15004         check-abi.
15005         * Rules (tests): Depend on $(tests-special).
15006         (xtests): Depend on $(xtests-special).
15007         * catgets/Makefile (tests): Change dependencies to ....
15008         (tests-special): ... additions to this variable.
15009         * conform/Makefile (tests): Change dependencies to ....
15010         (tests-special): ... additions to this variable.
15011         * elf/Makefile (tests): Change dependencies to ....
15012         (tests-special): ... additions to this variable.
15013         * grp/Makefile (tests): Change dependencies to ....
15014         (tests-special): ... additions to this variable.
15015         * iconv/Makefile (xtests): Change dependencies to ....
15016         (xtests-special): ... additions to this variable.
15017         * iconvdata/Makefile (tests): Change dependencies to ....
15018         (tests-special): ... additions to this variable.
15019         * intl/Makefile (tests): Change dependencies to ....
15020         (tests-special): ... additions to this variable.  Also add
15021         $(objpfx)tst-gettext.out.
15022         * io/Makefile (tests): Change dependencies to ....
15023         (tests-special): ... additions to this variable.
15024         * libio/Makefile (tests): Change dependencies to ....
15025         (tests-special): ... additions to this variable.
15026         * malloc/Makefile (tests): Change dependencies to ....
15027         (tests-special): ... additions to this variable.
15028         * misc/Makefile (tests): Change dependencies to ....
15029         (tests-special): ... additions to this variable.
15030         * nptl/Makefile (tests): Change dependencies to ....
15031         (tests-special): ... additions to this variable.
15032         * nptl_db/Makefile (tests): Change dependencies to ....
15033         (tests-special): ... additions to this variable.
15034         * posix/Makefile (tests): Change dependencies to ....
15035         (tests-special): ... additions to this variable.
15036         (xtests): Change dependencies to ....
15037         (xtests-special): ... additions to this variable.
15038         * resolv/Makefile (tests): Change dependencies to ....
15039         (tests-special): ... additions to this variable.
15040         (xtests): Change dependencies to ....
15041         (xtests-special): ... additions to this variable.
15042         * stdio-common/Makefile (tests): Change dependencies to ....
15043         (tests-special): ... additions to this variable.
15044         (do-tst-unbputc): Remove target.
15045         (do-tst-printf): Likewise.
15046         * stdlib/Makefile (tests): Change dependencies to ....
15047         (tests-special): ... additions to this variable.
15048         * string/Makefile (tests): Change dependencies to ....
15049         (tests-special): ... additions to this variable.
15050         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15051         (tests-special): ... additions to this variable.
15052
15053         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15054         whole file.
15055         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15056         whole file.
15057         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15058         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15059
15060         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15061         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15062         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15063         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15064         * conform/data/libgen.h-data [XPG3]: Likewise.
15065         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15066         * conform/data/ndbm.h-data [XPG3]: Likewise.
15067         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15068         * conform/data/netdb.h-data [XPG3]: Likewise.
15069         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15070         * conform/data/poll.h-data [XPG3]: Likewise.
15071         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15072         * conform/data/strings.h-data [XPG3]: Likewise.
15073         * conform/data/stropts.h-data [XPG3]: Likewise.
15074         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15075         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15076         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15077         Likewise.
15078         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15079         * conform/data/sys/time.h-data [XPG3]: Likewise.
15080         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15081         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15082         * conform/data/sys/un.h-data [XPG3]: Likewise.
15083         * conform/data/syslog.h-data [XPG3]: Likewise.
15084         * conform/data/ucontext.h-data [XPG3]: Likewise.
15085         * conform/data/utmpx.h-data [XPG3]: Likewise.
15086         * conform/data/varargs.h-data [UNIX98]: Enable file.
15087
15088         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15089
15090         * math/libm-test.inc (struct test_f_f_data): Move expected results
15091         into structure for each rounding mode.
15092         (struct test_ff_f_data): Likewise.
15093         (struct test_ff_f_data_nexttoward): Likewise.
15094         (struct test_fi_f_data): Likewise.
15095         (struct test_fl_f_data): Likewise.
15096         (struct test_if_f_data): Likewise.
15097         (struct test_fff_f_data): Likewise.
15098         (struct test_c_f_data): Likewise.
15099         (struct test_f_f1_data): Likewise.
15100         (struct test_fF_f1_data): Likewise.
15101         (struct test_ffI_f1_data): Likewise.
15102         (struct test_c_c_data): Likewise.
15103         (struct test_cc_c_data): Likewise.
15104         (struct test_f_i_data): Likewise.
15105         (struct test_ff_i_data): Likewise.
15106         (struct test_f_l_data): Likewise.
15107         (struct test_f_L_data): Likewise.
15108         (struct test_fFF_11_data): Likewise.
15109         (RM_): New macro.
15110         (RM_FE_DOWNWARD): Likewise.
15111         (RM_FE_TONEAREST): Likewise.
15112         (RM_FE_TOWARDZERO): Likewise.
15113         (RM_FE_UPWARD): Likewise.
15114         (RUN_TEST_LOOP_f_f): Update references to expected results.
15115         (RUN_TEST_LOOP_2_f): Likewise.
15116         (RUN_TEST_LOOP_fff_f): Likewise.
15117         (RUN_TEST_LOOP_c_f): Likewise.
15118         (RUN_TEST_LOOP_f_f1): Likewise.
15119         (RUN_TEST_LOOP_fF_f1): Likewise.
15120         (RUN_TEST_LOOP_fI_f1): Likewise.
15121         (RUN_TEST_LOOP_ffI_f1): Likewise.
15122         (RUN_TEST_LOOP_c_c): Likewise.
15123         (RUN_TEST_LOOP_cc_c): Likewise.
15124         (RUN_TEST_LOOP_f_i): Likewise.
15125         (RUN_TEST_LOOP_f_i_tg): Likewise.
15126         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15127         (RUN_TEST_LOOP_f_b): Likewise.
15128         (RUN_TEST_LOOP_f_b_tg): Likewise.
15129         (RUN_TEST_LOOP_f_l): Likewise.
15130         (RUN_TEST_LOOP_f_L): Likewise.
15131         (RUN_TEST_LOOP_fFF_11): Likewise.
15132         * math/gen-libm-test.pl (parse_args): Output four copies of
15133         expected results for each test.
15134
15135         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15136         (__ASSUME_UTIMES): Remove.
15137         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15138         (__ASSUME_UTIMES): Likewise.
15139
15140         * math/gen-auto-libm-tests.c: Update comment on output format.
15141         (output_for_one_input_case): Generate before-rounding and
15142         after-rounding information as conditions on output flags not
15143         floating-point format.
15144         * math/auto-libm-test-out: Regenerated.
15145         * math/gen-libm-test.pl (cond_value): New function.
15146         (or_cond_value): Use cond_value.
15147         (generate_testfile): Handle conditional exceptions.
15148
15149 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15150
15151         * math/libm-test.inc (max_valid_error): New variable.
15152         (init_max_error): Take new argument specifying whether function
15153         results are exactly determined.  Set max_valid_error and bound
15154         other variables for errors based on this argument.
15155         (set_max_error): Do not record results above max_valid_error.
15156         (check_float_internal): Only accept errors of up to 0.5ulps if
15157         also at most max_valid_error.
15158         (START): Take new argument EXACT and pass it to init_max_error.
15159         (acos_test): Update call to START.
15160         (acos_test_tonearest): Likewise.
15161         (acos_test_towardzero): Likewise.
15162         (acos_test_downward): Likewise.
15163         (acos_test_upward): Likewise.
15164         (acosh_test): Likewise.
15165         (asin_test): Likewise.
15166         (asin_test_tonearest): Likewise.
15167         (asin_test_towardzero): Likewise.
15168         (asin_test_downward): Likewise.
15169         (asin_test_upward): Likewise.
15170         (asinh_test): Likewise.
15171         (atan_test): Likewise.
15172         (atanh_test): Likewise.
15173         (atan2_test): Likewise.
15174         (cabs_test): Likewise.
15175         (cacos_test): Likewise.
15176         (cacosh_test): Likewise.
15177         (carg_test): Likewise.
15178         (casin_test): Likewise.
15179         (casinh_test): Likewise.
15180         (catan_test): Likewise.
15181         (catanh_test): Likewise.
15182         (cbrt_test): Likewise.
15183         (ccos_test): Likewise.
15184         (ccosh_test): Likewise.
15185         (ceil_test): Likewise.
15186         (cexp_test): Likewise.
15187         (cimag_test): Likewise.
15188         (clog_test): Likewise.
15189         (clog10_test): Likewise.
15190         (conj_test): Likewise.
15191         (copysign_test): Likewise.
15192         (cos_test): Likewise.
15193         (cos_test_tonearest): Likewise.
15194         (cos_test_towardzero): Likewise.
15195         (cos_test_downward): Likewise.
15196         (cos_test_upward): Likewise.
15197         (cosh_test): Likewise.
15198         (cosh_test_tonearest): Likewise.
15199         (cosh_test_towardzero): Likewise.
15200         (cosh_test_downward): Likewise.
15201         (cosh_test_upward): Likewise.
15202         (cpow_test): Likewise.
15203         (cproj_test): Likewise.
15204         (creal_test): Likewise.
15205         (csin_test): Likewise.
15206         (csinh_test): Likewise.
15207         (csqrt_test): Likewise.
15208         (ctan_test): Likewise.
15209         (ctan_test_tonearest): Likewise.
15210         (ctan_test_towardzero): Likewise.
15211         (ctan_test_downward): Likewise.
15212         (ctan_test_upward): Likewise.
15213         (ctanh_test): Likewise.
15214         (ctanh_test_tonearest): Likewise.
15215         (ctanh_test_towardzero): Likewise.
15216         (ctanh_test_downward): Likewise.
15217         (ctanh_test_upward): Likewise.
15218         (erf_test): Likewise.
15219         (erfc_test): Likewise.
15220         (exp_test): Likewise.
15221         (exp_test_tonearest): Likewise.
15222         (exp_test_towardzero): Likewise.
15223         (exp_test_downward): Likewise.
15224         (exp_test_upward): Likewise.
15225         (exp10_test): Likewise.
15226         (exp10_test_tonearest): Likewise.
15227         (exp10_test_towardzero): Likewise.
15228         (exp10_test_downward): Likewise.
15229         (exp10_test_upward): Likewise.
15230         (pow10_test): Likewise.
15231         (exp2_test): Likewise.
15232         (expm1_test): Likewise.
15233         (expm1_test_tonearest): Likewise.
15234         (expm1_test_towardzero): Likewise.
15235         (expm1_test_downward): Likewise.
15236         (expm1_test_upward): Likewise.
15237         (fabs_test): Likewise.
15238         (fdim_test): Likewise.
15239         (floor_test): Likewise.
15240         (fma_test): Likewise.
15241         (fma_test_towardzero): Likewise.
15242         (fma_test_downward): Likewise.
15243         (fma_test_upward): Likewise.
15244         (fmax_test): Likewise.
15245         (fmin_test): Likewise.
15246         (fmod_test): Likewise.
15247         (fpclassify_test): Likewise.
15248         (frexp_test): Likewise.
15249         (hypot_test): Likewise.
15250         (ilogb_test): Likewise.
15251         (isfinite_test): Likewise.
15252         (finite_test): Likewise.
15253         (isgreater_test): Likewise.
15254         (isgreaterequal_test): Likewise.
15255         (isinf_test): Likewise.
15256         (isless_test): Likewise.
15257         (islessequal_test): Likewise.
15258         (islessgreater_test): Likewise.
15259         (isnan_test): Likewise.
15260         (isnormal_test): Likewise.
15261         (issignaling_test): Likewise.
15262         (isunordered_test): Likewise.
15263         (j0_test): Likewise.
15264         (j1_test): Likewise.
15265         (jn_test): Likewise.
15266         (ldexp_test): Likewise.
15267         (lgamma_test): Likewise.
15268         (gamma_test): Likewise.
15269         (lrint_test): Likewise.
15270         (lrint_test_tonearest): Likewise.
15271         (lrint_test_towardzero): Likewise.
15272         (lrint_test_downward): Likewise.
15273         (lrint_test_upward): Likewise.
15274         (llrint_test): Likewise.
15275         (llrint_test_tonearest): Likewise.
15276         (llrint_test_towardzero): Likewise.
15277         (llrint_test_downward): Likewise.
15278         (llrint_test_upward): Likewise.
15279         (log_test): Likewise.
15280         (log10_test): Likewise.
15281         (log1p_test): Likewise.
15282         (log2_test): Likewise.
15283         (logb_test): Likewise.
15284         (logb_test_downward): Likewise.
15285         (lround_test): Likewise.
15286         (llround_test): Likewise.
15287         (modf_test): Likewise.
15288         (nearbyint_test): Likewise.
15289         (nextafter_test): Likewise.
15290         (nexttoward_test): Likewise.
15291         (pow_test): Likewise.
15292         (pow_test_tonearest): Likewise.
15293         (pow_test_towardzero): Likewise.
15294         (pow_test_downward): Likewise.
15295         (pow_test_upward): Likewise.
15296         (remainder_test): Likewise.
15297         (drem_test): Likewise.
15298         (remainder_test_tonearest): Likewise.
15299         (drem_test_tonearest): Likewise.
15300         (remainder_test_towardzero): Likewise.
15301         (drem_test_towardzero): Likewise.
15302         (remainder_test_downward): Likewise.
15303         (drem_test_downward): Likewise.
15304         (remainder_test_upward): Likewise.
15305         (drem_test_upward): Likewise.
15306         (remquo_test): Likewise.
15307         (rint_test): Likewise.
15308         (rint_test_tonearest): Likewise.
15309         (rint_test_towardzero): Likewise.
15310         (rint_test_downward): Likewise.
15311         (rint_test_upward): Likewise.
15312         (round_test): Likewise.
15313         (scalb_test): Likewise.
15314         (scalbn_test): Likewise.
15315         (scalbln_test): Likewise.
15316         (signbit_test): Likewise.
15317         (sin_test): Likewise.
15318         (sin_test_tonearest): Likewise.
15319         (sin_test_towardzero): Likewise.
15320         (sin_test_downward): Likewise.
15321         (sin_test_upward): Likewise.
15322         (sincos_test): Likewise.
15323         (sinh_test): Likewise.
15324         (sinh_test_tonearest): Likewise.
15325         (sinh_test_towardzero): Likewise.
15326         (sinh_test_downward): Likewise.
15327         (sinh_test_upward): Likewise.
15328         (sqrt_test): Likewise.
15329         (sqrt_test_tonearest): Likewise.
15330         (sqrt_test_towardzero): Likewise.
15331         (sqrt_test_downward): Likewise.
15332         (sqrt_test_upward): Likewise.
15333         (tan_test): Likewise.
15334         (tan_test_tonearest): Likewise.
15335         (tan_test_towardzero): Likewise.
15336         (tan_test_downward): Likewise.
15337         (tan_test_upward): Likewise.
15338         (tanh_test): Likewise.
15339         (tgamma_test): Likewise.
15340         (trunc_test): Likewise.
15341         (y0_test): Likewise.
15342         (y1_test): Likewise.
15343         (yn_test): Likewise.
15344         (significand_test): Likewise.
15345
15346         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15347         individual tests in comment.
15348         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15349         (prev_max_error): New variable.
15350         (prev_real_max_error): Likewise.
15351         (prev_imag_max_error): Likewise.
15352         (compare_ulp_data): Don't refer to test names in comment.
15353         (find_test_ulps): Remove function.
15354         (find_function_ulps): Likewise.
15355         (find_complex_function_ulps): Likewise.
15356         (init_max_error): Take function name as argument.  Look up ulps
15357         for that function.
15358         (print_ulps): Remove function.
15359         (print_max_error): Use prev_max_error instead of calling
15360         find_function_ulps.
15361         (print_complex_max_error): Use prev_real_max_error and
15362         prev_imag_max_error instead of calling find_complex_function_ulps.
15363         (check_float_internal): Take max_ulp parameter instead of calling
15364         find_test_ulps.  Don't call print_ulps.
15365         (check_float): Update call to check_float_internal.
15366         (check_complex): Update calls to check_float_internal.
15367         (START): Pass argument to init_max_error.
15368         * math/gen-libm-test.pl (%results): Don't include "kind"
15369         information.
15370         (parse_ulps): Don't handle ulps of individual tests.
15371         (print_ulps_file): Likewise.
15372         (output_ulps): Likewise.
15373         * math/README.libm-test: Update.
15374         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15375         individual tests.
15376         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15377         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15378         * sysdeps/arm/libm-test-ulps: Likewise.
15379         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15380         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15381         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15382         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15383         * sysdeps/microblaze/libm-test-ulps: Likewise.
15384         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15385         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15387         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15388         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15389         * sysdeps/sh/libm-test-ulps: Likewise.
15390         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15391         * sysdeps/tile/libm-test-ulps: Likewise.
15392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15393
15394 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15395
15396         * math/libm-test.inc (print_complex_max_error): Check separately
15397         whether real and imaginary errors are within allowed range and
15398         pass 0 to print_complex_function_ulps instead of value within
15399         allowed range.
15400
15401 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402
15403         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15404         formatting.
15405         (get_handles_fopen): Likewise.
15406         (do_write_test): Likewise.
15407
15408         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15409
15410         * libio/fileops.c (do_ftell): Use cached offset when
15411         available.
15412         * libio/iofwide.c (do_ftell_wide): Likewise.
15413         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15414         _IO_file_attach.
15415         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15416
15417         [BZ #16532]
15418         * libio/libioP.h (get_file_offset): New function.
15419         * libio/fileops.c (get_file_offset): Likewise.
15420         (do_ftell): Likewise.
15421         (_IO_new_file_seekoff): Split out ftell logic.
15422         * libio/wfileops.c (do_ftell_wide): Likewise.
15423         (_IO_wfile_seekoff): Split out ftell logic.
15424         * libio/tst-ftell-active-handler.c: New test case.
15425         * libio/Makefile (tests): Add it.
15426
15427 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15428
15429         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15430         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15431
15432 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15433
15434         [BZ #16639]
15435         * nscd/connections.c (nscd_init): Call do_exit.
15436         (start_threads): Call do_exit and notify_parent.
15437         (begin_drop_privileges): Call do_exit.
15438         (finish_drop_privileges): Likewise.
15439         * nscd/selinux.c (preserve_capabilities): Likewise.
15440         (install_real_capabilities): Likewise.
15441         (nscd_selinux_enabled): Likewise.
15442         (avc_create_thread): Likewise.
15443         (avc_alloc_lock): Likewise.
15444         (nscd_avc_init): Likewise.
15445         * nscd/nscd.c (parent_fd): New static variable.
15446         (main): Create a pipe between parent and child processes.
15447         Skip closing parent_fd.
15448         (monitor_child): New function.
15449         (do_exit): Likewise.
15450         (notify_parent): Likewise.
15451         * nscd/nscd.h (notify_parent): Likewise.
15452         (do_exit): Likewise.
15453
15454 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15455
15456         * malloc/malloc.c (__libc_calloc): Revert last change.
15457
15458 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15459
15460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15461
15462 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15463
15464         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15466         implementation.
15467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15468         (__libc_ifunc_impl_list): Likewise.
15469         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15470         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15471         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15472         * string/strrchr.c: Define STRRCHR.
15473
15474 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15475
15476         * benchtest/bench-strtok.c (simple_strtok): Delete.
15477         (strtok_string): Use as benchmark.
15478         * string/strtok (STRTOK): New macro.
15479
15480 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15481
15482         * manual/threads.texi: Add header and standard comments to all
15483         functions.
15484
15485         * elf/dl-lookup.c (check_match): New function.
15486         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15487         (do_lookup_x): Remove nested function check_match. Use non-nested
15488         function check_match.
15489
15490 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15491
15492         * csu/Makefile (generated, before-compile): Use += rather than =.
15493         * catgets/Makefile (generated, generated-dirs): Likewise.
15494         * debug/Makefile (generated): Likewise.
15495         * dlfcn/Makefile (generated): Likewise.
15496         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15497         * iconvdata/Makefile (before-compile, generated): Likewise.
15498         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15499         * libio/Makefile (generated): Likewise.
15500         * malloc/Makefile (generated): Likewise.
15501         * manual/Makefile (generated, generated-dirs): Likewise.
15502         * misc/Makefile (generated): Likewise.
15503         * posix/Makefile (generated): Likewise.
15504         * resolv/Makefile (generated): Likewise.
15505         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15506         * timezone/Makefile (generated, generated-dirs): Likewise.
15507
15508         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15509
15510 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15511
15512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15513         power8 implementation.
15514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15515         file: POWER8 llround ifunc implementation.
15516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15517         (__lllround): Add POWER8 implementation.
15518         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15519         POWER8 llround implementation.
15520
15521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15522         power8 implementation.
15523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15524         file: POWER8 llrint ifunc implementation.
15525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15526         Add POWER8 implementation.
15527         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15528         POWER8 llrint implementation.
15529
15530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15531         power8 implementation.
15532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15533         file: POWER8 finite ifunc implementation.
15534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15535         Add POWER8 implementation.
15536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15537         Likewise.
15538         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15539         POWER8 finite implementation.
15540         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15541
15542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15543         power8 implementation.
15544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15545         file: POWER8 isinf ifunc implementation.
15546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15547         POWER8 implementation.
15548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15549         Likewise.
15550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15551         isinf implementation.
15552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15553
15554         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15555         (INIT_ARCH): Add hwcap2 initialization.
15556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15557         power8 implementation.
15558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15559         file: POWER8 isnan ifunc implementation.
15560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15561         POWER8 implementation.
15562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15563         Likewise.
15564         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15565         isnan implementation.
15566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15567
15568 2014-02-27  Joey Ye  <joey.ye@arm.com>
15569
15570         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15571         (_FP_NANFRAC_Q): Set to zero.
15572
15573 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15574
15575         [BZ #16623]
15576         * math/auto-libm-test-in: New test inputs.
15577         * math/auto-libm-test-out: Regenerate.
15578         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15579         and DA.
15580         (__cos): Likewise.
15581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15582
15583 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15584
15585         * scripts/evaluate-test.sh: Take new argument indicating whether
15586         failure is expected.
15587         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15588         indicating whether failure is expected.
15589         * conform/Makefile (test-xfail-run-conformtest): New variable.
15590         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15591         level.
15592         * posix/Makefile (test-xfail-annexc): New variable.
15593         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15594
15595 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15596
15597         * argp/Makefile: Include Makeconfig immediately after defining
15598         subdir.
15599         * assert/Makefile: Likewise.
15600         * benchtests/Makefile: Likewise.
15601         * catgets/Makefile: Likewise.
15602         * conform/Makefile: Likewise.
15603         * crypt/Makefile: Likewise.
15604         * csu/Makefile: Likewise.
15605         (all): Remove target.
15606         * ctype/Makefile: Include Makeconfig immediately after defining
15607         subdir.
15608         * debug/Makefile: Likewise.
15609         * dirent/Makefile: Likewise.
15610         * dlfcn/Makefile: Likewise.
15611         * gmon/Makefile: Likewise.
15612         * gnulib/Makefile: Likewise.
15613         * grp/Makefile: Likewise.
15614         * gshadow/Makefile: Likewise.
15615         * hesiod/Makefile: Likewise.
15616         * hurd/Makefile: Likewise.
15617         (all): Remove target.
15618         * iconvdata/Makefile: Include Makeconfig immediately after
15619         defining subdir.
15620         * inet/Makefile: Likewise.
15621         * intl/Makefile: Likewise.
15622         * io/Makefile: Likewise.
15623         * libio/Makefile: Likewise.
15624         (all): Remove target.
15625         * locale/Makefile: Include Makeconfig immediately after defining
15626         subdir.
15627         * login/Makefile: Likewise.
15628         * mach/Makefile: Likewise.
15629         (all): Remove target.
15630         * malloc/Makefile: Include Makeconfig immediately after defining
15631         subdir.
15632         (all): Remove target.
15633         * manual/Makefile: Include Makeconfig immediately after defining
15634         subdir.
15635         * math/Makefile: Likewise.
15636         * misc/Makefile: Likewise.
15637         * nis/Makefile: Likewise.
15638         * nss/Makefile: Likewise.
15639         * po/Makefile: Likewise.
15640         (all): Remove target.
15641         * posix/Makefile: Include Makeconfig immediately after defining
15642         subdir.
15643         * pwd/Makefile: Likewise.
15644         * resolv/Makefile: Likewise.
15645         * resource/Makefile: Likewise.
15646         * rt/Makefile: Likewise.
15647         * setjmp/Makefile: Likewise.
15648         * shadow/Makefile: Likewise.
15649         * signal/Makefile: Likewise.
15650         * socket/Makefile: Likewise.
15651         * soft-fp/Makefile: Likewise.
15652         * stdio-common/Makefile: Likewise.
15653         * stdlib/Makefile: Likewise.
15654         * streams/Makefile: Likewise.
15655         * string/Makefile: Likewise.
15656         * sunrpc/Makefile: Likewise.
15657         (all): Remove target.
15658         * sysvipc/Makefile: Include Makeconfig immediately after defining
15659         subdir.
15660         * termios/Makefile: Likewise.
15661         * time/Makefile: Likewise.
15662         * timezone/Makefile: Likewise.
15663         (all): Remove target.
15664         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15665         subdir.
15666         * wctype/Makefile: Likewise.
15667
15668 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15669
15670         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15671         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15672         (libc_feholdexcept_setround_mips): Ditto.
15673         (libc_feholdsetround): New.
15674         (libc_feholdsetroundf): New.
15675         (libc_feholdsetroundl): New.
15676         (libc_feupdateenv_test_mips): New.
15677         (libc_feupdateenv_test): New.
15678         (libc_feupdateenv_testf): New.
15679         (libc_feupdateenv_testl): New.
15680         (libc_feresetround): New.
15681         (libc_feresetroundf): New.
15682         (libc_feresetroundl): New.
15683         (libc_fetestexcept_mips): New.
15684         (libc_fetestexcept): New.
15685         (libc_fetestexceptf): New.
15686         (libc_fetestexceptl): New.
15687         (HAVE_RM_CTX): New.
15688         (libc_feholdexcept_setround_mips_ctx): New.
15689         (libc_feholdexcept_setround_ctx): New.
15690         (libc_feholdexcept_setroundf_ctx): New.
15691         (libc_feholdexcept_setroundl_ctx): New.
15692         (libc_fesetenv_mips_ctx): New.
15693         (libc_fesetenv_ctx): New.
15694         (libc_fesetenv_ctxf): New.
15695         (libc_fesetenv_ctxl): New.
15696         (libc_feupdateenv_mips_ctx): New.
15697         (libc_feupdateenv_ctx): New.
15698         (libc_feupdateenvf_ctx): New.
15699         (libc_feupdateenvl_ctx): New.
15700         (libc_feholdsetround_mips_ctx): New.
15701         (libc_feholdsetround_ctx): New.
15702         (libc_feholdsetroundf_ctx): New.
15703         (libc_feholdsetroundl_ctx): New.
15704         (libc_feresetround_mips_ctx): New.
15705         (libc_feresetround_ctx): New.
15706         (libc_feresetroundf_ctx): New.
15707         (libc_feresetroundl_ctx): New.
15708
15709 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15710
15711         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15712
15713         * manual/ipc.texi: New file.
15714         * manual/Makefile (chapters): Add ipc.
15715         * manual/job.texi: Add "Inter-Process Communication" to next.
15716         * manual/process.texi: Add "Inter-Process Communication" to prev.
15717
15718 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15719
15720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15721
15722 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15723
15724         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15725
15726         * manual/arith.texi: Fix spaces after sentences.
15727         * manual/charset.texi: Likewise.
15728         * manual/errno.texi: Likewise.
15729         * manual/install.texi: Likewise.
15730         * manual/llio.texi: Likewise.
15731         * manual/locale.texi: Likewise.
15732         * manual/maint.texi: Likewise.
15733         * manual/math.texi: Likewise.
15734         * manual/memory.texi: Likewise.
15735         * manual/message.texi: Likewise.
15736         * manual/probes.texi: Likewise.
15737         * manual/resource.texi: Likewise.
15738         * manual/signal.texi: Likewise.
15739         * manual/socket.texi: Likewise.
15740         * manual/stdio.texi: Likewise.
15741         * manual/string.texi: Likewise.
15742         * manual/time.texi: Likewise.
15743         * manual/users.texi: Likewise.
15744
15745 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15746
15747         [BZ #16632]
15748         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15749         _DEFAULT_SOURCE is defined.
15750
15751 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15752             Carlos O'Donell  <carlos@redhat.com>
15753
15754         [BZ #16613]
15755         * elf/dl-tls.c (_dl_count_modids): New function.
15756         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15757         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15758         audit library and increment generation counter.
15759         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15760         * elf/tst-audit9.c: New file.
15761         * elf/tst-auditmod9a.c: New file.
15762         * elf/tst-auditmod9b.c: New file.
15763         * elf/Makefile: Add rules to build and run tst-audit9.
15764
15765 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15766
15767         [BZ #15347]
15768         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15769
15770 2014-02-25  Will Newton  <will.newton@linaro.org>
15771
15772         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15773         (__longjmp): Restore sp and lr before restoring callee
15774         saved registers.  Add longjmp and longjmp_target
15775         SystemTap probe point.
15776         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15777         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15778         Define to zero to match jmpbuf layout.
15779         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15780         (__sigsetjmp): Save sp and lr before saving callee
15781         saved registers.  Add setjmp SystemTap probe point.
15782
15783 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15784
15785         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15786
15787 2014-02-24  Andreas Schwab  <schwab@suse.de>
15788
15789         [BZ #15804]
15790         * elf/pldd.c (wait_for_ptrace_stop): New function.
15791         (main): Call it after attaching.
15792
15793 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15794
15795         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15796         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15797         Versions files is now verboten.
15798         * hurd/Versions (libc: GLIBC_2.0):
15799         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15800         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15801         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15802         * mach/Versions: Likewise.
15803
15804         * csu/Versions: Remove unused %include.
15805         * resolv/Versions: Likewise.
15806
15807 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15808
15809         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15810         ($(objpfx)check-local-headers.out): Likewise.
15811         ($(objpfx)begin-end-check.out): Likewise.
15812         * Makerules (check-abi-%.out): Likewise.
15813         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15814         ($(objpfx)test2.cat): Likewise.
15815         ($(objpfx)de/libc.cat): Likewise.
15816         ($(objpfx)test-gencat.out): Likewise.
15817         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15818         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15819         ($(objpfx)noload-mem): Likewise.
15820         ($(objpfx)tst-pathopt.out): Likewise.
15821         ($(objpfx)tst-rtld-load-self.out): Likewise.
15822         ($(objpfx)tst-array1-cmp.out): Likewise.
15823         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15824         ($(objpfx)tst-array2-cmp.out): Likewise.
15825         ($(objpfx)tst-array3-cmp.out): Likewise.
15826         ($(objpfx)tst-array4-cmp.out): Likewise.
15827         ($(objpfx)tst-array5-cmp.out): Likewise.
15828         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15829         ($(objpfx)check-textrel.out): Likewise.
15830         ($(objpfx)check-execstack.out): Likewise.
15831         ($(objpfx)check-localplt.out): Likewise.
15832         ($(objpfx)order2-cmp.out): Likewise.
15833         ($(objpfx)tst-leaks1-mem): Likewise.
15834         ($(objpfx)tst-leaks1-static-mem): Likewise.
15835         ($(objpfx)tst-initorder-cmp.out): Likewise.
15836         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15837         ($(objpfx)tst-unused-dep.out): Likewise.
15838         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15839         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15840         * iconv/Makefile (test-iconvconfig): Likewise.
15841         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15842         ($(objpfx)iconv-test.out): Likewise.
15843         ($(objpfx)tst-tables.out): Likewise.
15844         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15845         ($(objpfx)tst-gettext.out): Likewise.
15846         ($(objpfx)tst-translit.out): Likewise.
15847         ($(objpfx)tst-gettext2.out): Likewise.
15848         ($(objpfx)tst-gettext4.out): Likewise.
15849         ($(objpfx)tst-gettext6.out): Likewise.
15850         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15851         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15852         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15853         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15854         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15855         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15856         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15857         ($(objpfx)wordexp-tst.out): Likewise.
15858         ($(objpfx)annexc.out): Likewise.
15859         ($(objpfx)tst-fnmatch-mem): Likewise.
15860         ($(objpfx)bug-regex2-mem): Likewise.
15861         ($(objpfx)bug-regex14-mem): Likewise.
15862         ($(objpfx)bug-regex21-mem): Likewise.
15863         ($(objpfx)bug-regex31-mem): Likewise.
15864         ($(objpfx)tst-vfork3-mem): Likewise.
15865         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15866         ($(objpfx)tst-pcre-mem): Likewise.
15867         ($(objpfx)tst-boost-mem): Likewise.
15868         ($(objpfx)tst-getconf.out): Likewise.
15869         ($(objpfx)bug-ga2-mem): Likewise.
15870         ($(objpfx)bug-glob2-mem): Likewise.
15871         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15872         ($(objpfx)mtrace-tst-leaks2): Likewise.
15873         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15874         ($(objpfx)tst-printf.out): Likewise.
15875         ($(objpfx)tst-setvbuf1.out): Likewise.
15876         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15877         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15878         ($(objpfx)tst-fmtmsg.out): Likewise.
15879         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15880         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15881
15882         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15883         * bits/sigaction.h [__USE_MISC]: Likewise.
15884         * bits/waitstatus.h: Update #endif comments.
15885         * ctype/ctype.h: Likewise.
15886         * dirent/dirent.h: Likewise.
15887         [__USE_MISC]: Remove redundant conditionals.
15888         * grp/grp.h: Update #endif comments.
15889         [__USE_GNU]: Remove redundant conditionals.
15890         [__USE_MISC]: Likewise.
15891         * inet/netinet/in.h [__USE_GNU]: Likewise.
15892         * io/sys/stat.h [__USE_MISC]: Likewise.
15893         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15894         * libio/bits/stdio.h: Update #endif comments.
15895         [__USE_MISC]: Remove redundant conditionals.
15896         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15897         * libio/stdio.h: Update #endif comments.
15898         [__USE_MISC]: Remove redundant conditionals.
15899         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15900         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15901         * math/math.h: Update #else and #endif comments.
15902         [__USE_MISC]: Remove redundant conditionals.
15903         * misc/sys/uio.h: Update #endif comments.
15904         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15905         * posix/glob.h [__USE_MISC]: Likewise.
15906         * posix/sys/types.h: Update #endif comments.
15907         [__USE_MISC]: Remove redundant conditionals.
15908         * posix/sys/wait.h: Update #endif comments.
15909         [__USE_MISC]: Remove redundant conditionals.
15910         * posix/unistd.h: Update #endif comments.
15911         [__USE_MISC]: Remove redundant conditionals.
15912         * pwd/pwd.h [__USE_GNU]: Likewise.
15913         [__USE_MISC]: Likewise.
15914         * resolv/netdb.h [__USE_GNU]: Likewise.
15915         * signal/signal.h: Update #endif comments.
15916         [__USE_MISC]: Remove redundant conditionals.
15917         * stdlib/stdlib.h: Update #else and #endif comments.
15918         [__USE_MISC]: Remove redundant conditionals.
15919         [__USE_GNU]: Likewise.
15920         * string/bits/string2.h [__USE_MISC]: Likewise.
15921         * string/string.h: Update #endif comments.
15922         [__USE_MISC]: Remove redundant conditionals.
15923         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15924         Likewise.
15925         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15926         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15927         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15928         Likewise.
15929         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15930         Likewise.
15931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15932         comments.
15933         [__USE_MISC]: Remove redundant conditionals.
15934         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15935         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15936         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15937         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15938         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15939         Likewise.
15940         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15941         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15942         Likewise.
15943         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15944         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15945         Likewise.
15946         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15947         Likewise.
15948         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15949         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15950         Likewise.
15951         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15952         Likewise.
15953         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15954         * sysdeps/x86/bits/string.h: Update #endif comments.
15955         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15956         conditionals.
15957         * time/sys/time.h: Update #endif comments.
15958         * time/time.h: Likewise.
15959         [__USE_MISC]: Remove redundant conditionals.
15960
15961 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15962
15963         [BZ #16600]
15964         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15965
15966 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15967
15968         * Versions.def (librt): Add GLIBC_2.17.
15969
15970 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15971
15972         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15973         synonym for _SYS_AUXV_H to allow direct inclusion.
15974         * sysdeps/sparc/bits/hwcap.h: Likewise.
15975         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15976         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15977         * sysdeps/sparc/sysdep.h: Likewise.
15978
15979 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15980
15981         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15982
15983 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15984
15985         * benchtests/bench-strrchr.c: Print length instead of position.
15986
15987 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15988
15989         [BZ #16611]
15990         * sysdeps/unix/sysv/linux/kernel-features.h
15991         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15992         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15993         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15994         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15995         Likewise.
15996         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15997         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15998         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15999         (__ASSUME_SENDMMSG): Define instead of using previous
16000         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16001         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16002         (__ASSUME_SENDMMSG_SYSCALL): Define.
16003         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16004         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16005         Likewise.
16006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16007         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16008         Likewise.
16009         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16010         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16011         Likewise.
16012         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16013         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16014         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16015         [__ASSUME_SENDMMSG]: Change conditionals to
16016         [__ASSUME_SENDMMSG_SOCKETCALL].
16017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16018         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16019         Define.
16020         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16021         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16022         Likewise.
16023         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16024         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16025         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16026         [!__ASSUME_SENDMMSG]: Change conditional to
16027         [!__ASSUME_SENDMMSG_SOCKETCALL].
16028         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16029         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16030         Define.
16031
16032         [BZ #16610]
16033         * sysdeps/unix/sysv/linux/kernel-features.h
16034         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16035         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16036         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16037         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16038         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16039         [__i386__ || __sparc__]
16040         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16041         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16042         (__ASSUME_RECVMMSG): Define instead of using previous
16043         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16044         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16045         (__ASSUME_RECVMMSG_SYSCALL): Define.
16046         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16048         Likewise.
16049         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16051         Likewise.
16052         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16053         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16054         Likewise.
16055         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16056         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16057         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16058         [__ASSUME_RECVMMSG]: Change condition to
16059         [__ASSUME_RECVMMSG_SOCKETCALL].
16060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16061         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16062         Define.
16063         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16065         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16066         Likewise.
16067         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16068         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16069         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16070         [!__ASSUME_RECVMMSG]: Change condition to
16071         [!__ASSUME_RECVMMSG_SOCKETCALL].
16072         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16073         (__ASSUME_RECVMMSG_SYSCALL): Define.
16074
16075         [BZ #16609]
16076         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16077         __powerpc__ || __s390__ || __sh__ || __sparc__]
16078         (__ASSUME_SOCKETCALL): Define.
16079         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16080         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16081         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16082         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16083         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16084         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16085         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16086         (__ASSUME_ACCEPT4): Define instead of using previous
16087         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16088         __powerpc__ || __sparc__ || __s390__)] condition.
16089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16090         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16091         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16092         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16093         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16094         [!__ASSUME_ACCEPT4]: Change condition to
16095         [!__ASSUME_ACCEPT4_SOCKETCALL].
16096         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16097         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16098         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16100         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16101         __ASSUME_ACCEPT4_SYSCALL.
16102         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16103         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16105         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16106         __ASSUME_ACCEPT4_SYSCALL.
16107         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16108         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16109         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16110         [__ASSUME_ACCEPT4]: Change condition to
16111         [__ASSUME_ACCEPT4_SOCKETCALL].
16112         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16113         (__ASSUME_SOCKETCALL): Define.
16114         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16116         (__ASSUME_SOCKETCALL): Define.
16117         (__ASSUME_ACCEPT4): Remove.
16118         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16119         Define.
16120         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16121         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16122         Likewise.
16123         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16124         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16125
16126         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16127         macro.
16128         (HWCAP_ARM_LPAE): Likewise.
16129         (HWCAP_ARM_EVTSTRM): Likewise.
16130         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16131         Add vpfd32, lpae and evtstrm.
16132         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16133         Increase to 22.
16134
16135 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16136
16137         * math/auto-libm-test-in: Add tests of clog10.
16138         * math/auto-libm-test-out: Regenerated.
16139         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16140         * sysdeps/i386/fpu/libm-test-ulps: Update.
16141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16142
16143 2014-02-18  Andreas Schwab  <schwab@suse.de>
16144
16145         [BZ #16574]
16146         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16147         Store non-zero if the second buffer was newly allocated.
16148         (send_dg): Likewise.
16149         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16150         to send_vc and send_dg.
16151         (res_nsend): Pass NULL for ansp2_malloced.
16152         * resolv/res_query.c (__libc_res_nquery): Add parameter
16153         answerp2_malloced and pass it down to __libc_res_nsend.
16154         (res_nquery): Pass additional NULL to __libc_res_nquery.
16155         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16156         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16157         second answer buffer if answerp2_malloced was set.
16158         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16159         (__libc_res_nquerydomain): Add parameter
16160         answerp2_malloced and pass it down to __libc_res_nquery.
16161         (res_nquerydomain): Pass additional NULL to
16162         __libc_res_nquerydomain.
16163         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16164         additional NULL to __libc_res_nsend and __libc_res_nquery.
16165         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16166         additional NULL to __libc_res_nsearch.
16167         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16168         parameter of __libc_res_nsearch to check for separately allocated
16169         second buffer.
16170         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16171         __libc_res_nquery.
16172         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16173         additional NULL to __libc_res_nquery.
16174         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16175         __libc_res_nsearch.
16176         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16177         * include/resolv.h: Update prototypes of __libc_res_nquery,
16178         __libc_res_nsearch, __libc_res_nsend.
16179
16180 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16181
16182         * math/auto-libm-test-in: Add tests of fma.
16183         * math/auto-libm-test-out: Regenerated.
16184         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16185         (fma_towardzero_test_data): Likewise.
16186         (fma_downward_test_data): Likewise.
16187         (fma_upward_test_data): Likewise.
16188         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16189         mpc_mode.
16190         (rounding_modes): Add values for new field.
16191         (func_calc_method): Add value mpfr_fff_f.
16192         (func_calc_desc): Add mpfr_fff_f union field.
16193         (test_function): Add field exact_args.
16194         (FUNC): Add macro argument EXACT_ARGS.
16195         (FUNC_mpfr_f_f): Update call to FUNC.
16196         (FUNC_mpfr_f_f): Likewise.
16197         (FUNC_mpfr_ff_f): Likewise.
16198         (FUNC_mpfr_if_f): Likewise.
16199         (FUNC_mpc_c_f): Likewise.
16200         (FUNC_mpc_c_c): Likewise.
16201         (test_functions): Add fma.  Update calls to FUNC.
16202         (handle_input_arg): Add argument exact_args.
16203         (add_test): Update call to handle_input_arg.
16204         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16205         (output_for_one_input_case): Update call to calc_generic_results.
16206         Recalculate exact zero results in each rounding mode.
16207
16208         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16209         non-negative before setting low bit.
16210         * math/auto-libm-test-in: Mark one asin test possibly having
16211         spurious underflow.
16212         * math/auto-libm-test-out: Regenerated.
16213         * sysdeps/i386/fpu/libm-test-ulps: Update.
16214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16215
16216 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16217
16218         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16219         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16220         ports/sysdeps/unix/sysv/linux/microblaze.
16221         * README: Add missing listing for microblaze*-*-linux-gnu.
16222
16223 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16224
16225         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16226         duplicate code
16227
16228 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16229
16230         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16231         * sysdeps/unix/sysv/linux/ia64: Move directory from
16232         ports/sysdeps/unix/sysv/linux/ia64.
16233         * README: Update listing for ia64-*-linux-gnu.
16234
16235 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16236             Joseph Myers  <joseph@codesourcery.com>
16237
16238         * Makeconfig (test-name): New variable.
16239         (evaluate-test): Likewise.
16240         * Makerules (do-test-clean): Remove .test-result files.
16241         (common-mostlyclean): Likewise.
16242         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16243         * scripts/evaluate-test.sh: New file.
16244
16245 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16246
16247         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16248         separate $(objpfx)tst-fopenloc-cmp.out and
16249         $(objpfx)tst-fopenloc-mem.out targets.
16250         (tests): Update dependencies.
16251         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16252         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16253         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16254         (tst-rxspencer-no-utf8-ARGS): New variable.
16255         (tst-rxspencer-no-utf8-ENV): Likewise.
16256         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16257         instead of $(objpfx)tst-rxspencer-mem.
16258         ($(objpfx)tst-rxspencer-mem): Change target to
16259         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16260         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16261         * posix/tst-rxspencer-no-utf8.c: New file.
16262
16263         * elf/Makefile ($(objpfx)order.out): Remove rule.
16264         [$(run-built-tests) = yes] (tests): Depend on
16265         $(objpfx)order-cmp.out.
16266         ($(objpfx)order-cmp.out): New rule.
16267         [$(run-built-tests) = yes] (tests): Depend on
16268         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16269         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16270         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16271         $(objpfx)tst-array5-static-cmp.out.
16272         ($(objpfx)tst-array1.out): Remove rule.
16273         ($(objpfx)tst-array1-cmp.out): New rule.
16274         ($(objpfx)tst-array1-static.out): Remove rule.
16275         ($(objpfx)tst-array1-static-cmp.out): New rule.
16276         ($(objpfx)tst-array2.out): Remove rule.
16277         ($(objpfx)tst-array2-cmp.out): New rule.
16278         ($(objpfx)tst-array3.out): Remove rule.
16279         ($(objpfx)tst-array3-cmp.out): New rule.
16280         ($(objpfx)tst-array4.out): Remove rule.
16281         ($(objpfx)tst-array4-cmp.out): New rule.
16282         ($(objpfx)tst-array5.out): Remove rule.
16283         ($(objpfx)tst-array5-cmp.out): New rule.
16284         ($(objpfx)tst-array5-static.out): Remove rule.
16285         ($(objpfx)tst-array5-static-cmp.out): New rule.
16286         [$(run-built-tests) = yes] (tests): Depend on
16287         $(objpfx)order2-cmp.out.
16288         ($(objpfx)order2.out): Remove rule.
16289         ($(objpfx)order2-cmp.out): New rule.
16290         ($(objpfx)tst-initorder.out): Remove rule.
16291         [$(run-built-tests) = yes] (tests): Depend on
16292         $(objpfx)tst-initorder-cmp.out.
16293         ($(objpfx)tst-initorder-cmp.out): New rule.
16294         ($(objpfx)tst-initorder2.out): Remove rule.
16295         [$(run-built-tests) = yes] (tests): Depend on
16296         $(objpfx)tst-initorder2-cmp.out.
16297         ($(objpfx)tst-initorder2-cmp.out): New rule.
16298         [$(run-built-tests) = yes] (tests): Depend on
16299         $(objpfx)tst-unused-dep-cmp.out.
16300         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16301         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16302         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16303         on $(objpfx)tst-setvbuf1-cmp.out.
16304         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16305         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16306         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16307         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16308         ($(objpfx)tst-svc.out): Remove rule.
16309         ($(objpfx)tst-svc-cmp.out): New rule.
16310
16311 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16312
16313         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16314         * ctype/ctype.h [__USE_MISC]: Likewise.
16315         * dirent/dirent.h [__USE_MISC]: Likewise.
16316         * grp/grp.h [__USE_MISC]: Likewise.
16317         * io/fcntl.h [__USE_MISC]: Likewise.
16318         * io/sys/stat.h [__USE_MISC]: Likewise.
16319         * libio/stdio.h [__USE_MISC]: Likewise.
16320         * posix/unistd.h [__USE_MISC]: Likewise.
16321         * pwd/pwd.h [__USE_MISC]: Likewise.
16322         * stdlib.h [__USE_MISC]: Likewise.
16323         * string/bits/string2.h [__USE_MISC]: Likewise.
16324         * string/string.h [__USE_MISC]: Likewise.
16325         * time/time.h [__USE_MISC]: Likewise.
16326
16327 2014-02-13  Andreas Schwab  <schwab@suse.de>
16328
16329         [BZ #16574]
16330         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16331         second answer buffer if it was separately allocated.
16332
16333 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16334
16335         * sysdeps/mips/math-tests.h: Include <features.h>.
16336         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16337         (ROUNDING_TESTS_long_double): Do not define.
16338         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16339         (EXCEPTION_TESTS_long_double): Likewise.
16340         * sysdeps/mips/mips64/libm-test-ulps: Update.
16341
16342         * include/features.h (__USE_BSD): Remove macro definitions.
16343         (__USE_SVID): Likewise.
16344         (_BSD_SOURCE): Likewise.
16345         (_SVID_SOURCE): Likewise.
16346         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16347         from definition of _DEFAULT_SOURCE.
16348         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16349         [_DEFAULT_SOURCE].
16350         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16351         * bits/mman.h [__USE_BSD]: Likewise.
16352         * bits/termios.h [__USE_BSD]: Likewise.
16353         * bits/waitstatus.h [__USE_BSD]: Likewise.
16354         * ctype/ctype.h [__USE_SVID]: Likewise.
16355         * dirent/dirent.h [__USE_BSD]: Likewise.
16356         * grp/grp.h [__USE_SVID]: Likewise.
16357         [__USE_BSD]: Likewise.
16358         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16359         * io/fcntl.h [__USE_BSD]: Likewise.
16360         * io/ftw.h [__USE_BSD]: Likewise.
16361         * io/sys/stat.h [__USE_BSD]: Likewise.
16362         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16363         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16364         * libio/stdio.h [__USE_SVID]: Likewise.
16365         [__USE_BSD]: Likewise.
16366         * math/math.h [__USE_SVID]: Likewise.
16367         [__USE_BSD]: Likewise.
16368         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16369         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16370         * misc/search.h [__USE_SVID]: Likewise.
16371         * misc/sys/mman.h [__USE_BSD]: Likewise.
16372         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16373         * misc/sys/uio.h [__USE_BSD]: Likewise.
16374         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16375         * posix/glob.h [__USE_BSD]: Likewise.
16376         * posix/regex.h [__USE_BSD]: Likewise.
16377         * posix/sys/types.h [__USE_BSD]: Likewise.
16378         [__USE_SVID]: Likewise.
16379         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16380         * posix/sys/wait.h [__USE_BSD]: Likewise.
16381         [__USE_SVID]: Likewise.
16382         * posix/unistd.h [__USE_BSD]: Likewise.
16383         [__USE_SVID]: Likewise.
16384         * pwd/pwd.h [__USE_SVID]: Likewise.
16385         * resolv/netdb.h [__USE_BSD]: Likewise.
16386         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16387         * signal/signal.h [__USE_BSD]: Likewise.
16388         [__USE_SVID]: Likewise.
16389         * socket/sys/socket.h [__USE_BSD]: Likewise.
16390         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16391         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16392         [__USE_SVID]: Likewise.
16393         * string/bits/string2.h [__USE_BSD]: Likewise.
16394         [__USE_SVID]: Likewise.
16395         * string/bits/string3.h [__USE_BSD]: Likewise.
16396         * string/endian.h [__USE_BSD]: Likewise.
16397         * string/string.h [__USE_SVID]: Likewise.
16398         [__USE_BSD]: Likewise.
16399         * string/strings.h [__USE_BSD]: Likewise.
16400         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16401         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16402         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16403         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16404         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16405         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16406         Likewise.
16407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16410         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16411         Likewise.
16412         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16413         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16414         Likewise.
16415         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16416         Likewise.
16417         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16418         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16419         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16420         Likewise.
16421         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16422         Likewise.
16423         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16424         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16425         * termios/termios.h [__USE_BSD]: Likewise.
16426         * time/sys/time.h [__USE_BSD]: Likewise.
16427         * time/time.h [__USE_BSD]: Likewise.
16428         [__USE_SVID]: Likewise.
16429
16430         * Makefile (subdir_targets): Remove subdir_lint.out.
16431
16432         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16433         (do-tst-printf): Likewise.
16434         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16435         $(objpfx)tst-printf.out.
16436
16437         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16438
16439         * Makerules (check-abi-%): Change target to
16440         $(objpfx)check-abi-%.out.
16441         (check-abi target): Update dependencies.
16442         (check-abi-pattern variable): Redirect output of diff to $@.
16443         (check-abi variable): Likewise.
16444         * elf/Makefile (check-abi): Update dependencies.
16445
16446         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16447         unused.
16448         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16449         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16450         subnormal range.
16451         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16452         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16453         value has largest subnormal exponent.
16454         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16455         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16456         * sysdeps/aarch64/soft-fp/sfp-machine.h
16457         (_FP_TININESS_AFTER_ROUNDING): New macro.
16458         * sysdeps/alpha/soft-fp/sfp-machine.h
16459         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16460         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16461         Likewise.
16462         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16463         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16464         * sysdeps/mips/soft-fp/sfp-machine.h
16465         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16466         * sysdeps/powerpc/soft-fp/sfp-machine.h
16467         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16468         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16469         Likewise.
16470         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16471         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16472         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16473         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16474         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16475         Likewise.
16476
16477 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16478
16479         [BZ #16545]
16480         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16481         model 1.
16482
16483 2014-02-12  Richard Henderson  <rth@redhat.com>
16484
16485         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16486         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16487         * sysdeps/unix/sysv/linux/alpha: Move directory from
16488         ports/sysdeps/unix/sysv/linux/alpha.
16489         * README: Update listing for alpha-*-linux-gnu.
16490
16491 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16492
16493         * include/features.h: Update comment documenting feature test
16494         macros.
16495         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16496         _DEFAULT_SOURCE.
16497         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16498         (_SVID_SOURCE): Likewise.
16499         (_DEFAULT_SOURCE): Update description of default features.
16500         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16501         with _GNU_SOURCE.
16502         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16503         (S_ISVTX): Likewise.
16504         * manual/math.texi (Mathematical Constants): Likewise.
16505         * manual/signal.texi (Interrupted Primitives): Likewise.
16506         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16507         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16508         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16509         Don't refer to _SVID_SOURCE in warning text.
16510
16511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16512
16513         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16514         already defined.
16515         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16516         * sysdeps/mips/dl-lookup.c: Remove.
16517         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16518
16519 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16520
16521         [BZ #16447]
16522         * math/auto-libm-test-in: Add testcase for expl.
16523         * math/auto-libm-test-out: Regenerate.
16524         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16525         calculation of unsafe.
16526         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16527
16528 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16529
16530         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16531         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16532         ports/sysdeps/unix/sysv/linux/aarch64.
16533         * README: Update listing for aarch64*-*-linux-gnu.
16534
16535 2014-02-11  Will Newton  <will.newton@linaro.org>
16536
16537         * manual/probes.texi (Mathematical Function Probes): Use
16538         "triggered" instead of "hit".
16539
16540         * manual/probes.texi (Internal Probes): Add documentation
16541         of setjmp, longjmp and longjmp_target probes.
16542
16543         * include/stap-probe.h: Add comment about probe argument
16544         format.
16545
16546         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16547         definition.  (tr_where, tr_freehook, tr_mallochook,
16548         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16549
16550 2014-02-11  David S. Miller  <davem@davemloft.net>
16551
16552         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16553         processing int_tests.
16554
16555 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16556
16557         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16558         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16559         * sysdeps/unix/sysv/linux/mips: Move directory from
16560         ports/sysdeps/unix/sysv/linux/mips.
16561         * README: Update listing for mips-*-linux-gnu and
16562         mips64-*-linux-gnu.
16563
16564 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16565
16566         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16567         * sysdeps/unix/sysv/linux/m68k: Move directory from
16568         ports/sysdeps/unix/sysv/linux/m68k.
16569         * README: Update listing for m68k-*-linux-gnu.
16570
16571 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16572
16573         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16574         * sysdeps/unix/sysv/linux/generic: Move directory from
16575         ports/sysdeps/unix/sysv/linux/generic.
16576         * sysdeps/unix/sysv/linux/tile: Move directory from
16577         ports/sysdeps/unix/sysv/linux/tile.
16578         * README: Update listing for tile*-*-linux-gnu.
16579
16580 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16581
16582         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16583         __builtin_expect.
16584         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16585         * catgets/open_catalog.c (__open_catalog): Likewise.
16586         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16587         * debug/confstr_chk.c: Likewise.
16588         * debug/fread_chk.c (__fread_chk): Likewise.
16589         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16590         * debug/getgroups_chk.c: Likewise.
16591         * debug/mbsnrtowcs_chk.c: Likewise.
16592         * debug/mbsrtowcs_chk.c: Likewise.
16593         * debug/mbstowcs_chk.c: Likewise.
16594         * debug/memcpy_chk.c: Likewise.
16595         * debug/memmove_chk.c: Likewise.
16596         * debug/mempcpy_chk.c: Likewise.
16597         * debug/memset_chk.c: Likewise.
16598         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16599         * debug/strcat_chk.c (__strcat_chk): Likewise.
16600         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16601         * debug/strncat_chk.c (__strncat_chk): Likewise.
16602         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16603         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16604         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16605         * debug/wcpncpy_chk.c: Likewise.
16606         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16607         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16608         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16609         * debug/wcsncpy_chk.c: Likewise.
16610         * debug/wcsnrtombs_chk.c: Likewise.
16611         * debug/wcsrtombs_chk.c: Likewise.
16612         * debug/wcstombs_chk.c: Likewise.
16613         * debug/wmemcpy_chk.c: Likewise.
16614         * debug/wmemmove_chk.c: Likewise.
16615         * debug/wmempcpy_chk.c: Likewise.
16616         * debug/wmemset_chk.c: Likewise.
16617         * dirent/scandirat.c (SCANDIRAT): Likewise.
16618         * dlfcn/dladdr1.c (dladdr1): Likewise.
16619         * dlfcn/dladdr.c (dladdr): Likewise.
16620         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16621         * dlfcn/dlerror.c (__dlerror): Likewise.
16622         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16623         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16624         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16625         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16626         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16627         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16628         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16629         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16630         Likewise.
16631         * elf/dl-conflict.c: Likewise.
16632         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16633         * elf/dl-dst.h: Likewise.
16634         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16635         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16636         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16637         * elf/dl-init.c (call_init, _dl_init): Likewise.
16638         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16639         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16640         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16641         Likewise.
16642         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16643         Likewise.
16644         * elf/dl-minimal.c (__libc_memalign): Likewise.
16645         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16646         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16647         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16648         * elf/dl-sym.c (do_sym): Likewise.
16649         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16650         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16651         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16652         * elf/dl-writev.h (_dl_writev): Likewise.
16653         * elf/ldconfig.c (search_dir): Likewise.
16654         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16655         (dl_main): Likewise.
16656         * elf/setup-vdso.h (setup_vdso): Likewise.
16657         * grp/compat-initgroups.c (compat_call): Likewise.
16658         * grp/fgetgrent.c (fgetgrent): Likewise.
16659         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16660         * grp/putgrent.c (putgrent): Likewise.
16661         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16662         Likewise.
16663         * hurd/hurdinit.c: Likewise.
16664         * iconvdata/8bit-gap.c (struct): Likewise.
16665         * iconvdata/ansi_x3.110.c : Likewise.
16666         * iconvdata/big5.c : Likewise.
16667         * iconvdata/big5hkscs.c : Likewise.
16668         * iconvdata/cp1255.c: Likewise.
16669         * iconvdata/cp1258.c : Likewise.
16670         * iconvdata/cp932.c : Likewise.
16671         * iconvdata/euc-cn.c: Likewise.
16672         * iconvdata/euc-jisx0213.c : Likewise.
16673         * iconvdata/euc-jp.c: Likewise.
16674         * iconvdata/euc-jp-ms.c : Likewise.
16675         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16676         * iconvdata/gb18030.c : Likewise.
16677         * iconvdata/gbbig5.c (const): Likewise.
16678         * iconvdata/gbgbk.c: Likewise.
16679         * iconvdata/gbk.c : Likewise.
16680         * iconvdata/ibm1364.c : Likewise.
16681         * iconvdata/ibm930.c : Likewise.
16682         * iconvdata/ibm932.c: Likewise.
16683         * iconvdata/ibm933.c : Likewise.
16684         * iconvdata/ibm935.c : Likewise.
16685         * iconvdata/ibm937.c : Likewise.
16686         * iconvdata/ibm939.c : Likewise.
16687         * iconvdata/ibm943.c: Likewise.
16688         * iconvdata/iso_11548-1.c: Likewise.
16689         * iconvdata/iso-2022-cn.c : Likewise.
16690         * iconvdata/iso-2022-cn-ext.c : Likewise.
16691         * iconvdata/iso-2022-jp-3.c: Likewise.
16692         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16693         * iconvdata/iso-2022-kr.c : Likewise.
16694         * iconvdata/iso646.c (gconv_end): Likewise.
16695         * iconvdata/iso_6937-2.c : Likewise.
16696         * iconvdata/iso_6937.c : Likewise.
16697         * iconvdata/iso8859-1.c: Likewise.
16698         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16699         * iconvdata/shift_jisx0213.c : Likewise.
16700         * iconvdata/sjis.c : Likewise.
16701         * iconvdata/t.61.c : Likewise.
16702         * iconvdata/tcvn5712-1.c : Likewise.
16703         * iconvdata/tscii.c: Likewise.
16704         * iconvdata/uhc.c : Likewise.
16705         * iconvdata/unicode.c (gconv_end): Likewise.
16706         * iconvdata/utf-16.c (gconv_end): Likewise.
16707         * iconvdata/utf-32.c (gconv_end): Likewise.
16708         * iconvdata/utf-7.c (base64): Likewise.
16709         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16710         * iconv/gconv_close.c (__gconv_close): Likewise.
16711         * iconv/gconv_open.c (__gconv_open): Likewise.
16712         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16713         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16714         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16715         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16716         (ucs4le_internal_loop_single): Likewise.
16717         * iconv/iconv.c (iconv): Likewise.
16718         * iconv/iconv_close.c: Likewise.
16719         * iconv/loop.c (SINGLE): Likewise.
16720         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16721         * include/atomic.h: Likewise.
16722         * inet/inet6_option.c (option_alloc): Likewise.
16723         * intl/bindtextdom.c (set_binding_values): Likewise.
16724         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16725         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16726         * intl/localealias.c (read_alias_file): Likewise.
16727         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16728         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16729         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16730         * libio/fmemopen.c (fmemopen): Likewise.
16731         * libio/iofgets.c (_IO_fgets): Likewise.
16732         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16733         * libio/iofgetws.c (fgetws): Likewise.
16734         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16735         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16736         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16737         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16738         * locale/findlocale.c (_nl_find_locale): Likewise.
16739         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16740         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16741         Likewise.
16742         * locale/setlocale.c (setlocale): Likewise.
16743         * login/programs/pt_chown.c (main): Likewise.
16744         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16745         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16746         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16747         (mmap, mmap64, mremap, munmap): Likewise.
16748         * math/e_exp2l.c: Likewise.
16749         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16750         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16751         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16752         * math/s_catan.c (__catan): Likewise.
16753         * math/s_catanf.c (__catanf): Likewise.
16754         * math/s_catanh.c (__catanh): Likewise.
16755         * math/s_catanhf.c (__catanhf): Likewise.
16756         * math/s_catanhl.c (__catanhl): Likewise.
16757         * math/s_catanl.c (__catanl): Likewise.
16758         * math/s_ccosh.c (__ccosh): Likewise.
16759         * math/s_ccoshf.c (__ccoshf): Likewise.
16760         * math/s_ccoshl.c (__ccoshl): Likewise.
16761         * math/s_cexp.c (__cexp): Likewise.
16762         * math/s_cexpf.c (__cexpf): Likewise.
16763         * math/s_cexpl.c (__cexpl): Likewise.
16764         * math/s_clog10.c (__clog10): Likewise.
16765         * math/s_clog10f.c (__clog10f): Likewise.
16766         * math/s_clog10l.c (__clog10l): Likewise.
16767         * math/s_clog.c (__clog): Likewise.
16768         * math/s_clogf.c (__clogf): Likewise.
16769         * math/s_clogl.c (__clogl): Likewise.
16770         * math/s_csin.c (__csin): Likewise.
16771         * math/s_csinf.c (__csinf): Likewise.
16772         * math/s_csinh.c (__csinh): Likewise.
16773         * math/s_csinhf.c (__csinhf): Likewise.
16774         * math/s_csinhl.c (__csinhl): Likewise.
16775         * math/s_csinl.c (__csinl): Likewise.
16776         * math/s_csqrt.c (__csqrt): Likewise.
16777         * math/s_csqrtf.c (__csqrtf): Likewise.
16778         * math/s_csqrtl.c (__csqrtl): Likewise.
16779         * math/s_ctan.c (__ctan): Likewise.
16780         * math/s_ctanf.c (__ctanf): Likewise.
16781         * math/s_ctanh.c (__ctanh): Likewise.
16782         * math/s_ctanhf.c (__ctanhf): Likewise.
16783         * math/s_ctanhl.c (__ctanhl): Likewise.
16784         * math/s_ctanl.c (__ctanl): Likewise.
16785         * math/w_pow.c: Likewise.
16786         * math/w_powf.c: Likewise.
16787         * math/w_powl.c: Likewise.
16788         * math/w_scalb.c (sysv_scalb): Likewise.
16789         * math/w_scalbf.c (sysv_scalbf): Likewise.
16790         * math/w_scalbl.c (sysv_scalbl): Likewise.
16791         * misc/error.c (error_tail): Likewise.
16792         * misc/pselect.c (__pselect): Likewise.
16793         * nis/nis_callback.c (__nis_create_callback): Likewise.
16794         * nis/nis_call.c (__nisfind_server): Likewise.
16795         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16796         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16797         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16798         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16799         * nis/nis_lookup.c (nis_lookup): Likewise.
16800         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16801         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16802         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16803         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16804         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16805         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16806         * nis/nss_compat/compat-initgroups.c (add_group)
16807         (internal_getgrent_r): Likewise.
16808         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16809         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16810         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16811         (internal_getspnam_r): Likewise.
16812         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16813         (_nss_nis_getaliasbyname_r): Likewise.
16814         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16815         (_nss_nis_getntohost_r): Likewise.
16816         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16817         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16818         (_nss_nis_getgrgid_r): Likewise.
16819         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16820         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16821         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16822         (_nss_nis_gethostbyname4_r): Likewise.
16823         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16824         (initgroups_netid): Likewise.
16825         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16826         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16827         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16828         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16829         (_nss_nis_getprotobynumber_r): Likewise.
16830         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16831         (_nss_nis_getsecretkey): Likewise.
16832         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16833         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16834         (_nss_nis_getpwuid_r): Likewise.
16835         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16836         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16837         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16838         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16839         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16840         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16841         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16842         Likewise.
16843         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16844         (_nss_nisplus_getntohost_r): Likewise.
16845         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16846         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16847         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16848         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16849         Likewise.
16850         * nis/nss_nisplus/nisplus-initgroups.c
16851         (_nss_nisplus_initgroups_dyn): Likewise.
16852         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16853         (_nss_nisplus_getnetbyaddr_r): Likewise.
16854         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16855         (_nss_nisplus_getprotobynumber_r): Likewise.
16856         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16857         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16858         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16859         Likewise.
16860         * nis/nss_nisplus/nisplus-service.c
16861         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16862         (_nss_nisplus_getservbyport_r): Likewise.
16863         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16864         (_nss_nisplus_getspnam_r): Likewise.
16865         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16866         Likewise.
16867         * nscd/aicache.c (addhstaiX): Likewise.
16868         * nscd/cache.c (cache_search, prune_cache): Likewise.
16869         * nscd/connections.c (register_traced_file, send_ro_fd)
16870         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16871         (main_loop_epoll): Likewise.
16872         * nscd/grpcache.c (addgrbyX): Likewise.
16873         * nscd/hstcache.c (addhstbyX): Likewise.
16874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16875         * nscd/mem.c (gc, mempool_alloc): Likewise.
16876         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16877         (addinnetgrX): Likewise.
16878         * nscd/nscd-client.h (__nscd_acquire_maplock)
16879         (__nscd_drop_map_ref): Likewise.
16880         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16881         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16882         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16883         Likewise.
16884         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16885         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16886         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16887         (__nscd_get_map_ref): Likewise.
16888         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16889         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16890         Likewise.
16891         * nscd/pwdcache.c (addpwbyX): Likewise.
16892         * nscd/selinux.c (preserve_capabilities): Likewise.
16893         * nscd/servicescache.c (addservbyX): Likewise.
16894         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16895         * posix/fnmatch.c (fnmatch): Likewise.
16896         * posix/getopt.c (_getopt_internal_r): Likewise.
16897         * posix/glob.c (glob, glob_in_dir): Likewise.
16898         * posix/wordexp.c (exec_comm_child): Likewise.
16899         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16900         (getanswer_r, gaih_getanswer_slice): Likewise.
16901         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16902         * resolv/res_init.c: Likewise.
16903         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16904         * resolv/res_query.c (__libc_res_nquery): Likewise.
16905         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16906         Likewise.
16907         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16908         * stdio-common/perror.c (perror): Likewise.
16909         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16910         * stdio-common/tmpnam.c (tmpnam): Likewise.
16911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16912         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16913         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16914         Likewise.
16915         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16916         * stdlib/putenv.c (putenv): Likewise.
16917         * stdlib/setenv.c (__add_to_environ): Likewise.
16918         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16919         * stdlib/strtol_l.c (INTERNAL): Likewise.
16920         * string/memmem.c (memmem): Likewise.
16921         * string/strerror.c (strerror): Likewise.
16922         * string/strnlen.c (__strnlen): Likewise.
16923         * string/test-memmem.c (simple_memmem): Likewise.
16924         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16925         * sunrpc/pm_getport.c (__get_socket): Likewise.
16926         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16927         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16928         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16929         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16930         Likewise.
16931         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16932         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16933         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16934         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16935         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16936         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16937         Likewise.
16938         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16939         Likewise.
16940         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16941         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16942         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16943         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16944         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16946         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16947         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16948         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16949         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16950         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16951         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16952         Likewise.
16953         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16954         Likewise.
16955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16956         Likewise.
16957         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16958         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16959         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16960         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16961         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16962         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16963         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16964         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16966         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16967         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16969         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16970         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16972         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16973         Likewise.
16974         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16975         Likewise.
16976         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16977         Likewise.
16978         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16979         Likewise.
16980         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16982         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16983         Likewise.
16984         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16985         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16986         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16987         * sysdeps/posix/sleep.c: Likewise.
16988         * sysdeps/posix/tempname.c: Likewise.
16989         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16990         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16991         Likewise.
16992         * sysdeps/powerpc/powerpc32/dl-machine.h
16993         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16994         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16996         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16997         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16998         Likewise.
16999         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17000         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17001         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17002         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17003         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17004         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17005         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17006         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17007         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17008         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17009         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17010         (elf_machine_lazy_rel): Likewise.
17011         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17013         (elf_machine_lazy_rel): Likewise.
17014         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17015         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17016         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17017         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17018         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17019         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17020         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17022         Likewise.
17023         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17024         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17025         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17026         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17027         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17028         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17029         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17030         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17031         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17032         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17033         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17034         Likewise.
17035         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17036         (__posix_fallocate64_l64): Likewise.
17037         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17038         (posix_fallocate): Likewise.
17039         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17040         Likewise.
17041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17042         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17043         (getifaddrs_internal): Likewise.
17044         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17045         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17046         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17047         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17048         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17049         (__posix_fallocate64_l64): Likewise.
17050         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17051         Likewise.
17052         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17053         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17054         (__get_clockfreq): Likewise.
17055         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17056         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17057         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17060         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17061         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17062         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17063         Likewise.
17064         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17065         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17066         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17067         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17068         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17069         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17070         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17071         Likewise.
17072         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17073         (posix_fallocate): Likewise.
17074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17075         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17076         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17077         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17078         (elf_machine_rela, elf_machine_rela_relative)
17079         (elf_machine_lazy_rel): Likewise.
17080         * time/asctime.c (asctime_internal): Likewise.
17081         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17082         * time/tzset.c (__tzset_parse_tz): Likewise.
17083         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17084         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17085         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17086         * wcsmbs/wcsmbsload.h: Likewise.
17087
17088         [BZ #15894]
17089         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17090
17091         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17092         (arena_get2): Remove THREAD_STATS conditionals.
17093         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17094         (__malloc_stats, int): Likewise.
17095
17096 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17097
17098         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17099         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17100
17101         * manual/setjmp.texi: Fix typos/grammar errors.
17102
17103         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17104         Only return early when n is <= 0.  Delete unused return statement.
17105
17106         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17107         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17108         * debug/tst-longjmp_chk3.c: New file.
17109
17110         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17111         (test_main): Replace code with set_fortify_handler call.
17112         * debug/test-strcpy_chk.c: Likewise.
17113         * debug/tst-chk1.c: Likewise.
17114         * debug/tst-longjmp_chk.c: Likewise.
17115         * test-skeleton.c: Include fcntl.h & paths.h
17116         (set_fortify_handler): Define.
17117
17118         * debug/tst-longjmp_chk.c: Add header comment and include
17119         ../test-skeleton.c.
17120         (do_test): Mark static.
17121         (TEST_FUNCTION): Define.
17122
17123         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17124         (IP_PMTUDISC_INTERFACE): Likewise.
17125         (IP_MULTICAST_IF): Likewise.
17126         (IP_MULTICAST_TTL): Likewise.
17127         (IP_MULTICAST_LOOP): Likewise.
17128         (IP_ADD_MEMBERSHIP): Likewise.
17129         (IP_DROP_MEMBERSHIP): Likewise.
17130         (IP_UNBLOCK_SOURCE): Likewise.
17131         (IP_BLOCK_SOURCE): Likewise.
17132         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17133         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17134         (IP_MSFILTER): Likewise.
17135         (MCAST_JOIN_GROUP): Likewise.
17136         (MCAST_BLOCK_SOURCE): Likewise.
17137         (MCAST_UNBLOCK_SOURCE): Likewise.
17138         (MCAST_LEAVE_GROUP): Likewise.
17139         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17140         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17141         (MCAST_MSFILTER): Likewise.
17142         (IP_MULTICAST_ALL): Likewise.
17143         (IP_UNICAST_IF): Likewise.
17144
17145         * timezone/Makefile: Delete $(have-ksh) check.
17146         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17147         * timezone/tzselect.ksh: Add +x mode bits.
17148
17149         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17150         (ANON_INODE_FS_MAGIC): Likewise.
17151         (BDEVFS_MAGIC): Likewise.
17152         (BINFMTFS_MAGIC): Likewise.
17153         (BTRFS_TEST_MAGIC): Likewise.
17154         (CRAMFS_MAGIC_WEND): Likewise.
17155         (DEBUGFS_MAGIC): Likewise.
17156         (ECRYPTFS_SUPER_MAGIC): Likewise.
17157         (EXT3_SUPER_MAGIC): Likewise.
17158         (EXT4_SUPER_MAGIC): Likewise.
17159         (FUTEXFS_SUPER_MAGIC): Likewise.
17160         (HOSTFS_SUPER_MAGIC): Likewise.
17161         (HUGETLBFS_MAGIC): Likewise.
17162         (MINIX3_SUPER_MAGIC): Likewise.
17163         (MTD_INODE_FS_MAGIC): Likewise.
17164         (NILFS_SUPER_MAGIC): Likewise.
17165         (OPENPROM_SUPER_MAGIC): Likewise.
17166         (PIPEFS_MAGIC): Likewise.
17167         (PSTOREFS_MAGIC): Likewise.
17168         (QNX6_SUPER_MAGIC): Likewise.
17169         (RAMFS_MAGIC): Likewise.
17170         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17171         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17172         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17173         (SECURITYFS_MAGIC): Likewise.
17174         (SELINUX_MAGIC): Likewise.
17175         (SMACK_MAGIC): Likewise.
17176         (SOCKFS_MAGIC): Likewise.
17177         (SQUASHFS_MAGIC): Likewise.
17178         (STACK_END_MAGIC): Likewise.
17179         (TMPFS_MAGIC): Likewise.
17180         (USBDEVICE_SUPER_MAGIC): Likewise.
17181         (V9FS_MAGIC): Likewise.
17182         (XENFS_SUPER_MAGIC): Likewise.
17183         (CRAMFS_MAGIC): Fix typo in comment.
17184         (EXT2_SUPER_MAGIC): Update comment.
17185         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17186
17187 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17188
17189         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17190         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17191         * sysdeps/unix/sysv/linux/arm: Move directory from
17192         ports/sysdeps/unix/sysv/linux/arm.
17193         * README: Update listing for arm-*-linux-gnueabi.
17194
17195         * README: Remove mention of am33.
17196
17197 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17198
17199         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17200         than the comma operator, to avoid "rhs of comma has no effect"
17201         compiler warnings.
17202         (__sigfillset, __sigandset, __sigorset): Likewise.
17203         * include/signal.h (__sigemptyset): Likewise.
17204         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17205
17206 2014-02-07  Allan McRae  <allan@archlinux.org>
17207
17208         * version.h (RELEASE): Set to "development".
17209         (VERSION): Set to "2.19.90"
17210         * NEWS: Add 2.20 section.
17211
17212 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17213
17214         [BZ #16529]
17215         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17216
17217 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17218
17219         * manual/contrib.texi: Update entry for Carlos O'Donell,
17220         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17221
17222 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17223
17224         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17225
17226         * sysdeps/unix/sysv/linux/kernel-features.h
17227         [__LINUX_KERNEL_VERSION >= 0x020621]
17228         (__ASSUME_PROC_PID_TASK_COMM): Define.
17229
17230 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17231
17232         [BZ #16398]
17233         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17234         conversion when destination buffer does not have enough space.
17235         * libio/tst-ftell-partial-wide.c: New test case.
17236         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17237
17238         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17239         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17240         Leonard and Allan McRae.
17241
17242 2014-02-04  David S. Miller  <davem@davemloft.net>
17243
17244         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17245         32-bit.
17246
17247 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17248
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17250         New file
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17252         New file
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17254         New file.
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17256         New file.
17257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17258         New file.
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17260         New file.
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17262         New file.
17263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17264         New file.
17265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17266         New file.
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17268         New file.
17269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17270         New file.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17272         New file.
17273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17274         New file.
17275
17276 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17277
17278         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17279         * shlib-versions: Likewise.
17280
17281 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17282             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17283
17284         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17285         (abilist-pattern): New variable, set to %-le.abilist.
17286
17287         * Makerules (abilist-pattern): New variable.
17288         (vpath): Use $(abilist-pattern) in place of %.abilist.
17289         (check-abi-% pattern rule): Likewise.
17290         (check-abi, update-abi): Likewise.
17291
17292 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17293
17294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17295
17296 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17297
17298         * manual/startup.texi: Add next, previous, and top entries for
17299         the `Program Arguments' and `Environment Variables' nodes.
17300
17301 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17302
17303         * manual/macros.texi: Add comments before MTASC-safety macros.
17304
17305         * manual/users.texi: Document MTASC-safety properties.
17306
17307         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17308         (pthread_getspecific, pthread_setspecific): Format with
17309         @deftypefun, and add @safety note.
17310         * manual/signal.texi: Move comments that analyze the above
17311         functions to their home place.
17312
17313 2014-02-03  Allan McRae  <allan@archlinux.org>
17314
17315         * po/sl.po: Update Slovenian translation from translation project.
17316
17317 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17318
17319         * manual/time.texi (timegm): Add missing blank after @c.
17320         Reported by Joseph Myers <joseph@codesourcery.com>.
17321
17322 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17323
17324         * manual/check-safety.sh: New.
17325         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17326
17327         * manual/terminal.texi: Document MTASC-safety properties.
17328
17329         * manual/filesys.texi: Document MTASC-safety properties.
17330
17331         * manual/errno.texi: Document MTASC-safety properties.
17332
17333         * manual/intro.texi: Document safety identifiers and
17334         conditionals.
17335
17336         * manual/string.texi (wcstok): Fix prototype.
17337         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17338
17339         * manual/time.texi: Document MTASC-safety properties.
17340
17341         * manual/string.texi: Document MTASC-safety properties.
17342
17343         * manual/threads.texi: Document MTASC-safety properties.
17344
17345         * manual/stdio.texi: Document MTASC-safety properties.
17346
17347         * manual/syslog.texi: Document MTASC-safety properties.
17348
17349         * manual/sysinfo.texi: Document MTASC-safety properties.
17350
17351         * manual/startup.texi: Document MTASC-safety properties.
17352
17353         * manual/socket.texi: Document MTASC-safety properties.
17354
17355         * manual/signal.texi: Document MTASC-safety properties.
17356
17357 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17358
17359         * manual/setjmp.texi: Document MTASC-safety properties.
17360
17361         * manual/search.texi: Document MTASC-safety properties.
17362
17363         * manual/resource.texi: Document MTASC-safety properties.
17364
17365         * manual/process.texi: Document MTASC-safety properties.
17366
17367         * manual/platform.texi: Document MTASC-safety properties.
17368
17369         * manual/pipe.texi: Document MTASC-safety properties.
17370
17371         * manual/pattern.texi: Document MTASC-safety properties.
17372
17373         * manual/message.texi: Document MTASC-safety properties.
17374
17375         [BZ #12751]
17376         * manual/memory.texi: Document MTASC-safety properties.
17377
17378         * manual/math.texi: Document MTASC-safety properties.
17379
17380         * manual/locale.texi: Document MTASC-safety properties.
17381
17382         * manual/llio.texi: Document MTASC-safety properties.
17383
17384         * manual/libdl.texi: New.
17385
17386         * manual/lang.texi: Document MTASC-safety properties.
17387
17388         * manual/job.texi: Document MTASC-safety properties.
17389
17390         * manual/getopt.texi: Document MTASC-safety properties.
17391
17392         * manual/ctype.texi: Document MTASC-safety properties.
17393
17394 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17395
17396         [BZ #16046]
17397         * csu/libc-tls.c (static_map): Remove variable.
17398         (__libc_setup_tls): Use main executable's link map for TLS data.
17399         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17400         casing for LM_ID_BASE and GL(dl_nns).
17401         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17402         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17403         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17404         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17405         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17406         member.
17407         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17408         l_phnum members.
17409
17410 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17411
17412         * manual/debug.texi: Document MTASC-safety properties.
17413
17414 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17415
17416         [BZ #16510]
17417         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17418         of __x86_64__ when disabling x87 inline functions.
17419
17420 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17421
17422         * manual/charset.texi: Document MTASC-safety properties.
17423
17424         * manual/crypt.texi: Document MTASC-safety properties.
17425
17426         * manual/conf.texi: Document MTASC-safety properties.
17427
17428         * manual/arith.texi: Document MTASC-safety properties.
17429
17430         * manual/argp.texi: Document MTASC-safety properties.
17431
17432         * manual/macros.texi: Introduce macros to document multi
17433         thread, asynchronous signal and asynchronous cancellation
17434         safety properties.
17435         * manual/intro.texi: Introduce the properties themselves.
17436
17437 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17438
17439         * sysdeps/sh/sh4/Makefile: New file.
17440
17441 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17442
17443         * math/gen-libm-test.pl ($srcdir): New variable.
17444         ($auto_input): Use it.
17445
17446 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17447
17448         [BZ #16506]
17449         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17450         access beyond array bounds when parsing netgroups file.
17451
17452         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17453         the old buffer before realloc.
17454
17455 2014-01-27  Allan McRae  <allan@archlinux.org>
17456
17457         * po/fr.po: Update French translation from translation project.
17458
17459 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17460
17461         * sysdeps/sh/libm-test-ulps: Regenerate.
17462
17463 2014-01-24  David S. Miller  <davem@davemloft.net>
17464
17465         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17466
17467 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17468
17469         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17470         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17471
17472 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17473
17474         [BZ #16474]
17475         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17476         string pointers after reallocation.
17477
17478 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17479
17480         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17481         __SH4A__ instead of __SH_FPU_ANY__.
17482
17483 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17484
17485         * sysdeps/sh/fpu_control.h: New file.
17486         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17487         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17488         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17489         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17490         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17491         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17492         * sysdeps/sh/sys/ucontext.h: Remove.
17493         * sysdeps/sh/sys: Remove directory.
17494
17495 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17496
17497         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17498         s390/sys/ucontext.h.
17499         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17500         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17501
17502 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17503
17504         [BZ #15605]
17505         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17506
17507 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17508
17509         [BZ#16431]
17510         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17511         Adjust the vDSO correctly for internal calls.
17512         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17513
17514 2014-01-20  Allan McRae  <allan@archlinux.org>
17515
17516         * po/ca.po: Update Catalan translation from translation project.
17517
17518 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17519
17520         * sysdeps/s390/sotruss-lib.c: New file.
17521
17522 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17523
17524         [BZ#16430]
17525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17526         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17527         local calls issues by not having a PLT stub required for IFUNC calls.
17528         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17529
17530 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17531
17532         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17533         * math/test-fpucw-static.c: Likewise.
17534
17535 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17536
17537         [BZ #16453]
17538         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17539
17540 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17541
17542         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17543         implementation for powerpc.
17544
17545 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17546
17547         [BZ #14782]
17548         * sysdeps/posix/system.c (__libc_system): Do not enable
17549         asynchronous cancellation.
17550
17551 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17552
17553         [BZ #16427]
17554         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17555         handling only for numbers special also in the IEEE case.
17556
17557 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17558
17559         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17560
17561 2014-01-11  Allan McRae  <allan@archlinux.org>
17562
17563         * po/bg.po: Update Bulgarian translation from translation project.
17564
17565         * po/de.po: Update German translation from translation project.
17566
17567 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17568
17569         * sysdeps/generic/gcc-compat.h: New file.
17570
17571 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17572
17573         * benchtests/asin-inputs: Correct slow inputs.
17574         * benchtests/acos-inputs: Likewise.
17575
17576 2014-01-10  Allan McRae  <allan@archlinux.org>
17577
17578         * po:sv.po: Update Swedish translation from translation project.
17579
17580         * po/vi.po: Update Vietnamese translation from translation project.
17581
17582         * po/eo.po: Update Esperanto translation from translation project.
17583
17584         * po/cs.po: Update Czech translation from translation project.
17585
17586         * po/nl.po: Update Dutch translation from translation project.
17587
17588         * po/pl.po: Update Polish translation from translation project.
17589
17590         * po/ru.po: Update Russian translation from translation project.
17591
17592         * po/uk.po: Update Ukrainian translation from translation project.
17593
17594 2014-01-08  Brooks Moses  <bmoses@google.com>
17595
17596         * elf/dl-load.c: Fix comment typo.
17597
17598 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17599
17600         * po/header.pot: Rename to...
17601         * po/pot.header: ... this.
17602         * po/Makefile: Use pot.header.
17603
17604 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17605             Maxim Kuvyrkov  <maxim@kugelworks.com>
17606
17607         [BZ #16394]
17608         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17609         SRC and DEST against LEN.
17610
17611 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17612
17613         [BZ #16414]
17614         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17615         implementation.
17616         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17617
17618 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17619
17620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17621
17622 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17623
17624         [BZ #16408]
17625         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17626         for large positive arguments.
17627
17628 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17629
17630         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17631
17632         * math/auto-libm-test-in: Mark various tests with
17633         xfail-rounding:ldbl-128ibm.
17634         * math/auto-libm-test-out: Regenerated.
17635
17636         [BZ #16407]
17637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17638         Increase overflow threshold.
17639
17640 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17641
17642         [BZ #14286]
17643         * stdio-common/vfprintf.c: Check for integer overflow.
17644
17645 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17646
17647         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17648         the first argument and return value of __tls_get_addr_internal.
17649
17650 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17651
17652         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17653         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17654
17655 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17656
17657         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17658         * sysdeps/s390/rtld-global-offsets.sym: New file.
17659         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17660         GLIBC_2.19 symbol.
17661         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17662         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17663         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17664         ... this.
17665         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17666         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17667         ... this.
17668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17669         Regenerate.
17670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17671         Regenerate.
17672         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17673         halfs of GPRs for high_gprs contexts.
17674         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17675         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17676         field.
17677         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17678         uc_flags field.
17679         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17680         64 bit versions:
17681         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17682         for high GPRs (uc_high_gprs) and for future extensions
17683         (__reserved).
17684         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17685         for future extensions (__reserved).
17686         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17687         64 bit versions:
17688         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17689         SC_HIGHGPRS offset definition.
17690         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17691         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17692
17693         * Versions.def: Add GLIBC_2.19 for libpthread.
17694         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17695         siglongjmp for libpthread with GLIBC_2.19 symver.
17696         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17697         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17698         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17699         * sysdeps/s390/__longjmp.c: New file.
17700         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17701         * sysdeps/s390/longjmp.c: New file.
17702         * sysdeps/s390/setjmp.S: New file.
17703         * sysdeps/s390/sigjmp.S: New file.
17704         * sysdeps/s390/v1-longjmp.c: New file.
17705         * sysdeps/s390/v1-setjmp.h: New file.
17706         * sysdeps/s390/v1-sigjmp.c: New file.
17707         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17708         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17709         GLIBC_2.19 version.
17710         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17711         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17712         versioned symbols for ____longjmp_chk.
17713         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17714         Likewise.
17715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17716         Regenerate.
17717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17718         Regenerate.
17719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17720         Regenerate.
17721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17722         Regenerate.
17723         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17724         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17725         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17726         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17727         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17728         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17729         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17730         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17731         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17732         * sysdeps/s390/rtld-__longjmp.c: New file.
17733         * sysdeps/s390/rtld-setjmp.S: New file.
17734
17735 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17736
17737         [BZ #16400]
17738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17739         Return -__logl (x) for small positive arguments without evaluating
17740         a polynomial.
17741
17742 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17743
17744         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17745         Rename to ...
17746         (__ptrace_peeksiginfo_args): ... this.
17747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17749         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17750
17751 2014-01-06  Allan McRae  <allan@archlinux.org>
17752
17753         * inet/netinet/in.h: Fix typo in comment.
17754
17755 2014-01-05  Andreas Jaeger  <aj@suse.de>
17756
17757         * sysdeps/i386/fpu/libm-test-ulps: Update.
17758
17759 2014-01-05  Allan McRae  <allan@archlinux.org>
17760
17761         * po/libc.pot: Regenerated.
17762
17763         * malloc/memusagestat.c: Fix gettext call formatting.
17764
17765 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17766
17767         * nscd/nscd.c: Improve usage() output.
17768
17769 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17770
17771         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17772         * sysdeps/unix/sysv/linux/configure: Regenerated.
17773         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17774         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17775
17776 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17777
17778         [BZ #16390]
17779         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17780         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17781
17782 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17783
17784         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17785         extra tokens at end of #undef directive.
17786         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17788         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17789
17790 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17791
17792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17793
17794         * math/auto-libm-test-in: Mark various tests with
17795         xfail-rounding:ldbl-128ibm.
17796         * math/auto-libm-test-out: Regenerated.
17797
17798 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17799
17800         [BZ #16386]
17801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17802         numbers with subnormal high part when calculating exponent.
17803
17804         [BZ #16385]
17805         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17806         fabs.
17807
17808         [BZ #16384]
17809         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17810         M_LN2l.
17811         (__ieee754_acoshl): Use __log1pl not __log1p.
17812
17813 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17814
17815         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17816         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17817         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17818         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17819         (reused_arena, arena_get2): Convert to GNU style.
17820         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17821         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17822         (memalign_check, __malloc_set_state): Likewise.
17823         * malloc/mallocbug.c (main): Likewise.
17824         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17825         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17826         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17827         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17828         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17829         (__posix_memalign, malloc_info): Likewise.
17830         * malloc/malloc.h: Likewise.
17831         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17832         (mallochook, memalignhook, reallochook, mabort): Likewise.
17833         * malloc/mcheck.h: Likewise.
17834         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17835         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17836         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17837         * malloc/morecore.c (__default_morecore): Likewise.
17838         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17839         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17840         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17841         (print_and_abort): Likewise.
17842         * malloc/obstack.h: Likewise.
17843         * malloc/set-freeres.c (__libc_freeres): Likewise.
17844         * malloc/tst-mallocstate.c (main): Likewise.
17845         * malloc/tst-mtrace.c (main): Likewise.
17846         * malloc/tst-realloc.c (do_test): Likewise.
17847
17848 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17849
17850         [BZ #16366]
17851         * nscd/netgroupcache.c (do_notfound): New function.
17852         (addgetnetgrentX): Use it.
17853
17854         [BZ # 16365]
17855         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17856         NSS_STATUS_NOTFOUND.
17857
17858 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17859
17860         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17862
17863 2014-01-01  Allan McRae  <allan@archlinux.org>
17864
17865         * scripts/update-copyrights: Update configure input file suffix.
17866
17867         * NEWS: Update copyright year.
17868         * catgets/gencat.c: Likewise.
17869         * csu/version.c: Likewise.
17870         * debug/catchsegv.sh: Likewise.
17871         * debug/pcprofiledump.c: Likewise.
17872         * debug/xtrace.sh: Likewise.
17873         * elf/ldconfig.c: Likewise.
17874         * elf/ldd.bash.in: Likewise.
17875         * elf/pldd.c: Likewise.
17876         * elf/sotruss.ksh: Likewise.
17877         * elf/sprof.c: Likewise.
17878         * iconv/iconv_prog.c: Likewise.
17879         * iconv/iconvconfig.c: Likewise.
17880         * locale/programs/locale.c: Likewise.
17881         * locale/programs/localedef.c: Likewise.
17882         * login/programs/pt_chown.c: Likewise.
17883         * malloc/memusage.sh: Likewise.
17884         * malloc/memusagestat.c: Likewise.
17885         * malloc/mtrace.pl: Likewise.
17886         * manual/libc.texinfo: Likewise.
17887         * nscd/nscd.c: Likewise.
17888         * nss/getent.c: Likewise.
17889         * nss/makedb.c: Likewise.
17890         * posix/getconf.c: Likewise.
17891         * scripts/test-installation.pl: Likewise.
17892
17893         * All files with FSF copyright notices: Update copyright dates
17894         using scripts/update-copyrights.
17895         * intl/plural.c: Regenerated.
17896         * locale/programs/charmap-kw.h: Likewise.
17897         * locale/programs/locfile-kw.h: Likewise.
17898
17899 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17900
17901         * sysdeps/unix/sysv/linux/configure: Regenerated.
17902         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17903         the linux/fanotify.h header.
17904         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17905         HAVE_LINUX_FANOTIFY_H is defined.
17906
17907 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17908
17909         * benchtests/cos-inputs: New inputs.
17910         * benchtests/sin-inputs: Likewise.
17911
17912         * benchtests/atan-inputs: New inputs. Fix name of multiple
17913         precision fallback inputs.
17914
17915         * benchtests/atanh-inputs: New inputs.
17916         * benchtests/tanh-inputs: Likewise.
17917
17918         * benchtests/acosh-inputs: New inputs.
17919         * benchtests/asinh-inputs: Likewise.
17920
17921         * benchtests/cosh-inputs: New inputs.
17922         * benchtests/sinh-inputs: Likewise.
17923
17924         * benchtests/acos-inputs: Add more inputs.
17925         * benchtests/asin-inputs: Likewise.
17926
17927 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17928
17929         [BZ #16375]
17930         * manual/arith.texi: Fix spelling.
17931         * manual/charset.texi: Likewise.
17932         * manual/errno.texi: Likewise.
17933         * manual/filesys.texi: Likewise.
17934         * manual/lang.texi: Likewise.
17935         * manual/llio.texi: Likewise.
17936         * manual/locale.texi: Likewise.
17937         * manual/message.texi: Likewise.
17938         * manual/resource.texi: Likewise.
17939         * manual/search.texi: Likewise.
17940         * manual/setjmp.texi: Likewise.
17941         * manual/stdio.texi: Likewise.
17942         * manual/string.texi: Likewise.
17943         * manual/sysinfo.texi: Likewise.
17944         * manual/time.texi: Likewise.
17945
17946 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17947
17948         * po/sl.po: New file.
17949
17950 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17951
17952         * .gitignore: Add core/.gdbinit/.gdb_history.
17953
17954 2013-12-27  Allan McRae  <allan@archlinux.org>
17955
17956         [BZ #16369]
17957         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17958         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17959
17960 2013-12-24  Brooks Moses  <bmoses@google.com>
17961
17962         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17963         all compilers that claim C++98 compliance, not just GCC.
17964         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17965         Likewise.
17966
17967 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17968
17969         * NEWS: Restore accidentally deleted bug-fix entries.
17970
17971 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17972             Ondřej Bílka  <neleai@seznam.cz>
17973
17974         [BZ #15073]
17975         * malloc/malloc.c (_int_free): Perform sanity check only if we
17976         have_lock.
17977
17978 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17979
17980         [BZ #12986]
17981         * manual/stdio.texi (String Input Conversions): Clarify that character
17982         classes are not supported.
17983
17984 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17985
17986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17987
17988 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17989
17990         [BZ #16337]
17991         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17992         Calculate results for small negative arguments directly rather
17993         than using reflection formula with special underflow handling.
17994
17995         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17996         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17997         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17998         (fchflags): Likewise.
17999         (revoke): Likewise.
18000         (setlogin): Likewise.
18001         (sigaltstack): Likewise.
18002         (wait4): Likewise.
18003         (sigblock): Remove.
18004         (sigsetmask): Likewise.
18005         (wait3): Likewise.
18006         (waitpid): Likewise.
18007         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18008         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18009         file.
18010         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18011         * sysdeps/unix/bsd/Makefile: ... here.
18012         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18013         * sysdeps/unix/bsd/Versions: ... here.
18014         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18015         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18016         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18017         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18018         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18019         * sysdeps/unix/bsd/sigblock.c: ... here.
18020         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18021         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18022         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18023         * sysdeps/unix/bsd/sigvec.c: ... here.
18024         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18025         * sysdeps/unix/bsd/tcdrain.c: ... here.
18026         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18027         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18028         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18029         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18030         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18031         * sysdeps/unix/bsd/wait.c: ... here.
18032         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18033         * sysdeps/unix/bsd/wait3.c: ... here.
18034         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18035         * sysdeps/unix/bsd/waitpid.c: ... here.
18036
18037 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18038
18039         [BZ #16356]
18040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18041         round-to-nearest for [!USE_AS_EXPM1L].
18042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18043         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18044         more tests of exp and exp10.  Expect some exp10 tests to miss
18045         exceptions or fail in directed rounding modes.
18046         * math/auto-libm-test-out: Regenerated.
18047         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18048         (exp10_test_tonearest): New function.
18049         (exp10_towardzero_test_data): New array.
18050         (exp10_test_towardzero): New function.
18051         (exp10_downward_test_data): New array.
18052         (exp10_test_downward): New function.
18053         (exp10_upward_test_data): New array.
18054         (exp10_test_upward): New function.
18055         (main): Call the new functions.
18056         * sysdeps/i386/fpu/libm-test-ulps: Update.
18057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058
18059 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18060
18061         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18062         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18063         * math/auto-libm-test-out: Regenerated.
18064         * math/libm-test.inc (acosh_test_data): Add more tests.
18065         (atanh_test_data): Likewise.
18066         (ceil_test_data): Likewise.
18067         (copysign_test_data): Likewise.
18068         * sysdeps/i386/fpu/libm-test-ulps: Update.
18069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070
18071         * timezone/checktab.awk: Update from tzcode 2013i.
18072         * timezone/private.h: Likewise.
18073         * timezone/scheck.c: Likewise.
18074         * timezone/tzfile.h: Likewise.
18075         * timezone/tzselect.ksh: Likewise.
18076         * timezone/zdump.c: Likewise.
18077         * timezone/zic.c: Likewise.
18078
18079         * math/auto-libm-test-in: Add tests of cpow.
18080         * math/auto-libm-test-out: Regenerated.
18081         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18082         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18083         mpc_cc_c.
18084         (func_calc_desc): Add mpc_cc_c union field.
18085         (test_functions): Add cpow.
18086         (special_fill_2pi): New function.
18087         (special_real_inputs): Add 2pi.
18088         (calc_generic_results): Handle mpc_cc_c.
18089         * sysdeps/i386/fpu/libm-test-ulps: Update.
18090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18091
18092         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18093         csqrt, ctan and ctanh.
18094         * math/auto-libm-test-out: Regenerated.
18095         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18096         (TEST_COND_x86): Likewise.
18097         (ccos_test_data): Use AUTO_TESTS_c_c.
18098         (ccosh_test_data): Likewise.
18099         (cexp_test_data): Likewise.
18100         (clog_test_data): Likewise.
18101         (csqrt_test_data): Likewise.
18102         (ctan_test_data): Likewise.
18103         (ctan_tonearest_test_data): Likewise.
18104         (ctan_towardzero_test_data): Likewise.
18105         (ctan_downward_test_data): Likewise.
18106         (ctan_upward_test_data): Likewise.
18107         (ctanh_test_data): Likewise.
18108         (ctanh_tonearest_test_data): Likewise.
18109         (ctanh_towardzero_test_data): Likewise.
18110         (ctanh_downward_test_data): Likewise.
18111         (ctanh_upward_test_data): Likewise.
18112         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18113         mpc_c_c.
18114         (func_calc_desc): Add mpc_c_c union field.
18115         (FUNC_mpc_c_c): New macro.
18116         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18117         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18118         ctanh.
18119         (special_fill_min_subnorm_p120): New function.
18120         (special_real_inputs): Add min_subnorm_p120.
18121         (calc_generic_results): Handle mpc_c_c.
18122         * sysdeps/i386/fpu/libm-test-ulps: Update.
18123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18124
18125 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18126
18127         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18128         (do_sin_slow): New functions.
18129         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18130         (cslow2, csloww1, csloww2): Use the new functions.
18131
18132         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18133         Use M to change sign of result instead of X.  Assume X is
18134         positive.
18135         (csloww1): Likewise.
18136         (__sin): Adjust.
18137         (__cos): Adjust.
18138
18139         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18140         arguments A and DA.
18141         (__sin): Adjust.
18142         (__cos): Likewise.
18143
18144         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18145         (__cos): Likewise.
18146         (sloww1): Don't adjust sign of DX.
18147         (csloww1): Likewise.
18148         (sloww2): Use X directly and don't adjust sign of DX.
18149         (csloww2): Likewise.
18150
18151 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18152
18153         * math/auto-libm-test-in: Add tests of cabs and carg.
18154         * math/auto-libm-test-out: Regenerated.
18155         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18156         (carg_test_data): Likewise.
18157         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18158         mpc_c_f.
18159         (func_calc_desc): Add mpc_c_f union field.
18160         (test_functions): Add cabs and carg.
18161         (calc_generic_results): Handle mpc_c_f.
18162
18163         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18164         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18165         as a macro and a compat symbol.
18166         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18167         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18168         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18169         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18170         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18171         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18172         not use .hidden.
18173         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18174         Likewise.
18175         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18176         Likewise.
18177         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18178         Likewise.
18179         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18180         Likewise.
18181         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18182         Likewise.
18183         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18184         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18185         from GLIBC_2.3.2.
18186
18187 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18188
18189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18190
18191 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18192
18193         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18194         trailing whitespace removed.
18195         * scripts/config.guess: Update to version 2013-11-29.
18196         * scripts/config.sub: Update to version 2013-10-01.
18197
18198         * math/auto-libm-test-in: Add tests of sincos.
18199         * math/auto-libm-test-out: Regenerated.
18200         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18201         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18202         mpfr_f_11.
18203         (func_calc_desc): Add mpfr_f_11 union field.
18204         (test_functions): Add sincos.
18205         (calc_generic_results): Handle mpfr_f_11.
18206         * sysdeps/i386/fpu/libm-test-ulps: Update.
18207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18208
18209 2013-12-19  Andreas Schwab  <schwab@suse.de>
18210
18211         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18212         CALL_MCOUNT.
18213         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18214         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18215         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18216
18217 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18218
18219         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18220         * sysdeps/i386/fpu/libm-test-ulps: Update.
18221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18222
18223         [BZ #16293]
18224         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18225         round-to-nearest mode when using frndint.
18226         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18227         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18228         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18229         Likewise.
18230         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18231         sinh test to fail.
18232         * math/auto-libm-test-out: Regenerated.
18233         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18234         (TEST_COND_x86): Likewise.
18235         (expm1_tonearest_test_data): New array.
18236         (expm1_test_tonearest): New function.
18237         (expm1_towardzero_test_data): New array.
18238         (expm1_test_towardzero): New function.
18239         (expm1_downward_test_data): New array.
18240         (expm1_test_downward): New function.
18241         (expm1_upward_test_data): New array.
18242         (expm1_test_upward): New function.
18243         (main): Run the new test functions.
18244         * sysdeps/i386/fpu/libm-test-ulps: Update.
18245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18246
18247         * include/features.h: Update comment documenting feature test
18248         macros.  Mention _DEFAULT_SOURCE in comment.
18249         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18250         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18251         _BSD_SOURCE and _SVID_SOURCE.
18252         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18253         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18254         !_SVID_SOURCE]: Likewise.
18255         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18256         (__USE_POSIX_IMPLICITLY): Define.
18257         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18258         (_POSIX_SOURCE): Undefine and redefine.
18259         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18260         (_POSIX_C_SOURCE): Likewise.
18261         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18262         (Feature Test Macros): Update documentation of default features.
18263
18264 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18265
18266         * benchtests/Makefile: Add bench-strtok.
18267         * benchtests/bench-strtok.c: New file: strtok benchtest.
18268
18269 2013-12-19  Allan McRae  <allan@archlinux.org>
18270
18271         * manual/install.texi: Suppress menu for plain text output.
18272         * INSTALL: Regenerated.
18273
18274 2013-12-18  Brooks Moses  <bmoses@google.com>
18275
18276         [BZ #15846]
18277         * misc/getauxval.c: Include errno.h.
18278         (__getauxval): Set errno to ENOENT if the requested type is not
18279         found.
18280         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18281         don't declare with __attribute_const__.
18282         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18283         * manual/startup.texi: Document that getauxval sets errno.
18284
18285 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18286
18287         * math/auto-libm-test-in: Add tests of jn and yn.
18288         * math/auto-libm-test-out: Regenerated.
18289         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18290         (yn_test_data): Likewise.
18291         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18292         mpfr_if_f.
18293         (func_calc_desc): Add mpfr_if_f union field.
18294         (FUNC_mpfr_if_f): New macro.
18295         (test_functions): Add jn and yn.
18296         (calc_generic_results): Assert type of second input for
18297         mpfr_ff_f.  Handle mpfr_if_f.
18298         (output_for_one_input_case): Disable all checking for arguments
18299         fitting floating-point types in case of an integer argument.
18300         * sysdeps/i386/fpu/libm-test-ulps: Update.
18301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18302
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18304         Don't expect fegetround reference in libm.so.
18305
18306 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18307
18308         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18309         $(config-cflags-nofma).
18310
18311 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18312
18313         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18314         * math/auto-libm-test-out: Regenerated.
18315
18316         [BZ #16338]
18317         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18318         to determine exponent and adjust argument to have exponent of -1.
18319         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18320         log2.
18321         * math/auto-libm-test-out: Regenerated.
18322         * sysdeps/i386/fpu/libm-test-ulps: Update.
18323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18324
18325 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18326
18327         * manual/probes.texi: Remove cases when per-thread arenas are
18328         disabled.
18329
18330 2013-12-18  Andreas Schwab  <schwab@suse.de>
18331
18332         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18333         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18334         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18335         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18336         * sysdeps/i386/i686/multiarch/Makefile: Update.
18337         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18338
18339 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18340
18341         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18342         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18343
18344 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18345
18346         [BZ #15968]
18347         Support TZ transition times < 00:00:00.
18348         This is needed for version-3 tz-format files; it supports time
18349         stamps past 2037 for America/Godthab (the only entry in the tz
18350         database for which this change is relevant).
18351         * manual/time.texi (TZ Variable): Document transition times
18352         from -167:59:59 through -00:00:01.
18353         * time/tzset.c (tz_rule): Time of day is now signed.
18354         (__tzset_parse_tz): Parse negative time of day.
18355
18356         Document TZ transition times >= 25:00:00.
18357         * manual/time.texi (TZ Variable): Document transition times from
18358         25:00:00 through 167:59:59.  These are already supported, and this
18359         support will help with version-3 tz-format files.
18360
18361         * manual/time.texi (TZ Variable): Modernize North America example
18362         to reflect current (i.e., 2007-and-later) daylight saving rules.
18363
18364         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18365
18366 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18367
18368         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18369         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18372         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18373         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18374         * sysdeps/unix/bsd/clock.c: Likewise.
18375         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18376         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18377         * sysdeps/unix/bsd/init-posix.c: Likewise.
18378         * sysdeps/unix/bsd/poll.c: Likewise.
18379         * sysdeps/unix/bsd/ptsname.c: Likewise.
18380         * sysdeps/unix/bsd/seekdir.c: Likewise.
18381         * sysdeps/unix/bsd/setegid.c: Likewise.
18382         * sysdeps/unix/bsd/seteuid.c: Likewise.
18383         * sysdeps/unix/bsd/setgid.c: Likewise.
18384         * sysdeps/unix/bsd/setrgid.c: Likewise.
18385         * sysdeps/unix/bsd/setruid.c: Likewise.
18386         * sysdeps/unix/bsd/setsid.c: Likewise.
18387         * sysdeps/unix/bsd/setuid.c: Likewise.
18388         * sysdeps/unix/bsd/sigaction.c: Likewise.
18389         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18390         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18391         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18392         * sysdeps/unix/bsd/telldir.c: Likewise.
18393         * sysdeps/unix/bsd/times.c: Likewise.
18394         * sysdeps/unix/bsd/usleep.c: Likewise.
18395
18396         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18397         ($(objpfx)libbsd-compat.a): Remove rule.
18398
18399         * include/features.h (__FAVOR_BSD): Do not define.
18400         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18401         features conflicting with POSIX.
18402         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18403         (_BSD_SOURCE): Remove description of not being a subset of other
18404         feature test macros.
18405         * manual/job.texi (getpgrp): Do not document BSD version.
18406         (getpgid): Do not document by reference to BSD getpgrp.
18407         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18408         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18409         * signal/signal.h [__FAVOR_BSD]: Likewise.
18410         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18411         instead of making contents conditional on [__FAVOR_BSD].
18412         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18413
18414 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18415
18416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18417
18418 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18419
18420         [BZ #16314]
18421         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18422         values below 2**-450, not 2**-500.
18423         * math/auto-libm-test-in: Don't allow spurious underflow from
18424         hypot.
18425         * math/auto-libm-test-out: Regenerated.
18426
18427         [BZ #16316]
18428         [BZ #16330]
18429         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18430         values of ha and hb and sort them after adjusting subnormal
18431         arguments.
18432         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18433         Likewise.
18434         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18435         values of ea and eb and sort them after adjusting subnormal
18436         arguments.
18437         * math/auto-libm-test-in: Do not expect some hypot tests of
18438         subnormals to fail.  Add more hypot tests.
18439         * math/auto-libm-test-out: Regenerated.
18440
18441 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18442
18443         [BZ #13304]
18444         * sysdeps/sh/s_fma.c: New file.
18445         * sysdeps/sh/s_fmaf.c: New file.
18446         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18447         version.
18448         * sysdeps/sh/Implies: Add sh/soft-fp.
18449
18450 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18451
18452         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18453         level of indirection to members `objname', `errstring', `malloced'.
18454         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18455         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18456         it as the __longjmp argument (just pass 1 instead).
18457         (_dl_catch_error): Initialize C with argument pointers and address of
18458         volatile local ERRCODE rather than copying values out of C at return.
18459
18460 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18461
18462         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18463         * math/auto-libm-test-out: Regenerated.
18464         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18465         (hypot_test_data): Likewise.
18466         (pow_test_data): Likewise.
18467         (pow_tonearest_test_data): Likewise.
18468         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18469         mpfr_ff_f.
18470         (func_calc_desc): Add mpfr_ff_f union field.
18471         (FUNC_mpfr_ff_f): New macro.
18472         (test_functions): Add atan2, hypot and pow.
18473         (special_fill_min): New function.
18474         (special_fill_minus_min): Likewise.
18475         (special_fill_min_subnorm): Likewise.
18476         (special_fill_minus_min_subnorm): Likewise.
18477         (special_real_inputs): Add min, -min, min_subnorm and
18478         -min_subnorm.
18479         (calc_generic_results): Handle mpfr_ff_f.
18480         * sysdeps/i386/fpu/libm-test-ulps: Update.
18481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18482
18483 2013-12-16  Will Newton  <will.newton@linaro.org>
18484
18485         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18486         (Aligned Memory Blocks): Add documentation for aligned_alloc
18487         and suggest it as an alternative to posix_memalign.
18488         (Hooks for Malloc): Document __memalign_hook is also called
18489         for aligned_alloc.  (Summary of Malloc): Add summary for
18490         aligned alloc.  Document __memalign_hook is also called
18491         for aligned_alloc.
18492
18493 2013-12-16  Will Newton  <will.newton@linaro.org>
18494
18495         * manual/memory.texi (Malloc Examples): Clarify default
18496         alignment documentation.  Suggest posix_memalign rather
18497         than memalign or valloc.
18498         (Aligned Memory Blocks): Remove suggestion to use memalign
18499         or valloc.  Remove obsolete comment about BSD.
18500         Document memalign errno values and mark the function obsolete.
18501         Document posix_memalign returned error codes.  Mark valloc
18502         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18503         called for posix_memalign and valloc.
18504         (Summary of Malloc): Add posix_memalign to function summary.
18505         __memalign_hook is also called for posix_memalign and valloc.
18506
18507 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18510         TAYLOR_SIN.
18511         (__sin): Adjust.
18512         (__cos): Likewise.
18513         (sloww): Use mynumber union.  Expand ternary operator into
18514         if-else statements.
18515         (cslow): use mynumber union.
18516
18517 2013-12-16  Allan McRae  <allan@archlinux.org>
18518
18519         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18520         * configure: Regenerated.
18521
18522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18523
18524         [BZ #14120]
18525         * configure.ac: Added --enable-maintainer-mode. Check for
18526         autoconf when enabled.
18527         * configure: Regenerated.
18528
18529         * nscd/nscd.service: New file.
18530         * nscd/nscd.tmpfiles: New file.
18531
18532 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18533
18534         [BZ #12100]
18535         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18536         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18537         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18538         (strstr): Add __strstr_sse2_unaligned ifunc.
18539         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18540         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18541         (strcasestr): Remove __strcasestr_sse42 ifunc.
18542         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18545
18546 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18547
18548         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18549         * sysdeps/sh/bits/fenv.h: ... here.
18550         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18551
18552 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18553
18554         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18555
18556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18557         hypotf multiarch implementations.
18558         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18561         multiarch hypot for PPC64.
18562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18565         multiarch hypotf for PPC64.
18566
18567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18568         modff multiarch implementations.
18569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18572         multiarch modf for PPC64.
18573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18576         multiarch modff for PPC64.
18577
18578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18579         and logl multiarch implementations.
18580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18583         multiarch logb for PPC64.
18584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18587         multiarch logb for PPC64.
18588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18591         multiarch logb for PPC64.
18592
18593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18594         isinff multiarch implementation.
18595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18596         file.
18597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18599         multiarch isinf for PPC64.
18600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18601         file.
18602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18603         multiarch isinff for PPC64.
18604
18605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18606         finitef multiarch implementation.
18607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18608         file.
18609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18611         multiarch finite for PPC64.
18612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18613         file.
18614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18615         multiarch finitef for PPC64.
18616
18617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18618         lrint multiarch implementation.
18619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18620         file.
18621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18623         multiarch llrint for PPC64.
18624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18625         multiarch lrint for PPC64.
18626
18627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18628         copysignf multiarch implementation.
18629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18630         file.
18631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18632         file.
18633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18634         multiarch copysign for PPC64.
18635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18636         multiarch copysignf for PPC64.
18637
18638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18639         multiarch implementation.
18640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18641         file.
18642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18643         file.
18644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18645         file.
18646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18647         file.
18648         multiarch llround for PPC64.
18649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18650         multiarch trunc for PPC64.
18651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18652         multiarch truncf for PPC64.
18653
18654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18655         multiarch implementation.
18656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18657         file.
18658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18659         file.
18660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18661         file.
18662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18663         file.
18664         multiarch llround for PPC64.
18665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18666         multiarch round for PPC64.
18667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18668         multiarch roundf for PPC64.
18669
18670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18671         multiarch implementation.
18672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18673         file.
18674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18675         file.
18676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18677         file.
18678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18679         file.
18680         multiarch llround for PPC64.
18681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18682         multiarch floor for PPC64.
18683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18684         multiarch floorf for PPC64.
18685
18686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18687         multiarch implementation.
18688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18689         file.
18690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18691         file.
18692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18693         file.
18694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18695         file.
18696         multiarch llround for PPC64.
18697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18698         multiarch ceil for PPC64.
18699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18700         multiarch ceilf for PPC64.
18701
18702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18703         multiarch implementation.
18704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18705         file.
18706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18707         file.
18708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18709         file.
18710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18711         multiarch llround for PPC64.
18712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18713         multiarch lround for PPC64.
18714
18715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18716         multiarch implementation.
18717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18720         file.
18721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18724         multiarch isnan for PPC64.
18725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18726         multiarch isnanf for PPC64.
18727
18728         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18729         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18730         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18731         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18732         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18734
18735         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18736         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18738         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18739
18740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18741         multiarch implementations.
18742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18743         (__libc_ifunc_impl_list): Likewise.
18744         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18747         multiarch stpcpy for PPC64.
18748
18749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18750         multiarch implementations.
18751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18752         (__libc_ifunc_impl_list): Likewise.
18753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18754         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18755         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18756         multiarch strcpy for PPC64.
18757
18758         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18759         redefine function name.
18760         (_wordcopy_fwd_dest_aligned): Likewise.
18761         (_wordcopy_bwd_aligned): Likewise.
18762         (_wordcopy_bwd_dest_aligned): Likewise.
18763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18764         multiarch implementations.
18765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18766         (__libc_ifunc_impl_list): Likewise.
18767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18770         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18771         multiarch wcscpy for PPC64.
18772
18773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18774         multiarch implementations.
18775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18776         (__libc_ifunc_impl_list): Likewise.
18777         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18778         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18779         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18780         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18781         multiarch wcscpy for PPC64.
18782
18783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18784         multiarch implementations.
18785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18786         (__libc_ifunc_impl_list): Likewise.
18787         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18788         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18789         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18790         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18791         multiarch wcsrchr for PPC64.
18792
18793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18794         multiarch implementations.
18795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18796         (__libc_ifunc_impl_list): Likewise.
18797         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18798         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18799         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18800         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18801         multiarch wcschr for PPC64.
18802
18803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18804         multiarch implementations.
18805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18806         (__libc_ifunc_impl_list): Likewise.
18807         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18808         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18809         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18810         multiarch strchrnul for PPC64.
18811
18812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18813         implementations.
18814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18815         (__libc_ifunc_impl_list): Likewise.
18816         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18817         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18818         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18819         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18820         strchr for PPC64.
18821
18822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18823         implementations.
18824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18825         (__libc_ifunc_impl_list): Likewise.
18826         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18827         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18828         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18829         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18830         strncmp for PPC64.
18831
18832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18833         multiarch implementations.
18834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18835         (__libc_ifunc_impl_list): Likewise.
18836         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18837         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18838         strncasecmp for PPC64.
18839         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18840         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18841         multiarch strncasecmp_l for PPC64.
18842
18843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18844         multiarch implementations.
18845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18846         (__libc_ifunc_impl_list): Likewise.
18847         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18848         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18849         multiarch strcasecmp for PPC64.
18850         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18851         file.
18852         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18853         multiarch strcasecmp_l for PPC64.
18854
18855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18856         implementations.
18857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18858         (__libc_ifunc_impl_list): Likewise.
18859         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18860         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18861         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18862         strnlen for PPC64.
18863
18864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18865         implementations.
18866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18867         (__libc_ifunc_impl_list): Likewise.
18868         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18869         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18870         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18871         strlen for PPC64.
18872
18873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18874         implementations.
18875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18876         (__libc_ifunc_impl_list): Likewise.
18877         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18878         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18879         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18880         rawmemrchr for PPC64.
18881
18882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18883         implementation.
18884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18885         (__libc_ifunc_impl_list): Likewise.
18886         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18887         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18888         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18889         memrchr for PPC64.
18890
18891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18892         implementation.
18893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18894         (__libc_ifunc_impl_list): Likewise.
18895         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18896         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18897         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18898         memchr for PPC64.
18899
18900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18901         implementation.
18902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18903         (__libc_ifunc_impl_list): Likewise.
18904         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18905         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18906         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18907         mempcpy for PPC64.
18908
18909         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18910         avoid cretion of __bzero symbol.
18911         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18912         Likewise.
18913         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18914         Likewise.
18915         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18916         Likewise.
18917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18918         multiarch implementations.
18919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18920         (__libc_ifunc_impl_list): Likewise.
18921         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18922         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18923         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18924         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18925         bzero for PPC32.
18926         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18927         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18928         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18930         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18931         memset for PPC64.
18932         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18933
18934         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18936         implementations.
18937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18938         (__libc_ifunc_impl_list): Likewise.
18939         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18940         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18941         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18942         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18943         memcmp for PPC64.
18944
18945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18946         multiarch for POWER/PPC64.
18947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18948         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18950         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18951         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18952         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18953         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18954         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18955         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18956         memcpy for PPC64.
18957
18958         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18959         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18960         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18961         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18962         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18963         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18964         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18965         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18966         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18967         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18968         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18969         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18970         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18971         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18972         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18980
18981 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18982
18983         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18984
18985 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18986
18987         * benchtests/Makefile (bench): Add exp2 and log2.
18988         (LDLIBS-bench-exp2): Add -lm.
18989         (LDLIBS-bench-log2): Likewise.
18990         * benchtests/exp2-inputs: New inputs file.
18991         * benchtests/log2-inputs: New inputs file.
18992         * benchtests/log-inputs: Add new inputs.
18993         * benchtests/tan-inputs: Likewise.
18994
18995 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18996
18997         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18998         definition...
18999         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19000         (csloww2): ... from here.
19001
19002         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19003         instead of structures.
19004         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19005         (POLYNOMIAL): Likewise.
19006         (TAYLOR_SLOW): Likewise.
19007         (__sin): Likewise.
19008         (__cos): Likewise.
19009         (slow1): Likewise.
19010         (slow2): Likewise.
19011         (sloww): Likewise.
19012         (sloww1); Likewise.
19013         (sloww2): Likewise.
19014         (bsloww1): Likewise.
19015         (bsloww2): Likewise.
19016         (cslow2): Likewise.
19017         (csloww): Likewise.
19018         (csloww1): Likewise.
19019         (csloww2): Likewise.
19020
19021 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19022
19023         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19024         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19025         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19026         * malloc/hooks.c (realloc_check): Likewise.
19027
19028         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19029         * malloc/arena.c: Remove PER_THREAD conditional.
19030         [!PER_THREAD]: Remove code.
19031         (ptmalloc_unlock_all2): Likewise.
19032         (ptmalloc_init): Likewise.
19033         (_int_new_arena): Likewise.
19034         (arena_get2): Likewise.
19035         * malloc/hooks.c (__malloc_get_state): Likewise.
19036         (__malloc_set_state): Likewise.
19037         * malloc/malloc.c: Likewise.
19038         (struct malloc_state): Likewise.
19039         (struct malloc_par): Likewise.
19040         (__libc_realloc): Likewise.
19041         (__libc_mallopt): Likewise.
19042
19043 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19044
19045         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19046
19047 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19048
19049         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19050         macro to a function.  Check for zero perturb_byte.
19051         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19052
19053         * malloc/malloc.c: (force_reg): Remove.
19054         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19055         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19056         force_reg by atomic_forced_read.
19057         * malloc/arena.c (ptmalloc_init): Likewise.
19058         * malloc/hooks.c (top_check): Likewise.
19059
19060 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19061
19062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19063
19064 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19065
19066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19067
19068 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19069
19070         * math/auto-libm-test-in: Add tests of lgamma.
19071         * math/auto-libm-test-out: Regenerated.
19072         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19073         (M_LOG_2_SQRT_PIl): Likewise.
19074         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19076         mpfr_f_f1.
19077         (func_calc_desc): Add mpfr_f_f1 union field.
19078         (ARGS1): New macro.
19079         (ARGS2): Likewise.
19080         (ARGS3): Likewise.
19081         (ARGS4): Likewise.
19082         (RET1): Likewise.
19083         (RET2): Likewise.
19084         (CALC): Likewise.
19085         (FUNC): Likewise.
19086         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19087         (test_functions): Add lgamma.
19088         (calc_generic_results): Handle mpfr_f_f1.
19089         * sysdeps/i386/fpu/libm-test-ulps: Update.
19090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091
19092 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19093
19094         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19095         __mpn_add_n for PowerPC64/POWER7.
19096         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19097         __mpn_sub_n for PowerPC64/POWER7.
19098
19099         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19100         __mpn_addmul_1 for PowerPC64.
19101         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19102         __mpn_submul_1 for PowerPC64.
19103         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19104         for PowerPC64.
19105         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19106         for PowerPC64.
19107
19108 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19109
19110         [BZ #15089]
19111         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19112
19113 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19114
19115         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19116
19117         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19118         add multiarch folders.
19119         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19120         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19121         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19122         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19123         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19124         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19125         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19126         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19127         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19128         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19129         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19136
19137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19138         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19140         New file.
19141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19142         New file.
19143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19144         multiarch __ieee754_hypot for PowerPC32.
19145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19146         New file.
19147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19148         New file.
19149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19150         multiarch __ieee754_hypotf for PowerPC32.
19151
19152         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19153         long_double_symbol only if __logbl is defined.
19154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19155         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19156         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19157         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19159         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19160         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19161         path for implementation.
19162         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19163         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19165         logb, and logbl multiarch implementations for PowerPC32.
19166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19167         file.
19168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19169         file.
19170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19171         multiarch logb for PowerPC32.
19172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19173         file.
19174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19175         file.
19176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19177         multiarch logbf for PowerPC32.
19178         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19180         file.
19181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19182         multiarch logbl implementation for PowerPC32.
19183
19184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19185         and modff multiarch implementations.
19186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19187         New file.
19188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19189         New file.
19190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19191         multiarch modf for PowerPC32.
19192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19193         New file.
19194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19195         New file.
19196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19197         multiarch modff for PowerPC32.
19198
19199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19200         and lrintf multiarch implementations.
19201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19202         New file.
19203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19204         New file.
19205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19206         multiarch lrint for PowerPC32.
19207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19208         file: multiarch lrintf for PowerPC32.
19209
19210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19211         and lroundf multiarch implementations.
19212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19213         New file.
19214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19215         New file.
19216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19217         New file.
19218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19219         multiarch lround for PowerPC32.
19220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19221         file: multiarch lroundf for PowerPC32.
19222
19223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19224         copysign and copysignf multiarch implementations.
19225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19226         New file.
19227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19228         New file.
19229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19230         file: multiarch copysign for PowerPC32.
19231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19232         file: multiarch copysignf for PowerPC32.
19233
19234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19235         and truncf multiarch implementations.
19236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19237         New file.
19238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19239         file.
19240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19241         multiarch trunc for PowerPC32.
19242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19243         New file.
19244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19245         New file.
19246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19247         multiarch truncf for PowerPC32.
19248
19249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19250         and roundf multiarch implementations.
19251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19252         New file.
19253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19254         file.
19255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19256         multiarch round for PowerPC32.
19257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19258         New file.
19259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19260         New file.
19261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19262         multiarch roundf for PowerPC32.
19263
19264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19265         and floorf multiarch implementations.
19266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19267         New file.
19268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19269         file.
19270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19271         multiarch floor for PowerPC32.
19272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19273         New file.
19274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19275         New file.
19276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19277         multiarch floorf for PowerPC32.
19278
19279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19280         and ceilf multiarch implementations.
19281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19282         New file.
19283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19284         file.
19285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19286         multiarch ceil for PowerPC32.
19287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19288         New file.
19289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19290         file.
19291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19292         multiarch ceilf for PowerPC32.
19293
19294         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19295         is defined.
19296         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19297         FINITEF is defined.
19298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19299         and finitef multiarch implementations.
19300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19301         New file.
19302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19303         file.
19304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19305         multiarch finite for PowerPC32.
19306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19307         New file.
19308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19309         file: multiarch finitef for PowerPC32.
19310
19311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19312         and isinff multiarch implementations.
19313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19314         file.
19315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19316         file.
19317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19318         multiarch isinf for PowerPC32.
19319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19320         New file.
19321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19322         multiarch isinff for PowerPC32.
19323
19324         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19325         alias when __isnan is defined.
19326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19327         and isnanf multiarch implementations.
19328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19329         file.
19330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19331         file.
19332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19333         file.
19334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19335         file.
19336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19337         multiarch isnan for PowerPC32.
19338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19339         New file.
19340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19341         New file.
19342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19343         multiarch isnanf for PowerPC32.
19344
19345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19346         and sqrtf multiarch implementations.
19347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19348         file.
19349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19350         file.
19351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19352         multiarch sqrt for PowerPC32.
19353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19354         file.
19355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19356         file.
19357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19358         multiarch sqrtf for PowerPC32.
19359
19360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19361         and llroundf multiarch implementations.
19362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19363         New file.
19364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19365         New file.
19366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19367         New file.
19368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19369         file: multiarch llround for PowerPC32.
19370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19371         file: multiarch llroundf for PowerPC32.
19372
19373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19374         multiarch PowerPC32 fpu implementations.
19375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19376         New file.
19377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19378         New file.
19379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19380         multiarch llrint for PowerPC32.
19381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19382         New file.
19383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19384         New file.
19385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19386         file.
19387
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19389
19390         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19391         file.
19392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19393         file.
19394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19395         file.
19396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19397         multiarch wordcopy for PPC32.
19398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19399         wordcopy objects.
19400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19401         (__libc_ifunc_impl_list): Likewise.
19402         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19403         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19404         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19405         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19406         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19407         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19408
19409         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19411         file.
19412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19413         file.
19414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19415         file.
19416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19417         multiarch wcscpy for PPC32.
19418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19419         multiarch objects.
19420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19421         (__libc_ifunc_impl_list): Likewise.
19422         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19423         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19424         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19425         sysdeps/powerpc/power6/wcscpy.c.
19426
19427         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19429         file.
19430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19431         file.
19432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19433         file.
19434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19435         multiarch wcsrchr for PPC32.
19436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19437         multiarch objects.
19438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19439         (__libc_ifunc_impl_list): Likewise.
19440         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19441         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19442         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19443         sysdeps/powerpc/power6/wcsrchr.c.
19444
19445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19446         file.
19447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19448         file.
19449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19451         multiarch wcschr for PPc32.
19452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19453         multiarch objects.
19454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19455         (__libc_ifunc_impl_list): Likewise.
19456         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19457         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19458         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19459         sysdeps/powerpc/power6/wcschr.c.
19460
19461         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19462         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19463         file.
19464         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19465         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19466         file: multiarch strchr for PPC32.
19467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19468         multiarch objects.
19469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19470         (__libc_ifunc_impl_list): Likewise.
19471
19472         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19473         name.
19474         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19475         file.
19476         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19477         file.
19478         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19479         multiarch strchrnul for PPC32.
19480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19481         multiarch objects.
19482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19483         (__libc_ifunc_impl_list): Likewise.
19484
19485         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19486         file.
19487         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19488         multiarch strncasecmp for PPC32.
19489         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19490         file.
19491         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19492         multiarch strncasecmp_l for PPC32.
19493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19494         strncasecmp multiarch objects.
19495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19496         (__libc_ifunc_impl_list): Likewise.
19497
19498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19499         file.
19500         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19501         multiarch strncasecmp for PPC32.
19502         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19503         New file.
19504         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19505         multiarch strcasecmp_l for PPC32.
19506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19507         multiarch objects.
19508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19509         (__libc_ifunc_impl_list): Likewise.
19510
19511         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19512         file.
19513         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19514         file.
19515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19516         multiarch strncmp for PPC32.
19517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19518         multiarch objects.
19519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19520         (__libc_ifunc_impl_list): Likewise.
19521
19522         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19523         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19524         file.
19525         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19526         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19528         multiarch objects.
19529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19530         (__libc_ifunc_impl_list): Likewise.
19531
19532         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19533         file.
19534         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19535         file.
19536         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19538         multiarch objects.
19539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19540         (__libc_ifunc_impl_list): Likewise.
19541
19542         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19543         file.
19544         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19545         file.
19546         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19547         multiarch rawmemchr for PPC32.
19548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19549         multiarch objects.
19550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19551         (__libc_ifunc_impl_list): Likewise.
19552
19553         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19554         file.
19555         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19556         file.
19557         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19558         file: memrchr multiarch for PPC32.
19559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19560         multiarch objects.
19561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19562         (__libc_ifunc_impl_list): Likewise.
19563
19564         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19565         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19566         file.
19567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19568         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19569         multiarch memchr for PPC32.
19570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19571         multiarch objects.
19572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19573         (__libc_ifunc_impl_list): Likewise.
19574
19575         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19576         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19577         file.
19578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19579         file.
19580         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19581         file: multiarch mempcpy for PPC32.
19582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19583         multiarch objects.
19584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19585         (__libc_ifunc_impl_list): Likewise.
19586
19587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19588         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19590         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19591         multiarch bzero for PPC32.
19592         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19593         file.
19594         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19595         file.
19596         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19597         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19598         file: multiarch memset for PPC32.
19599         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19600         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19601         memset multiarch objects.
19602         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19603         (__libc_ifunc_impl_list): Likewise.
19604
19605         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19606         file.
19607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19609         memcmp for PPC32.
19610         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19612         multiarch objects.
19613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19614         (__libc_ifunc_impl_list): Likewise.
19615
19616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19619         file.
19620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19621         file.
19622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19623         file.
19624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19625         multiarch memcpy for PPC32.
19626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19627         multiarch objects.
19628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19629         (__libc_ifunc_impl_list): Likewise.
19630
19631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19632         support multiarch for POWER/PPC32.
19633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19634         Likewise.
19635         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19637         Implies file to make multiarch folder appers before the fpu and
19638         default folder for power4 configuration.
19639
19640 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19641
19642         * scripts/bench.pl: Append volatile keyword to type.
19643
19644 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19645
19646         * sysdeps/sh/sotruss-lib.c: New file.
19647         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19648
19649 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19650
19651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19652
19653 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19654
19655         [BZ #6810]
19656         * math/w_tgamma.c: Include <errno.h>.
19657         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19658         * math/w_tgammaf.c: Include <errno.h>.
19659         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19660         * math/w_tgammal.c: Include <errno.h>.
19661         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19662         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19663         underflow.  Add more tgamma tests.
19664         * math/auto-libm-test-out: Regenerated.
19665         * sysdeps/i386/fpu/libm-test-ulps: Update.
19666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
19668         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19669         sin, sinh, tan, tanh, tgamma, y0 and y1.
19670         * math/auto-libm-test-out: Regenerated.
19671         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19672         (TEST_COND_x86): Likewise.
19673         (M_E2l): Remove macro.
19674         (M_E3l): Likewise.
19675         (M_2_SQRT_PIl): Likewise.
19676         (M_SQRT_PIl): Likewise.
19677         (M_1_DIV_El): Likewise.
19678         (log_test_data): Use AUTO_TESTS_f_f.
19679         (log10_test_data): Likewise.
19680         (log1p_test_data): Likewise.
19681         (log2_test_data): Likewise.
19682         (sin_test_data): Likewise.
19683         (sin_tonearest_test_data): Likewise.
19684         (sin_towardzero_test_data): Likewise.
19685         (sin_downward_test_data): Likewise.
19686         (sin_upward_test_data): Likewise.
19687         (sinh_test_data): Likewise.
19688         (sinh_tonearest_test_data): Likewise.
19689         (sinh_towardzero_test_data): Likewise.
19690         (sinh_downward_test_data): Likewise.
19691         (sinh_upward_test_data): Likewise.
19692         (tan_test_data): Likewise.
19693         (tan_tonearest_test_data): Likewise.
19694         (tan_towardzero_test_data): Likewise.
19695         (tan_downward_test_data): Likewise.
19696         (tan_upward_test_data): Likewise.
19697         (tanh_test_data): Likewise.
19698         (tgamma_test_data): Likewise.
19699         (y0_test_data): Likewise.
19700         (y1_test_data): Likewise.
19701         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19702         (special_real_inputs): Add pi/4.
19703         * sysdeps/i386/fpu/libm-test-ulps: Update.
19704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19705
19706 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19707
19708         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19709         "longjmp_target" static probes.
19710         (__longjmp): Rename to __longjmp_symbol.
19711         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19712         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19713         on which longjmp to generate.
19714         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19715         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19716         probe.
19717         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19718         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19719         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19720         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19721         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19722         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19724         __longjmp_symbol based on which __longjmp to generate.
19725         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19726         probe.
19727         (setjmp): Rename to setjmp_symbol.
19728         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19729         (_setjmp): Rename to _setjmp_symbol.
19730         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19731         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19732         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19733         which setjmp to generate.
19734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19735         "longjmp_target" static probes.
19736
19737 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19738
19739         * benchtests/README: Add note about output arguments.
19740         * benchtests/bench-sincos.c: Remove file.
19741         * benchtests/sincos-inputs: New file.
19742         * scripts/bench.pl: Identify output arguments and define
19743         static variables for them.
19744
19745         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19746
19747         [BZ #15941]
19748         * Makefile (INSTALL): Add install-plain.texi as the primary
19749         dependency.
19750         * manual/install-plain.texi: New file.
19751         * manual/install.texi: Include node directive only for
19752         non-plaintext output.
19753
19754 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19755
19756         * stdlib/longlong.h: Update from GCC.
19757
19758         [BZ #6807]
19759         [BZ #15901]
19760         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19761         * math/w_j0f.c (y0f): Likewise.
19762         * math/w_j0l.c (__y0l): Likewise.
19763         * math/w_j1.c (y1): Likewise.
19764         * math/w_j1f.c (y1f): Likewise.
19765         * math/w_j1l.c (__y1l): Likewise
19766         * math/w_jn.c (yn): Likewise.
19767         * math/w_jnf.c (ynf): Likewise.
19768         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19769         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19770         value for Bessel function domain errors outside _SVID_ mode.
19771         Adjust sign of return value for yn (negative integer, 0).
19772         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19773         by zero in return for negative x and set sign appropriately for
19774         negative n.
19775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19776         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19777         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19778         expectations in error cases.
19779         (y1_test_data): Likewise.
19780         (yn_test_data): Likewise.
19781         * sysdeps/i386/fpu/libm-test-ulps: Update.
19782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19783
19784 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19785
19786         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19787         "64" to "64-v1".  Add "64-v2".
19788         (abi-64-options): Rename to ...
19789         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19790         (abi-64-condition): Rename to ...
19791         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19792         (abi-64-ld-soname): Rename to ...
19793         (abi-64-v1-ld-soname): ... this.
19794         (abi-64-v2-options): Define.
19795         (abi-64-v2-condition): Likewise.
19796         (abi-64-v2-ld-soname): Likewise.
19797         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19798         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19802
19803 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19804             Alan Modra  <amodra@gmail.com>
19805
19806         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19807         New versions for use with the ELFv2 ABI.
19808         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19809         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19810         declaration.
19811         (struct La_ppc64v2_retval): Likewise.
19812         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19813         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19814         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19815         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19816         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19818         Do not save or restore CR.
19819         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19820         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19821         return values for ELFv2 ABI.  Fix location of FPR return registers.
19822         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19823         updated values for _CALL_ELF == 2.
19824         (La_regs, La_retval, int_retval): Likewise.
19825
19826 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19827
19828         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19829         (FRAME_MIN_SIZE_PARM): Likewise.
19830         (FRAME_BACKCHAIN): Likewise.
19831         (FRAME_CR_SAVE): Likewise.
19832         (FRAME_LR_SAVE): Likewise.
19833         (FRAME_TOC_SAVE): Likewise.
19834         (FRAME_PARM_SAVE): Likewise.
19835         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19836         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19837         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19838         (call_mcount_parm_offset): New macro.
19839         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19840         (PROF): Use symbolic stack frame offsets.
19841         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19842         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19843         Redefine in terms of FRAME_MIN_SIZE.
19844         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19845         (_dl_profile_resolve): Likewise.  Update comment.
19846         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19847         symbols stack frame offsets.
19848         (__sigsetjmp): Likewise.
19849         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19850         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19851         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19852         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19853
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19855         (FRAME_BACKCHAIN): Remove.
19856         (FRAME_CR_SAVE): Likewise.
19857         (FRAME_LR_SAVE): Likewise.
19858         (FRAME_COMPILER_DW): Likewise.
19859         (FRAME_LINKER_DW): Likewise.
19860         (FRAME_TOC_SAVE): Likewise.
19861         (FRAME_PARM_SAVE): Likewise.
19862         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19863         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19864         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19866         (CHECK_SP): Use symbolic stack frame offsets.
19867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19868         zone" instead of caller's parameter save area for temp storage.
19869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19870         Likewise.  Also, use symbolic stack frame offsets.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19872         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19873         our own stack frame instead of the caller's.
19874         (__socket): Use symbolic stack frame offsets.
19875
19876 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19877             Alan Modra  <amodra@gmail.com>
19878
19879         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19880         Define.
19881         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19882         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19883         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19884         New function.
19885         (elf_machine_fixup_plt): Call it.
19886         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19887         reloc arguments.
19888         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19889         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19890         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19891         r2 before calling target.
19892
19893 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19894             Alan Modra  <amodra@gmail.com>
19895
19896         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19897         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19898         versions of macros to support ELFv2 ABI.
19899         (LOCALENTRY): New macro.
19900         (ENTRY, EALIGN): Use it.
19901         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19902         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19903         fall through into ENTRY entry point.
19904         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19905         Only define if _CALL_ELF != 2.
19906
19907         (elf_machine_matches_host): Verify ABI version matches.
19908         (RTLD_START): Use LOCALENTRY.
19909         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19910         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19911         (PLT_ENTRY_WORDS): New macro.
19912         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19913         (elf_machine_runtime_setup): Support ELFv2 ABI.
19914         (elf_machine_fixup_plt): Likewise.
19915         (elf_machine_plt_conflict): Likewise.
19916         (resolve_ifunc): Likewise.
19917         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19918         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19919         Likewise.
19920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19921         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19923         (makecontext): Support ELFv2 ABI.
19924         * elf/elf.h (EF_PPC64_ABI): Define.
19925
19926 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19927
19928         * sysdeps/powerpc/powerpc64/sysdep.h
19929         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19930         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19931         (ENTRY) [ASSEMBLER]: ... but instead here ...
19932         (EALIGN) [ASSEMBLER]: ... and here.
19933         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19934         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19935         (ENTRY_2) [!ASSEMBLER]: Use it.
19936         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19937         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19938         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19939         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19940         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19942         Use PPC64_LOAD_FUNCPTR.
19943
19944         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19945
19946 2013-12-04  Alan Modra  <amodra@gmail.com>
19947
19948         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19949         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19950         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19951         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19952
19953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19954         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19955         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19956         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19957         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19958         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19959
19960 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19961
19962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19963         (__makecontext): Fix incorrect CFI when backtracing out of
19964         context created via makecontext.
19965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19966         (__setcontext): Fix incorrect CFI during switch to new context.
19967         (__novec_setcontext): Likewise.
19968
19969 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19970
19971         [BZ #4772]
19972         * time/strptime_l.c (__strptime_internal): Allow modifiers
19973         in strptime.
19974         * time/tst-strptime.c (day_tests): Add testcase.
19975
19976 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19977
19978         * scripts/bench.pl: Skip over blank lines.
19979
19980 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19981
19982         [BZ #926]
19983         * manual/time.texi (Calendar Time): Clarify what timezone functions
19984         use.
19985
19986 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19987
19988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19989
19990 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19991
19992         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19993         implementation.
19994         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19995         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19996         * debug/memset_chk.c (__memset_chk): Likewise.
19997         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19998         * debug/strncpy_chk.c: Likewise.
19999
20000 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20001
20002         [BZ #15268]
20003         [BZ #15425]
20004         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20005         (__ieee754_exp): For possibly underflowing results, check size of
20006         result and force underflow exception if required.
20007         * math/auto-libm-test-in: Add more tests of exp.
20008         * math/auto-libm-test-out: Regenerated.
20009         * sysdeps/i386/fpu/libm-test-ulps: Update.
20010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20011
20012         [BZ #16283]
20013         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20014         * math/w_exp2f.c (__exp2f): Likewise.
20015         * math/w_exp2l.c (__exp2l): Likewise.
20016         * math/auto-libm-test-in: Do not allow missing errno on exp2
20017         underflow.
20018         * math/auto-libm-test-out: Regenerated.
20019
20020 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20021
20022         [BZ #16274]
20023         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20024         handle filename validation.
20025         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20026         (do_open): Delete.
20027
20028 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20029
20030         [BZ #6786]
20031         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20032         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20033         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20034         <float.h>.
20035         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20037         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20039         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20041         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20042         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20043         Add more erfc tests.
20044         * math/auto-libm-test-out: Regenerated.
20045         * sysdeps/i386/fpu/libm-test-ulps: Update.
20046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047
20048         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20049         exp2, expm1, j0 and j1.
20050         * math/auto-libm-test-out: Regenerated.
20051         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20052         (erfc_test_data): Likewise.
20053         (exp_test_data): Likewise.
20054         (exp_tonearest_test_data): Likewise.
20055         (exp_towardzero_test_data): Likewise.
20056         (exp_downward_test_data): Likewise.
20057         (exp_upward_test_data): Likewise.
20058         (exp10_test_data): Likewise.
20059         (exp2_test_data): Likewise.
20060         (expm1_test_data): Likewise.
20061         (j0_test_data): Likewise.
20062         (j1_test_data): Likewise.
20063         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20064         (input_flag_type): Add flag_xfail_rounding.
20065         (input_flags): Add xfail-rounding.
20066         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20067         (output_for_one_input_case): Handle flag_xfail_rounding.
20068         * sysdeps/i386/fpu/libm-test-ulps: Update.
20069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20070
20071 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20072
20073         [BZ #16289]
20074         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20075         division by 0.
20076
20077 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20078
20079         [BZ #16195]
20080         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20081         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20082         (STAP_PROBE0): New macro.
20083         (STAP_PROBE1): Likewise.
20084         (STAP_PROBE2): Likewise.
20085         (STAP_PROBE3): Likewise.
20086         (STAP_PROBE4): Likewise.
20087
20088 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20089
20090         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20091
20092 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20093
20094         * benchtests/Makefile (bench): Add sqrt.
20095         (LDLIBS-bench-sqrt): New.
20096         * benchtests/sqrt-input: New.
20097
20098 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20099
20100         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20101         (GAIH_EAI): Likewise.
20102         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20103         (gaih_inet): Likewise.
20104         (getaddrinfo): Don't use GAIH_EAI.
20105
20106         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20107         (struct gaih): Remove definition.
20108
20109 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20110
20111         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20112         Use HERRNOP directly.
20113
20114 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20115
20116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20117
20118 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20119
20120         * math/gen-auto-libm-tests.c (test_functions): Add more
20121         single-argument functions.
20122         (special_fill_pi_2): New function.
20123         (special_fill_minus_pi_2): Likewise.
20124         (special_fill_pi_6): Likewise.
20125         (special_fill_minus_pi_6): Likewise.
20126         (special_fill_pi_3): Likewise.
20127         (special_fill_2pi_3): Likewise.
20128         (special_fill_e): Likewise.
20129         (special_fill_1_e): Likewise.
20130         (special_fill_e_minus_1): Likewise.
20131         (special_real_inputs): Add more special inputs.
20132         (output_for_one_input_case): Do not require ERANGE on underflow to
20133         zero if round-to-nearest result does not underflow to zero, unless
20134         exact results required.
20135         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20136         atan, atanh, cbrt, cos and cosh.
20137         * math/auto-libm-test-out: Regenerated.
20138         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20139         (acos_tonearest_test_data): Likewise.
20140         (acos_towardzero_test_data): Likewise.
20141         (acos_downward_test_data): Likewise.
20142         (acos_upward_test_data): Likewise.
20143         (acosh_test_data): Likewise.
20144         (asin_test_data): Likewise.
20145         (asin_tonearest_test_data): Likewise.
20146         (asin_towardzero_test_data): Likewise.
20147         (asin_upward_test_data): Likewise.
20148         (asinh_test_data): Likewise.
20149         (atan_test_data): Likewise.
20150         (atanh_test_data): Likewise.
20151         (cbrt_test_data): Likewise.
20152         (cos_test_data): Likewise.
20153         (cos_tonearest_test_data): Likewise.
20154         (cos_towardzero_test_data): Likewise.
20155         (cos_downward_test_data): Likewise.
20156         (cos_upward_test_data): Likewise.
20157         (cosh_test_data): Likewise.
20158         (cosh_tonearest_test_data): Likewise.
20159         (cosh_towardzero_test_data): Likewise.
20160         (cosh_downward_test_data): Likewise.
20161         (cosh_upward_test_data): Likewise.
20162         * sysdeps/i386/fpu/libm-test-ulps: Update.
20163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164
20165 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20166
20167         [BZ #6787]
20168         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20169         * math/w_exp10f.c (__exp10f): Likewise.
20170         * math/w_exp10l.c (__exp10l): Likewise.
20171         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20172         errno settings in existing tests.
20173
20174         [BZ #14032]
20175         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20176         precision control set to double precision.
20177         * sysdeps/i386/fpu/w_sqrt.c: New file.
20178         * math/auto-libm-test-in: Add more tests.
20179         * math/auto-libm-test-out: Update.
20180
20181         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20182         (sqrt_test_tonearest): New function.
20183         (sqrt_towardzero_test_data): New variable.
20184         (sqrt_test_towardzero): New function.
20185         (sqrt_downward_test_data): New variable.
20186         (sqrt_test_downward): New function.
20187         (sqrt_upward_test_data): New variable.
20188         (sqrt_test_upward): New function.
20189         (main): Call the new functions.
20190
20191         * math/gen-auto-libm-tests.c: New file.
20192         * math/auto-libm-test-in: Likewise.
20193         * math/auto-libm-test-out: New generated file.
20194         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20195         variables.
20196         (%beautify): Add generated representations of zero.
20197         (top level): Set $auto_input and call parse_auto_input.
20198         (beautify): Remove trailing "f" from hex float constants.
20199         (parse_args): Handle XFAIL_TEST.
20200         (convert_condition): New function.
20201         (or_value): Likewise.
20202         (or_cond_value): Likewise.
20203         (generate_testfile): Handle AUTO_TESTS_* lines.
20204         (parse_auto_input): New function.
20205         * math/libm-test.inc (XFAIL_TEST): New macro.
20206         (ERRNO_UNCHANGED): Update value.
20207         (ERRNO_EDOM): Likewise.
20208         (ERRNO_ERANGE): Likewise.
20209         (IGNORE_RESULT): Likewise.
20210         (TEST_COND_flt_32): New macro.
20211         (TEST_COND_dbl_64): Likewise.
20212         (TEST_COND_ldbl_96_intel): Likewise.
20213         (TEST_COND_ldbl_96_m68k): Likewise.
20214         (TEST_COND_ldbl_128): Likewise.
20215         (TEST_COND_ldbl_128ibm): Likewise.
20216         (TEST_COND_long32): Likewise.
20217         (TEST_COND_long64): Likewise.
20218         (TEST_COND_before_rounding): Likewise.
20219         (TEST_COND_after_rounding): Likewise.
20220         (enable_test): Handle XFAIL_TEST flag.
20221         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20222         with finite results.
20223         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20224         auto-libm-test-out.
20225
20226 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20228
20229         [BZ #16214]
20230         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20231         __tls_get_addr_internal instead of __tls_get_offset in order to
20232         avoid GOT pointer dependency.  Make rtld export
20233         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20234         __tls_get_addr since we are a __tls_get_offset platform.
20235         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20236         GOT pointer being set up before.
20237         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20238
20239 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20240
20241         * manual/math.texi (Errors in Math Functions): Document accuracy
20242         goals.
20243
20244         [BZ #15004]
20245         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20246         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20247         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20249         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20250         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20251         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20252         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20253         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20254         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20255         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20256         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20257         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20258         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20259         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20260         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20261
20262         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20263         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20264         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20265         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20266         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20267         Likewise.
20268         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20269         Likewise.
20270         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20271         Likewise.
20272         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20273         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20274         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20275         atomic-feupdateenv and flt-rounds.
20276         * sysdeps/powerpc/nofpu/Versions (libc): Add
20277         __atomic_feholdexcept, __atomic_feclearexcept,
20278         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20279         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20280         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20281         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20282         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20283         here.
20284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20285         Update.
20286
20287         * manual/arith.texi (FP Exceptions): Document that exceptions may
20288         not be raised when matherr is used.
20289         (Math Error Reporting): Document overflow in directed rounding
20290         modes.  Document that errno may not be set when finite values are
20291         returned on overflow.  Document intent to set errno on underflow
20292         only for underflow to zero.
20293
20294         [BZ #16271]
20295         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20296         round-to-nearest then adjust result for other rounding modes.
20297         * include/fenv.h (fegetround): Use libm_hidden_proto.
20298         * math/fegetround.c (fegetround): Use libm_hidden_def.
20299         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20300         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20301         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20302         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20303         Likewise.
20304         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20305         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20306         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20307         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20308
20309 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20310
20311         [BZ #16077]
20312         * nss/Versions (libnss_files): Add
20313         _nss_files_gethostbyname3_r.
20314         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20315         New function.
20316         (HOST_DB_LOOKUP): Remove macro.
20317         (_nss_files_gethostbyname_r): Implement function without the
20318         HOST_DB_LOOKUP macro.
20319         (_nss_files_gethostbyname2_r): Likewise.
20320
20321 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20322
20323         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20324
20325 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20326
20327         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20328         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20329         warning.
20330
20331 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20332
20333         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20334         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20335         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20336         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20337         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20338         __fe_nomask_env_priv and attribute_hidden.
20339         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20340         (libc_feupdateenv_test_ppc): Likewise.
20341         (libc_feresetround_ppc): Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20343         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20344         compat_symbol macro.
20345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20346         (__fe_nomask_env): Likewise.
20347         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20348
20349 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20350
20351         * string/Makefile: Remove ifunc tests.
20352         * string/test-string.h: Define TEST_IFUNC.
20353         * string/test-bcopy-ifunc.c: Remove.
20354         * string/test-bzero-ifunc.c: Likewise.
20355         * string/test-memccpy-ifunc.c: Likewise.
20356         * string/test-memchr-ifunc.c: Likewise.
20357         * string/test-memcmp-ifunc.c: Likewise.
20358         * string/test-memcpy-ifunc.c: Likewise.
20359         * string/test-memmem-ifunc.c: Likewise.
20360         * string/test-memmove-ifunc.c: Likewise.
20361         * string/test-mempcpy-ifunc.c: Likewise.
20362         * string/test-memrchr-ifunc.c: Likewise.
20363         * string/test-memset-ifunc.c: Likewise.
20364         * string/test-rawmemchr-ifunc.c: Likewise.
20365         * string/test-stpcpy-ifunc.c: Likewise.
20366         * string/test-stpncpy-ifunc.c: Likewise.
20367         * string/test-strcasecmp-ifunc.c: Likewise.
20368         * string/test-strcasestr-ifunc.c: Likewise.
20369         * string/test-strcat-ifunc.c: Likewise.
20370         * string/test-strchr-ifunc.c: Likewise.
20371         * string/test-strchrnul-ifunc.c: Likewise.
20372         * string/test-strcmp-ifunc.c: Likewise.
20373         * string/test-strcpy-ifunc.c: Likewise.
20374         * string/test-strcspn-ifunc.c: Likewise.
20375         * string/test-strlen-ifunc.c: Likewise.
20376         * string/test-strncasecmp-ifunc.c: Likewise.
20377         * string/test-strncat-ifunc.c: Likewise.
20378         * string/test-strncmp-ifunc.c: Likewise.
20379         * string/test-strncpy-ifunc.c: Likewise.
20380         * string/test-strnlen-ifunc.c: Likewise.
20381         * string/test-strpbrk-ifunc.c: Likewise.
20382         * string/test-strrchr-ifunc.c: Likewise.
20383         * string/test-strspn-ifunc.c: Likewise.
20384         * string/test-strstr-ifunc.c: Likewise.
20385
20386 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20387
20388         * benchtests/Makefile: Remove ifunc tests.
20389         * benchtests/bench-string.h: Define TEST_IFUNC.
20390         * benchtests/bench-bcopy-ifunc.c: Remove.
20391         * benchtests/bench-bzero-ifunc.c: Likewise.
20392         * benchtests/bench-memccpy-ifunc.c: Likewise.
20393         * benchtests/bench-memchr-ifunc.c: Likewise.
20394         * benchtests/bench-memcmp-ifunc.c: Likewise.
20395         * benchtests/bench-memcpy-ifunc.c: Likewise.
20396         * benchtests/bench-memmem-ifunc.c: Likewise.
20397         * benchtests/bench-memmove-ifunc.c: Likewise.
20398         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20399         * benchtests/bench-memrchr-ifunc.c: Likewise.
20400         * benchtests/bench-memset-ifunc.c: Likewise.
20401         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20402         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20403         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20404         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20405         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20406         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20407         * benchtests/bench-strcat-ifunc.c: Likewise.
20408         * benchtests/bench-strchr-ifunc.c: Likewise.
20409         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20410         * benchtests/bench-strcmp-ifunc.c: Likewise.
20411         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20412         * benchtests/bench-strcpy-ifunc.c: Likewise.
20413         * benchtests/bench-strcspn-ifunc.c: Likewise.
20414         * benchtests/bench-strlen-ifunc.c: Likewise.
20415         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20416         * benchtests/bench-strncat-ifunc.c: Likewise.
20417         * benchtests/bench-strncmp-ifunc.c: Likewise.
20418         * benchtests/bench-strncpy-ifunc.c: Likewise.
20419         * benchtests/bench-strnlen-ifunc.c: Likewise.
20420         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20421         * benchtests/bench-strrchr-ifunc.c: Likewise.
20422         * benchtests/bench-strsep-ifunc.c: Likewise.
20423         * benchtests/bench-strspn-ifunc.c: Likewise.
20424         * benchtests/bench-strstr-ifunc.c: Likewise.
20425
20426 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20427
20428         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20429
20430 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20431
20432         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20433         * rt/aio.h: Likewise.
20434         * sysdeps/gnu/bits/utmp.h: Likewise.
20435         * sysdeps/gnu/bits/utmpx.h: Likewise.
20436         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20437         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20438         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20439         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20440         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20441         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20442         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20443         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20444         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20445         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20446         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20447         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20448         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20450         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20451         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20452         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20453         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20454         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20455         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20456         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20457         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20458         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20459         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20460         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20462         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20463         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20464         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20465         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20466         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20467         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20468         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20469         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20470         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20471         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20472         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20473         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20474         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20475         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20476         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20477         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20478
20479 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20480
20481         [BZ #16245]
20482         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20483         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20484
20485 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20486
20487         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20489         Likewise.
20490
20491 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20492
20493         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20494         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20495         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20496         (__fesetround): Remove define.
20497         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20498         rounding and exceptions handling.
20499         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20500         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20501         (__fe_nomask_env): Likewise.
20502         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20503         __fegetround instead of fegetround.
20504         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20505         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20506
20507 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20508
20509         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20510         it's there.
20511
20512         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20513
20514 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20515
20516         [BZ #11157]
20517         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20518         (encrypt_r): Likewise.
20519         * malloc/obstack.h (obstack_free): Likewise.
20520         * posix/unistd.h (encrypt): Likewise.
20521
20522 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20523
20524         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20525         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20526         DL_CALL_DT_FINI() that call the functions directly.
20527         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20528         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20529         * elf/dl-fini.c: Likewise.
20530
20531 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20532
20533         * malloc/hooks.c (memalign_check): Add alignment rounding.
20534         * malloc/malloc.c (_mid_memalign): New function.
20535         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20536         Implement by calling _mid_memalign.
20537         * manual/probes.texi (Memory Allocation Probes): Remove
20538         memory_valloc_retry and memory_pvalloc_retry.
20539
20540 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20541
20542         * locale/programs/locarchive.c (open_archive): Add const
20543         qualifier to ARCHIVEFNAME and copy default fname to
20544         DEFAULT_FNAME.
20545
20546         [BZ #15601]
20547         * libio/tst-widetext.input: Rename Oriya to Odia.
20548         * locale/iso-639.def: Likewise.
20549
20550         * manual/probes.texi (Mathematical Function Probes): Add
20551         documentation for sin, cos, asin and acos probes.
20552         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20553         (__sin32): Add slowasin probe.
20554         (__cos32): Add slowacos probe.
20555         (__mpsin): Add slowsin probe.
20556         (__mpcos): Add slowcos probe.
20557
20558 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20559
20560         [BZ #15483]
20561         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20562         thread-local __sim_exceptions_thread and global
20563         __sim_exceptions_global.
20564         (__sim_disabled_exceptions): Change to thread-local
20565         __sim_disabled_exceptions_thread and global
20566         __sim_disabled_exceptions_global.
20567         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20568         and global __sim_round_mode_global.
20569         (__simulate_exceptions): Use thread-local floating-point state and
20570         set global state from it as needed.
20571         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20572         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20573         __sim_round_mode_thread.
20574         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20575         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20576         and global __sim_exceptions_global.
20577         (__sim_disabled_exceptions): Change to thread-local
20578         __sim_disabled_exceptions_thread and global
20579         __sim_disabled_exceptions_global.
20580         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20581         and global __sim_round_mode_global.
20582         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20583         (SIM_SET_GLOBAL): Likewise.
20584         * sysdeps/powerpc/soft-fp/sfp-machine.h
20585         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20586         __sim_round_mode_thread.
20587         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20588         __sim_disabled_exceptions_thread.
20589         (__sim_exceptions): Change to __sim_exceptions_thread.
20590         (__sim_disabled_exceptions): Change to
20591         __sim_disabled_exceptions_thread.
20592         (__sim_round_mode): Change to __sim_round_mode_thread.
20593         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20594         thread-local floating-point state and set global state from it as
20595         needed.
20596         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20597         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20598         (__sim_disabled_exceptions): Remove extern declaration.
20599         (feenableexcept): Use thread-local floating-point state and set
20600         global state from it as needed.
20601         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20602         extern declaration.
20603         (__sim_disabled_exceptions): Likewise.
20604         (__sim_round_mode): Likewise.
20605         (__fegetenv): Use thread-local floating-point state.
20606         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20607         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20608         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20609         floating-point state and set global state from it as needed.
20610         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20611         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20612         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20613         Likewise.
20614         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20615         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20616         Likewise.
20617         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20618         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20619         Use __sim_round_mode_thread.
20620         * math/test-fenv-tls.c: New file.
20621         * math/Makefile (tests): Add test-fenv-tls.
20622         ($(objpfx)test-fenv-tls): Depend on
20623         $(common-objpfx)nptl/libpthread.so.
20624
20625 2013-11-19  Andreas Schwab  <schwab@suse.de>
20626
20627         * locale/programs/locale.c (show_info): Decode wordarray elements.
20628         * locale/categories.def (LC_MONETARY): Add element for
20629         _NL_MONETARY_CRNCYSTR.
20630         * locale/C-monetary.c (conversion_rate): New variable.
20631         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20632         element.
20633
20634 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20635
20636         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20637         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20638
20639 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20640
20641         * elf/Makefile (tst-auxv): New test.
20642         * elf/tst-auxv.c: New
20643         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20644
20645 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20646
20647         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20648         (hidden_proto): Caller changed.
20649         (hidden_tls_proto): New macro.
20650         (libc_hidden_tls_proto): Likewise.
20651         (rtld_hidden_tls_proto): Likewise.
20652         (libm_hidden_tls_proto): Likewise.
20653         (libresolv_hidden_tls_proto): Likewise.
20654         (librt_hidden_tls_proto): Likewise.
20655         (libdl_hidden_tls_proto): Likewise.
20656         (libnss_files_hidden_tls_proto): Likewise.
20657         (libnsl_hidden_tls_proto): Likewise.
20658         (libnss_nisplus_hidden_tls_proto): Likewise.
20659         (libutil_hidden_tls_proto): Likewise.
20660
20661 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20662
20663         [BZ #10253]
20664         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20665         (decompose_rpath): Defer expansion to fillin_rpath.
20666         (_dl_init_paths): Pass linkmap to fillin_rpath.
20667
20668 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20669
20670         * benchtests/Makefile: Add strsep.
20671         * benchtests/bench-strsep.c: New file: strsep benchtest.
20672         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20673
20674 2013-11-18  Andreas Schwab  <schwab@suse.de>
20675
20676         * locale/programs/locale.c (show_info) [case byte]: Check for
20677         '\377' instead of '\177'.
20678         * locale/C-monetary.c (not_available): Always use "\377".
20679         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20680         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20681         detect unavailable sign_posn locale elements.
20682         * locale/localeconv.c (__localeconv): For grouping and
20683         mon_grouping handle "\177" and "\377" like no grouping.
20684         (INT_ELEM): New macro.  Use it to set all numeric members.
20685         * locale/programs/ld-monetary.c (monetary_read)
20686         <tok_mon_grouping>: Normalize single -1 to the empty string.
20687         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20688         Likewise.
20689
20690 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20691
20692         [BZ #16055]
20693         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20694         when we match (nil).
20695         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20696
20697 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20698
20699         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20700         (NO_TEST_INLINE): Update value.
20701         (ERRNO_UNCHANGED): Likewise.
20702         (ERRNO_EDOM): Likewise.
20703         (ERRNO_ERANGE): Likewise.
20704         (IGNORE_RESULT): Likewise.
20705         (check_float_internal): Check signs of NaN results if
20706         TEST_NAN_SIGN used.
20707         (check_complex): Pass TEST_NAN_SIGN flag through to second
20708         check_float_internal call.
20709         (copysign_test_data): Add tests with quiet NaNs as second
20710         argument.  Use TEST_NAN_SIGN.
20711         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20712         TEST_NAN_SIGN.
20713         (signbit_test_data): Add tests of quiet NaN argument.
20714         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20715
20716         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20717         $ignore_result.
20718         (parse_args): Handle function results specified as IGNORE.
20719         * math/libm-test.inc (IGNORE_RESULT): New macro.
20720         (check_float_internal): Do not check numerical result if flag
20721         IGNORE_RESULT set.
20722         (check_complex): Pass through IGNORE_RESULT to second
20723         check_float_internal call.
20724         (check_int): Do not check numerical result if flag IGNORE_RESULT
20725         set.
20726         (check_long): Likewise.
20727         (check_bool): Likewise.
20728         (check_longlong): Likewise.
20729         (lrint_test_data): Add tests of infinite and NaN arguments.
20730         (lrint_tonearest_test_data): Likewise.
20731         (lrint_towardzero_test_data): Likewise.
20732         (lrint_downward_test_data): Likewise.
20733         (lrint_upward_test_data): Likewise.
20734         (llrint_test_data): Likewise.
20735         (llrint_tonearest_test_data): Likewise.
20736         (llrint_towardzero_test_data): Likewise.
20737         (llrint_downward_test_data): Likewise.
20738         (llrint_upward_test_data): Likewise.
20739         (lround_test_data): Likewise.
20740         (llround_test_data): Likewise.
20741
20742         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20743         (ERRNO_UNCHANGED): Update value.
20744         (ERRNO_EDOM): Likewise.
20745         (ERRNO_ERANGE): Likewise.
20746         (NO_TEST_INLINE_FLOAT): New macro.
20747         (NO_TEST_INLINE_DOUBLE): Likewise.
20748         (enable_test): New function.
20749         (RUN_TEST_f_f): Check enable_test before running test.
20750         (RUN_TEST_2_f): Likewise.
20751         (RUN_TEST_fff_f): Likewise.
20752         (RUN_TEST_c_f): Likewise.
20753         (RUN_TEST_f_f1): Likewise.
20754         (RUN_TEST_fF_f1): Likewise.
20755         (RUN_TEST_fI_f1): Likewise.
20756         (RUN_TEST_ffI_f1): Likewise.
20757         (RUN_TEST_c_c): Likewise.
20758         (RUN_TEST_cc_c): Likewise.
20759         (RUN_TEST_f_i): Likewise.
20760         (RUN_TEST_f_i_tg): Likewise.
20761         (RUN_TEST_ff_i_tg): Likewise.
20762         (RUN_TEST_f_b): Likewise.
20763         (RUN_TEST_f_b_tg): Likewise.
20764         (RUN_TEST_f_l): Likewise.
20765         (RUN_TEST_f_L): Likewise.
20766         (RUN_TEST_fFF_11): Likewise.
20767         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20768         conditionals.
20769         (cosh_test_data): Likewise.
20770         (exp_test_data): Likewise.
20771         (expm1_test_data): Likewise.
20772         (hypot_test_data): Likewise.
20773         (pow_test_data): Likewise.
20774         (sinh_test_data): Likewise.
20775         (tanh_test_data): Likewise.
20776         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20777         flags argument.
20778
20779         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20780         tests with quiet NaN input and output.
20781         (acosh_test_data): Likewise.
20782         (asin_test_data): Likewise.
20783         (asinh_test_data): Likewise.
20784         (atan_test_data): Likewise.
20785         (atanh_test_data): Likewise.
20786         (atan2_test_data): Likewise.
20787         (cbrt_test_data): Likewise.
20788         (cos_test_data): Likewise.
20789         (cosh_test_data): Likewise.
20790         (erf_test_data): Likewise.
20791         (erfc_test_data): Likewise.
20792         (exp_test_data): Likewise.
20793         (exp10_test_data): Likewise.
20794         (exp2_test_data): Likewise.
20795         (expm1_test_data): Likewise.
20796         (hypot_test_data): Likewise.
20797         (j0_test_data): Likewise.
20798         (j1_test_data): Likewise.
20799         (jn_test_data): Likewise.
20800         (lgamma_test_data): Likewise.
20801         (log_test_data): Likewise.
20802         (log10_test_data): Likewise.
20803         (log1p_test_data): Likewise.
20804         (log2_test_data): Likewise.
20805         (pow_test_data): Likewise.
20806         (scalb_test_data): Likewise.
20807         (sin_test_data): Likewise.
20808         (sincos_test_data): Likewise.
20809         (sinh_test_data): Likewise.
20810         (tan_test_data): Likewise.
20811         (tanh_test_data): Likewise.
20812         (tgamma_test_data): Likewise.
20813         (y0_test_data): Likewise.
20814         (y1_test_data): Likewise.
20815         (yn_test_data): Likewise.
20816
20817         [BZ #16167]
20818         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20819         argument being NaN and avoid computations with second argument in
20820         that case.
20821         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20822         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20823         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20824
20825 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20826
20827         * locale/iso-639.def: Add Chitwani Tharu (the).
20828
20829 2013-11-14  Andreas Schwab  <schwab@suse.de>
20830
20831         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20832         word instead of empty string.
20833
20834 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20835
20836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20837         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20839         (__fe_nomask_env): Likewise.
20840
20841 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20842
20843         * benchtests/bench-timing.h: Include time.h.
20844
20845 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20846
20847         [BZ #15997]
20848         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20849         to 3.4.0 for x32.
20850         * sysdeps/unix/sysv/linux/configure: Regenerated.
20851
20852 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20853
20854         [BZ #16151]
20855         * stdlib/strtod_l.c (round_and_return): Do not consider
20856         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20857         exponent one less than half the least subnormal exponent.
20858         * stdlib/test-strtod-round-data: Add more tests.
20859         * stdlib/tst-strtod-round.c (tests): Regenerated.
20860
20861 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20862
20863         [BZ #14143]
20864         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20865         (__fe_mask_env): Likewise.
20866         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20867         libm_hidden_proto and add function prototype.
20868         (__fe_mask_env): Add function prototype.
20869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20870         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20872         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20874         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20875
20876 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20877
20878         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20879         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20880
20881 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20882
20883         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20884         of htab_find_slot().
20885
20886 2013-11-11  David S. Miller  <davem@davemloft.net>
20887
20888         [BZ #16150]
20889         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20890         symbol in the non-vis3 case in static builds.
20891         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20892         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20893         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20894         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20895
20896 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20897
20898         [BZ #387]
20899         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20900         it is empty.
20901
20902 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20903
20904         * benchtests/Makefile: Add bench-strtod.
20905         * benchtests/bench-strtod.c: New file: strtod benchtest
20906
20907 2013-11-11  Andreas Schwab  <schwab@suse.de>
20908
20909         [BZ #16153]
20910         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20911         terminating NUL in key length.
20912
20913 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20914
20915         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20916         Add artificial ODP entry for vDSO symbol for PPC64.
20917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20918         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20919
20920 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20921
20922         [BZ #15374]
20923         * nss/getent.c (services_keys): Recognize services starting with digit.
20924
20925 2013-11-06  David S. Miller  <davem@davemloft.net>
20926
20927         [BZ #15985]
20928         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20929         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20930
20931 2013-11-06  Will Newton  <will.newton@linaro.org>
20932
20933         * manual/memory.texi (Malloc Examples): Remove register
20934         keyword from examples.
20935
20936 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20937
20938         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20939
20940 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20941
20942         [BZ #6981]
20943         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20944         depending on [__GCC_IEC_559 > 0].
20945         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20946         depending on [__GCC_IEC_559_COMPLEX > 0].
20947
20948 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20949
20950         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20951         to iso-639.def.
20952
20953 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20954
20955         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20956
20957 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20958
20959         [BZ #16112]
20960         * malloc/malloc (malloc_info): Do not handle first bin as
20961         special case.
20962
20963 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20964
20965         * locale/iso-639.def: Add Central Nahuatl (nhn).
20966
20967 2013-11-01  Bruno Haible  <bruno@clisp.org>
20968
20969         [BZ #7003]
20970         * manual/math.texi (BSD Random): Specify range upper bound as
20971         in POSIX.
20972
20973 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20974
20975         * locale/iso-639.def: Add Meadow Mari (mhr).
20976
20977 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20978
20979         [BZ #14752], [BZ #15763]
20980         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20981         Validate name.
20982         * rt/tst_shm.c: Add test for escaping directory.
20983
20984 2013-10-31  Andreas Schwab  <schwab@suse.de>
20985
20986         [BZ #15917]
20987         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20988         followed by 'x' as part of digit sequence.
20989         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20990
20991 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20992
20993         [BZ #16037]
20994         * configure.ac: allow GNU Make 4.0 and greater.
20995         * configure: Regenerated.
20996
20997 2013-10-30  Will Newton  <will.newton@linaro.org>
20998
20999         [BZ #16038]
21000         * malloc/hooks.c (memalign_check): Limit alignment to the
21001         maximum representable power of two.
21002         * malloc/malloc.c (__libc_memalign): Likewise.
21003         * malloc/tst-memalign.c (do_test): Add test for very
21004         large alignment values.
21005         * malloc/tst-posix_memalign.c (do_test): Likewise.
21006
21007 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21008
21009         [BZ #11087]
21010         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21011         (munmap_chunk): Likewise.
21012         (mremap_chunk): Likewise.
21013
21014 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21015
21016         [BZ #15799]
21017         * stdlib/div.c (div): Remove obsolete code.
21018         * stdlib/ldiv.c (ldiv): Likewise.
21019         * stdlib/lldiv.c (lldiv): Likewise.
21020
21021 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21022
21023         [BZ #16071]
21024         * nss/nss_files/files-XXX.c (get_contents_ret): New
21025         enumerator.
21026         (get_contents): New function.
21027         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21028
21029 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21030
21031         * configure.in: Moved to ...
21032         * configure.ac: ... here. Change reference to configure.in
21033         to configure.ac.
21034         * sysdeps/arm/preconfigure.ac: ... here.
21035         configure.in to configure.ac.
21036         * sysdeps/gnu/configure.in: Moved to ...
21037         * sysdeps/gnu/configure.ac: ... here.
21038         * sysdeps/i386/configure.in: Moved to ...
21039         * sysdeps/i386/configure.ac: ... here.
21040         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21041         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21042         * sysdeps/mach/configure.in: Moved to ...
21043         * sysdeps/mach/configure.ac: ... here.
21044         * sysdeps/mach/hurd/configure.in: Moved to ...
21045         * sysdeps/mach/hurd/configure.ac: ... here.
21046         * sysdeps/powerpc/configure.in: Moved to ...
21047         * sysdeps/powerpc/configure.ac: ... here.
21048         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21049         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21050         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21051         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21052         * sysdeps/s390/s390-32/configure.in: Moved to ...
21053         * sysdeps/s390/s390-32/configure.ac: ... here.
21054         * sysdeps/s390/s390-64/configure.in: Moved to ...
21055         * sysdeps/s390/s390-64/configure.ac: ... here.
21056         * sysdeps/sh/configure.in: Moved to ...
21057         * sysdeps/sh/configure.ac: ... here.
21058         * sysdeps/sparc/configure.in: Moved to ...
21059         * sysdeps/sparc/configure.ac: ... here.
21060         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21061         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21062         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21063         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21064         * sysdeps/x86_64/configure.in: Moved to ...
21065         * sysdeps/x86_64/configure.ac: ... here.
21066         * sysdeps/x86_64/preconfigure.in: Moved to ...
21067         * sysdeps/x86_64/preconfigure.ac: ... here.
21068         * aclocal.m4: Change reference to configure.in to configure.ac.
21069         * config.h.in: Likewise.
21070         * manual/install.texi: Likewise.
21071         * manual/maint.texi: Likewise.
21072         * Makefile: Likewise.
21073         * malloc/Makefile: Likewise.
21074         * nscd/Makefile: Likewise.
21075         * Makeconfig: Change reference to configure.in and
21076         preconfigure.in to configure.ac and preconfigure.ac
21077         respectively.
21078         * INSTALL: Regenerated.
21079         * configure: Likewise.
21080         * sysdeps/gnu/configure: Likewise.
21081         * sysdeps/i386/configure: Likewise.
21082         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21083         * sysdeps/mach/configure: Likewise.
21084         * sysdeps/mach/hurd/configure: Likewise.
21085         * sysdeps/powerpc/configure: Likewise.
21086         * sysdeps/powerpc/powerpc32/configure: Likewise.
21087         * sysdeps/powerpc/powerpc64/configure: Likewise.
21088         * sysdeps/s390/s390-32/configure: Likewise.
21089         * sysdeps/s390/s390-64/configure: Likewise.
21090         * sysdeps/sh/configure: Likewise.
21091         * sysdeps/sparc/configure: Likewise.
21092         * sysdeps/unix/sysv/linux/configure: Likewise.
21093         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21094         * sysdeps/x86_64/configure: Likewise.
21095         * sysdeps/x86_64/preconfigure: Likewise.
21096
21097 2013-10-29  Andreas Schwab  <schwab@suse.de>
21098
21099         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21100
21101 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21102
21103         * benchtests/pow-inputs: Add new inputs.
21104
21105         * benchtests/exp-inputs: Add new inputs.
21106
21107         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21108         conditional check for return value.
21109         (__cos32): Likewise.
21110
21111 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21112
21113         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21114         to provide a boost for large inputs with word alignment.
21115         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21116         implementation based on optimized PPC64 strcpy.
21117         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21118         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21119         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21120         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21121
21122 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21123
21124         [BZ #2801]
21125         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21126
21127 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21128
21129         [BZ #14876]
21130         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21131         * time/tst-strptime.c (day_tests): Add testcase.
21132
21133 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21134
21135         [BZ #14029]
21136         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21137
21138 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21139
21140         [BZ #16074]
21141         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21142         MAP_FAILED on error.
21143
21144 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21145
21146         [BZ #16072]
21147         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21148         heap for large requests.
21149
21150 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21151
21152         [BZ #9954]
21153         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21154         result if the result has no associated interface.
21155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21156         interface for all 127.X.Y.Z addresses.
21157
21158 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21159
21160         * locale/iso-639.def: Add Ligurian (lij)
21161
21162 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21163
21164         [BZ #15825]
21165         * sunrpc/rpc_main.c: Document rpcgen -5.
21166
21167 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21168
21169         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21170
21171 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21172
21173         [BZ #10278]
21174         * posix/glob.c: Match only directories when trailing slash is present.
21175         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21176         (main): Add testcase.
21177
21178 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21179
21180         [BZ #15670]
21181         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21182
21183 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21184
21185         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21186         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21187         AUTH_DES and cindex for FIPS 140-2.
21188         (DES Encryption): Add cindex FIPS 46-3.
21189
21190         * locale/locarchive.h (struct locarhandle): Add fname.
21191         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21192         if an optional argument was specified to --list-archive,
21193         otherwise NULL.
21194         * locale/programs/locarchive.c (show_archive_content): Take new
21195         argument fname and pass it via ah.fname to open_archive.
21196         * locale/programs/localedef.h: Update decl.
21197         (open_archive): If AH->fname is non-null, open that file
21198         rather than the default file name, and don't ignore ENOENT.
21199         (create_archive): Set AH.fname to NULL.
21200         (delete_locales_from_archive): Likewise.
21201         (add_locales_to_archive): Likewise.
21202         * locale/programs/locfile.c (write_all_categories): Likewise.
21203
21204 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21205             Aldy Hernandez  <aldyh@redhat.com>
21206
21207         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21208         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21209         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21210         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21211         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21212         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21213         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21214         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21215         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21216         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21217         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21218         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21219         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21220         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21221         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21222         Likewise.
21223         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21224         Likewise.
21225         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21226         Likewise.
21227         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21228         Likewise.
21229         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21230         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21231         Likewise.
21232         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21233         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21234         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21235         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21236         Likewise.
21237         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21238         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21239         * sysdeps/powerpc/preconfigure: Likewise.
21240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21241         Likewise.
21242         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21243         Replace contents of file by #include of <fenv_libc.h>.
21244         * sysdeps/powerpc/soft-fp/sfp-machine.h
21245         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21246         and <sys/prctl.h>.
21247         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21252         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21255         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21256         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21257         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21258         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21260         Allow copysignl PLT reference to be missing.
21261
21262 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21263             Joseph Myers  <joseph@codesourcery.com
21264
21265         [BZ #15948]
21266         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21267         single character.
21268         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21269
21270 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21271
21272         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21273         * elf/tst-tls1.c: Likewise.
21274         * elf/tst-tls10.h: Likewise.
21275         * elf/tst-tls14.c: Likewise.
21276         * elf/tst-tls2.c: Likewise.
21277         * elf/tst-tls3.c: Likewise.
21278         * elf/tst-tls4.c: Likewise.
21279         * elf/tst-tls5.c: Likewise.
21280         * elf/tst-tls6.c: Likewise.
21281         * elf/tst-tls7.c: Likewise.
21282         * elf/tst-tls8.c: Likewise.
21283         * elf/tst-tls9.c: Likewise.
21284         * elf/tst-tlsmod1.c: Likewise.
21285         * elf/tst-tlsmod13.c: Likewise.
21286         * elf/tst-tlsmod13a.c: Likewise.
21287         * elf/tst-tlsmod14a.c: Likewise.
21288         * elf/tst-tlsmod16a.c: Likewise.
21289         * elf/tst-tlsmod16b.c: Likewise.
21290         * elf/tst-tlsmod2.c: Likewise.
21291         * elf/tst-tlsmod3.c: Likewise.
21292         * elf/tst-tlsmod4.c: Likewise.
21293         * elf/tst-tlsmod5.c: Likewise.
21294         * elf/tst-tlsmod6.c: Likewise.
21295
21296 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21297
21298         [BZ #12486]
21299         * malloc/malloc.c: remove checks for statistics.
21300
21301 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21302
21303         [BZ #15277]
21304         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21305         * inet/tst-network.c: Add testcase.
21306
21307 2013-10-17  Andreas Schwab  <schwab@suse.de>
21308
21309         [BZ #15218]
21310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21311         to determine canonical name.
21312
21313 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21314
21315         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21316         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21317         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21318         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21319         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21320         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21321         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21322         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21323         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21324         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21325         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21326         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21327         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21328         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21329         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21330         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21332         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21333         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21334         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21335         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21338         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21339         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21340         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21341         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21342         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21343         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21344         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21345         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21346         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21347         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21348         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21349         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21350         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21351         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21352         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21353         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21354         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21355         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21356         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21357         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21358         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21359         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21360         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21361         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21362         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21363         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21364         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21365         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21366         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21367         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21368         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21370         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21371         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21372         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21373
21374 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21375
21376         [BZ #16041]
21377         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21378         make result into a quiet NaN.
21379
21380 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21381
21382         * soft-fp/adddf3.c: Fix horizontal whitespace.
21383         * soft-fp/addsf3.c: Likewise.
21384         * soft-fp/addtf3.c: Likewise.
21385         * soft-fp/divdf3.c: Likewise.
21386         * soft-fp/divsf3.c: Likewise.
21387         * soft-fp/divtf3.c: Likewise.
21388         * soft-fp/double.h: Likewise.
21389         * soft-fp/eqdf2.c: Likewise.
21390         * soft-fp/eqsf2.c: Likewise.
21391         * soft-fp/eqtf2.c: Likewise.
21392         * soft-fp/extenddftf2.c: Likewise.
21393         * soft-fp/extended.h: Likewise.
21394         * soft-fp/extendsfdf2.c: Likewise.
21395         * soft-fp/extendsftf2.c: Likewise.
21396         * soft-fp/extendxftf2.c: Likewise.
21397         * soft-fp/fixdfdi.c: Likewise.
21398         * soft-fp/fixdfsi.c: Likewise.
21399         * soft-fp/fixdfti.c: Likewise.
21400         * soft-fp/fixsfdi.c: Likewise.
21401         * soft-fp/fixsfsi.c: Likewise.
21402         * soft-fp/fixsfti.c: Likewise.
21403         * soft-fp/fixtfdi.c: Likewise.
21404         * soft-fp/fixtfsi.c: Likewise.
21405         * soft-fp/fixtfti.c: Likewise.
21406         * soft-fp/fixunsdfdi.c: Likewise.
21407         * soft-fp/fixunsdfsi.c: Likewise.
21408         * soft-fp/fixunsdfti.c: Likewise.
21409         * soft-fp/fixunssfdi.c: Likewise.
21410         * soft-fp/fixunssfsi.c: Likewise.
21411         * soft-fp/fixunssfti.c: Likewise.
21412         * soft-fp/fixunstfdi.c: Likewise.
21413         * soft-fp/fixunstfsi.c: Likewise.
21414         * soft-fp/fixunstfti.c: Likewise.
21415         * soft-fp/floatdidf.c: Likewise.
21416         * soft-fp/floatdisf.c: Likewise.
21417         * soft-fp/floatditf.c: Likewise.
21418         * soft-fp/floatsidf.c: Likewise.
21419         * soft-fp/floatsisf.c: Likewise.
21420         * soft-fp/floatsitf.c: Likewise.
21421         * soft-fp/floattidf.c: Likewise.
21422         * soft-fp/floattisf.c: Likewise.
21423         * soft-fp/floattitf.c: Likewise.
21424         * soft-fp/floatundidf.c: Likewise.
21425         * soft-fp/floatundisf.c: Likewise.
21426         * soft-fp/floatunditf.c: Likewise.
21427         * soft-fp/floatunsidf.c: Likewise.
21428         * soft-fp/floatunsisf.c: Likewise.
21429         * soft-fp/floatunsitf.c: Likewise.
21430         * soft-fp/floatuntidf.c: Likewise.
21431         * soft-fp/floatuntisf.c: Likewise.
21432         * soft-fp/floatuntitf.c: Likewise.
21433         * soft-fp/fmadf4.c: Likewise.
21434         * soft-fp/fmasf4.c: Likewise.
21435         * soft-fp/fmatf4.c: Likewise.
21436         * soft-fp/gedf2.c: Likewise.
21437         * soft-fp/gesf2.c: Likewise.
21438         * soft-fp/getf2.c: Likewise.
21439         * soft-fp/ledf2.c: Likewise.
21440         * soft-fp/lesf2.c: Likewise.
21441         * soft-fp/letf2.c: Likewise.
21442         * soft-fp/muldf3.c: Likewise.
21443         * soft-fp/mulsf3.c: Likewise.
21444         * soft-fp/multf3.c: Likewise.
21445         * soft-fp/negdf2.c: Likewise.
21446         * soft-fp/negsf2.c: Likewise.
21447         * soft-fp/negtf2.c: Likewise.
21448         * soft-fp/op-1.h: Likewise.
21449         * soft-fp/op-2.h: Likewise.
21450         * soft-fp/op-4.h: Likewise.
21451         * soft-fp/op-8.h: Likewise.
21452         * soft-fp/op-common.h: Likewise.
21453         * soft-fp/quad.h: Likewise.
21454         * soft-fp/single.h: Likewise.
21455         * soft-fp/soft-fp.h: Likewise.
21456         * soft-fp/sqrtdf2.c: Likewise.
21457         * soft-fp/sqrtsf2.c: Likewise.
21458         * soft-fp/sqrttf2.c: Likewise.
21459         * soft-fp/subdf3.c: Likewise.
21460         * soft-fp/subsf3.c: Likewise.
21461         * soft-fp/subtf3.c: Likewise.
21462         * soft-fp/truncdfsf2.c: Likewise.
21463         * soft-fp/trunctfdf2.c: Likewise.
21464         * soft-fp/trunctfsf2.c: Likewise.
21465         * soft-fp/trunctfxf2.c: Likewise.
21466         * soft-fp/unorddf2.c: Likewise.
21467         * soft-fp/unordsf2.c: Likewise.
21468         * soft-fp/unordtf2.c: Likewise.
21469
21470 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21471
21472         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21473         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21474
21475 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21476
21477         * elf/dl-libc.c: Clear initfini list after freeing.
21478
21479 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21480
21481         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21482         * soft-fp/addsf3.c: Likewise.
21483         * soft-fp/addtf3.c: Likewise.
21484         * soft-fp/divdf3.c: Likewise.
21485         * soft-fp/divsf3.c: Likewise.
21486         * soft-fp/divtf3.c: Likewise.
21487         * soft-fp/double.h: Likewise.
21488         * soft-fp/eqdf2.c: Likewise.
21489         * soft-fp/eqsf2.c: Likewise.
21490         * soft-fp/eqtf2.c: Likewise.
21491         * soft-fp/extenddftf2.c: Likewise.
21492         * soft-fp/extended.h: Likewise.
21493         * soft-fp/extendsfdf2.c: Likewise.
21494         * soft-fp/extendsftf2.c: Likewise.
21495         * soft-fp/extendxftf2.c: Likewise.
21496         * soft-fp/fixdfdi.c: Likewise.
21497         * soft-fp/fixdfsi.c: Likewise.
21498         * soft-fp/fixdfti.c: Likewise.
21499         * soft-fp/fixsfdi.c: Likewise.
21500         * soft-fp/fixsfsi.c: Likewise.
21501         * soft-fp/fixsfti.c: Likewise.
21502         * soft-fp/fixtfdi.c: Likewise.
21503         * soft-fp/fixtfsi.c: Likewise.
21504         * soft-fp/fixtfti.c: Likewise.
21505         * soft-fp/fixunsdfdi.c: Likewise.
21506         * soft-fp/fixunsdfsi.c: Likewise.
21507         * soft-fp/fixunsdfti.c: Likewise.
21508         * soft-fp/fixunssfdi.c: Likewise.
21509         * soft-fp/fixunssfsi.c: Likewise.
21510         * soft-fp/fixunssfti.c: Likewise.
21511         * soft-fp/fixunstfdi.c: Likewise.
21512         * soft-fp/fixunstfsi.c: Likewise.
21513         * soft-fp/fixunstfti.c: Likewise.
21514         * soft-fp/floatdidf.c: Likewise.
21515         * soft-fp/floatdisf.c: Likewise.
21516         * soft-fp/floatditf.c: Likewise.
21517         * soft-fp/floatsidf.c: Likewise.
21518         * soft-fp/floatsisf.c: Likewise.
21519         * soft-fp/floatsitf.c: Likewise.
21520         * soft-fp/floattidf.c: Likewise.
21521         * soft-fp/floattisf.c: Likewise.
21522         * soft-fp/floattitf.c: Likewise.
21523         * soft-fp/floatundidf.c: Likewise.
21524         * soft-fp/floatundisf.c: Likewise.
21525         * soft-fp/floatunsidf.c: Likewise.
21526         * soft-fp/floatunsisf.c: Likewise.
21527         * soft-fp/floatuntidf.c: Likewise.
21528         * soft-fp/floatuntisf.c: Likewise.
21529         * soft-fp/floatuntitf.c: Likewise.
21530         * soft-fp/fmadf4.c: Likewise.
21531         * soft-fp/fmasf4.c: Likewise.
21532         * soft-fp/fmatf4.c: Likewise.
21533         * soft-fp/gedf2.c: Likewise.
21534         * soft-fp/gesf2.c: Likewise.
21535         * soft-fp/getf2.c: Likewise.
21536         * soft-fp/ledf2.c: Likewise.
21537         * soft-fp/lesf2.c: Likewise.
21538         * soft-fp/letf2.c: Likewise.
21539         * soft-fp/muldf3.c: Likewise.
21540         * soft-fp/mulsf3.c: Likewise.
21541         * soft-fp/multf3.c: Likewise.
21542         * soft-fp/negdf2.c: Likewise.
21543         * soft-fp/negsf2.c: Likewise.
21544         * soft-fp/negtf2.c: Likewise.
21545         * soft-fp/op-1.h: Likewise.
21546         * soft-fp/op-2.h: Likewise.
21547         * soft-fp/op-4.h: Likewise.
21548         * soft-fp/op-8.h: Likewise.
21549         * soft-fp/op-common.h: Likewise.
21550         * soft-fp/quad.h: Likewise.
21551         * soft-fp/single.h: Likewise.
21552         * soft-fp/soft-fp.h: Likewise.
21553         * soft-fp/sqrtdf2.c: Likewise.
21554         * soft-fp/sqrtsf2.c: Likewise.
21555         * soft-fp/sqrttf2.c: Likewise.
21556         * soft-fp/subdf3.c: Likewise.
21557         * soft-fp/subsf3.c: Likewise.
21558         * soft-fp/subtf3.c: Likewise.
21559         * soft-fp/truncdfsf2.c: Likewise.
21560         * soft-fp/trunctfdf2.c: Likewise.
21561         * soft-fp/trunctfsf2.c: Likewise.
21562         * soft-fp/trunctfxf2.c: Likewise.
21563         * soft-fp/unorddf2.c: Likewise.
21564         * soft-fp/unordsf2.c: Likewise.
21565         * soft-fp/unordtf2.c: Likewise.
21566
21567 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21568
21569         [BZ #15672]
21570         * misc/error.c (error_tail): Fix possible buffer overflow.
21571
21572 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21573
21574         [BZ #13028]
21575         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21576         address.
21577
21578 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21579
21580         [BZ #832]
21581         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21582         testing pipefail option.
21583
21584 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21585
21586         * soft-fp/double.h: Indent preprocessor directives inside #if.
21587         * soft-fp/extended.h: Likewise.
21588         * soft-fp/op-2.h: Likewise.
21589         * soft-fp/op-4.h: Likewise.
21590         * soft-fp/op-common.h: Likewise.
21591         * soft-fp/quad.h: Likewise.
21592         * soft-fp/single.h: Likewise.
21593         * soft-fp/soft-fp.h: Likewise.
21594
21595 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21596
21597         * iconv/iconv_prog.c: Fix typos.
21598         * stdio-common/psiginfo-data.h: Likewise.
21599
21600 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21601
21602         [BZ #15764]
21603         * locale/setlocale.c: Fix typo.
21604
21605 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21606
21607         [BZ #16036]
21608         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21609         signaling NaN arguments.
21610         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21611         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21612
21613         [BZ #14910]
21614         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21615         unordered operands.
21616         * soft-fp/gesf2.c (__gesf2): Likewise.
21617         * soft-fp/getf2.c (__getf2): Likewise.
21618         * soft-fp/ledf2.c (__ledf2): Likewise.
21619         * soft-fp/lesf2.c (__lesf2): Likewise.
21620         * soft-fp/letf2.c (__letf2): Likewise.
21621
21622         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21623         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21624         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21625         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21626         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21627         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21628         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21629         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21630         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21631         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21632         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21633         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21634         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21635         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21636         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21637         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21638         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21639         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21640         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21641         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21642         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21643         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21644         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21645         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21646         * soft-fp/floattidf.c (__floattidf): Likewise.
21647         * soft-fp/floattisf.c (__floattisf): Likewise.
21648         * soft-fp/floattitf.c (__floattitf): Likewise.
21649         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21650         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21651         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21652         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21653         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21654         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21655         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21656         * soft-fp/gesf2.c (__gesf2): Likewise.
21657         * soft-fp/getf2.c (__getf2): Likewise.
21658         * soft-fp/ledf2.c (__ledf2): Likewise.
21659         * soft-fp/lesf2.c (__lesf2): Likewise.
21660         * soft-fp/letf2.c (__letf2): Likewise.
21661
21662         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21663         Undefine and redefine.
21664         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21665         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21666         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21667         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21668         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21669         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21670         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21671         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21672         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21673         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21674         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21675         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21676         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21677         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21678         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21679
21680         [BZ #16032]
21681         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21682         without decrementing exponent if mantissa >= that for the
21683         denominator, not >.
21684         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21685         denominator, not >.  Decrement exponent in < case instead of
21686         incrementing in >= case.
21687         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21688         without decrementing exponent if mantissa >= that for the
21689         denominator, not >.
21690
21691         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21692         computing saturated result for unsigned overflow.
21693
21694 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21695             Jeff Law  <law@redhat.com>
21696
21697         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21698         (atan2Mp): Add systemtap probe marker.
21699         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21700         (__ieee754_log): Add systemtap probe marker.
21701         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21702         (atanMp): Add systemtap probe marker.
21703         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21704         (tanMp): Add systemtap probe marker.
21705         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21706         (__slowexp): Add systemtap probe marker.
21707         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21708         (__slowpow): Add systemtap probe marker.
21709         * manual/probes.texi: Document probes.
21710
21711 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21712
21713         [BZ #15362]
21714         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21715         written.
21716         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21717         written.
21718         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21719         written to buffer but not flushed.
21720         * libio/iofwrite_u.c:  Likewise.
21721         * libio/iopadn.c:  Return bytes returned even if EOF was
21722         encountered.
21723         * libio/iowpadn.c:  Likewise.
21724         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21725         if _IO_padn does not write the whole buffer.
21726         [!COMPILE_WPRINTF] (PAD): Likewise.
21727
21728 2013-10-10  David S. Miller  <davem@davemloft.net>
21729
21730         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21731         directory block.
21732
21733 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21734
21735         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21736         instead of FSF address.
21737         * soft-fp/fixdfti.c: Likewise.
21738         * soft-fp/fixsfti.c: Likewise.
21739         * soft-fp/fixtfti.c: Likewise.
21740         * soft-fp/fixunsdfti.c: Likewise.
21741         * soft-fp/fixunssfti.c: Likewise.
21742         * soft-fp/fixunstfti.c: Likewise.
21743         * soft-fp/floattidf.c: Likewise.
21744         * soft-fp/floattisf.c: Likewise.
21745         * soft-fp/floattitf.c: Likewise.
21746         * soft-fp/floatuntidf.c: Likewise.
21747         * soft-fp/floatuntisf.c: Likewise.
21748         * soft-fp/floatuntitf.c: Likewise.
21749         * soft-fp/trunctfxf2.c: Likewise.
21750
21751         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21752         * soft-fp/fixdfti.c: Likewise.
21753         * soft-fp/fixsfti.c: Likewise.
21754         * soft-fp/fixtfti.c: Likewise.
21755         * soft-fp/fixunsdfti.c: Likewise.
21756         * soft-fp/fixunssfti.c: Likewise.
21757         * soft-fp/fixunstfti.c: Likewise.
21758         * soft-fp/floattidf.c: Likewise.
21759         * soft-fp/floattisf.c: Likewise.
21760         * soft-fp/floattitf.c: Likewise.
21761         * soft-fp/floatuntidf.c: Likewise.
21762         * soft-fp/floatuntisf.c: Likewise.
21763         * soft-fp/floatuntitf.c: Likewise.
21764         * soft-fp/trunctfxf2.c: Likewise.
21765
21766 2013-10-10  David S. Miller  <davem@davemloft.net>
21767
21768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21769
21770 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21771
21772         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21773         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21774         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21775         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21776         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21777         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21778         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21779
21780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21781         for NaNs before doing comparisons on argument.
21782         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21783         Likewise.
21784
21785 2013-10-10  Will Newton  <will.newton@linaro.org>
21786
21787         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21788         passed to _int_memalign does not overflow.
21789
21790 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21791
21792         * scripts/bench.pl: Add include-sources directive.
21793         * benchtests/README: Update documentation.
21794
21795 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21796
21797         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21798         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21799         instead of FP_INIT_ROUNDMODE.
21800         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21801         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21802
21803         [BZ #16034]
21804         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21805         copy class of input value.
21806         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21807         not handle exceptions.
21808         * soft-fp/negsf2.c (__negsf2): Likewise.
21809         * soft-fp/negtf2.c (__negtf2): Likewise.
21810         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21811
21812 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21813
21814         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21815         semicolon.  From Linux kernel.
21816
21817 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21818
21819         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21820
21821 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21822
21823         [BZ #156]
21824         * manual/socket.texi: Added statement about buffer
21825         for gethostbyname2_r.
21826
21827 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21828
21829         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21830         Use .p2align directive instead, throughout.
21831         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21832         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21833         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21834         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21835         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21836         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21837         * sysdeps/x86_64/strchr.S: Likewise.
21838         * sysdeps/x86_64/strrchr.S: Likewise.
21839
21840 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21841
21842         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21843
21844         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21845
21846         * sysdeps/generic/math_private.h (__mpsin1): Remove
21847         declaration.
21848         (__mpcos1): Likewise.
21849         (__mpsin): New argument __range_reduce.
21850         (__mpcos): Likewise.
21851         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21852         (slow): Use __mpsin and __mpcos.
21853         (slow1): Likewise.
21854         (slow2): Likewise.
21855         (sloww): Likewise.
21856         (sloww1): Likewise.
21857         (sloww2): Likewise.
21858         (bsloww): Likewise.
21859         (bsloww1): Likewise.
21860         (bsloww2): Likewise.
21861         (cslow2): Likewise.
21862         (csloww): Likewise.
21863         (csloww1): Likewise.
21864         (csloww2): Likewise.
21865         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21866         range_reduce.  Merge in __mpsin1.
21867         (__mpcos): Likewise.
21868         (__mpsin1): Remove.
21869         (__mpcos1): Likewise.
21870
21871 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21872
21873         * locale/loadlocale.c (_nl_intern_locale_data): Use
21874         LOCFILE_ALIGNED_P.
21875         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21876         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21877         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21878         obstack data is appropriately aligned.
21879         (obstack_int32_grow_fast): Likewise.
21880         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21881         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21882         (add_locale_uint32_array): Likewise.
21883
21884 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21885
21886         * benchtests/Makefile: Remove ARGLIST and RET variables.
21887         ($(objpfx)bench-%.c): Pass only function name to the script.
21888         * benchtests/README: Update documentation.
21889         * benchtests/acos-inputs: Add new directives.
21890         * benchtests/acosh-inputs: Likewise.
21891         * benchtests/asin-inputs: Likewise.
21892         * benchtests/asinh-inputs: Likewise.
21893         * benchtests/atan-inputs: Likewise.
21894         * benchtests/atanh-inputs: Likewise.
21895         * benchtests/cos-inputs: Likewise.
21896         * benchtests/cosh-inputs: Likewise.
21897         * benchtests/exp-inputs: Likewise.
21898         * benchtests/log-inputs: Likewise.
21899         * benchtests/pow-inputs: Likewise.
21900         * benchtests/rint-inputs: Likewise.
21901         * benchtests/sin-inputs: Likewise.
21902         * benchtests/sinh-inputs: Likewise.
21903         * benchtests/tan-inputs: Likewise.
21904         * benchtests/tanh-inputs: Likewise.
21905         * scripts/bench.pl: Add support for new directives.
21906
21907 2013-10-07  Alan Modra  <amodra@gmail.com>
21908
21909         * README: Fix careless merge.
21910
21911 2013-10-05  Alan Modra  <amodra@gmail.com>
21912
21913         * NEWS: Mention powerpc64le support and bugs fixed.
21914         * README: Both big-endian and little-endian powerpc64 supported.
21915
21916 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21917
21918         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21919         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21920         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21921         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21922
21923 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21924
21925         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21926         match prototype.
21927
21928 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21929
21930         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21931         Move -mhard-float appending from
21932         ports/sysdeps/powerpc/powerpc32/Makefile.
21933         [$(with-fp) = yes] (ASFLAGS): Likewise.
21934         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21935         * sysdeps/powerpc/nofpu: Move directory from
21936         ports/sysdeps/powerpc/nofpu.
21937         * sysdeps/powerpc/soft-fp: Move directory from
21938         ports/sysdeps/powerpc/soft-fp.
21939         * sysdeps/powerpc/powerpc32/405: Move directory from
21940         ports/sysdeps/powerpc/powerpc32/405.
21941         * sysdeps/powerpc/powerpc32/440: Move directory from
21942         ports/sysdeps/powerpc/powerpc32/440.
21943         * sysdeps/powerpc/powerpc32/464: Move directory from
21944         ports/sysdeps/powerpc/powerpc32/464.
21945         * sysdeps/powerpc/powerpc32/476: Move directory from
21946         ports/sysdeps/powerpc/powerpc32/476.
21947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21948         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21950         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21952         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21954         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21956         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21957         * README: Update for powerpc-*-linux-gnu software floating point
21958         support in libc.
21959
21960         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21961         case to powerpc/powerpc32*.
21962         * sysdeps/unix/sysv/linux/configure: Regenerated.
21963
21964         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21965         (_FPU_MASK_OM): Define as 0x04.
21966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21968         0x00c10080.
21969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21970         0x0000003c.
21971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21972
21973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21974         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21975         getcontext_e500.
21976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21977         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21978         setcontext_e500.
21979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21980         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21981         and setcontext_e500.
21982
21983 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21984
21985         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21986
21987 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21988
21989         * manual/threads.texi (Default Thread Attributes): Fix typo.
21990
21991 2013-10-04  Will Newton  <will.newton@linaro.org>
21992
21993         * malloc/Makefile: Add tst-memalign.
21994         * malloc/tst-memalign.c: New file.
21995
21996         * malloc/tst-posix_memalign.c: Add comments.
21997         (do_test): Add comments and call free on all potentially
21998         allocated pointers. Add space after cast.
21999
22000         * malloc/tst-pvalloc.c: Add comments.
22001         (do_test): Add comments and call free on all potentially
22002         allocated pointers. Remove duplicate check for NULL pointer.
22003         Add space after cast.
22004
22005         * malloc/tst-valloc.c: Add comments.
22006         (do_test): Add comments and call free on all potentially
22007         allocated pointers. Remove duplicate check for NULL pointer.
22008         Add space after cast.
22009
22010 2013-10-04  Alan Modra  <amodra@gmail.com>
22011
22012         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22013         Use stdint types in rather than __attribute__((mode())).
22014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22015
22016 2013-10-04  Alan Modra  <amodra@gmail.com>
22017
22018         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22019         Correct handling of unaligned relocs for little-endian.
22020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22021
22022 2013-10-04  Alan Modra  <amodra@gmail.com>
22023
22024         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22025         * configure: Regenerate.
22026         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22027         * shlib-versions: Likewise.
22028
22029 2013-10-04  Alan Modra  <amodra@gmail.com>
22030
22031         * string/tester.c (test_memrchr): Increment reported test cycle.
22032
22033 2013-10-04  Alan Modra  <amodra@gmail.com>
22034
22035         * string/test-memcpy.c (do_one_test): When reporting errors, print
22036         string address and don't overrun end of string.
22037
22038 2013-10-04  Alan Modra  <amodra@gmail.com>
22039
22040         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22041         insrdi.  Make better use of reg selection to speed exit slightly.
22042         Schedule entry path a little better.  Remove useless "are we done"
22043         checks on entry to main loop.  Handle wrapping around zero address.
22044         Correct main loop count.  Handle single left-over word from main
22045         loop inline rather than by using loop_small.  Remove extra word
22046         case in loop_small caused by wrong loop count.  Add little-endian
22047         support.
22048         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22049         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22050         cache hint.
22051         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22052         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22053         support.  Avoid rlwimi.
22054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22055
22056 2013-10-04  Alan Modra  <amodra@gmail.com>
22057
22058         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22059         insrdi.  Formatting.
22060         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22061         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22062         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22063         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22064         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22065         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22066
22067 2013-10-04  Alan Modra  <amodra@gmail.com>
22068
22069         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22071         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22072         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22073         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22074         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22075         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22077         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22078         use of regs.  Use power7 mtocrf.  Tidy function tails.
22079
22080 2013-10-04  Alan Modra  <amodra@gmail.com>
22081
22082         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22083         Formatting.  Consistently use rXXX register defines or rN defines.
22084         Use early exit labels that avoid restoring unused non-volatile regs.
22085         Make cr field use more consistent with rWORDn compares.  Rename
22086         regs used as shift registers for unaligned loop, using rN defines
22087         for short lifetime/multiple use regs.
22088         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22090         addi 1,1,64 to pop stack frame.  Simplify return value code.
22091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22092
22093 2013-10-04  Alan Modra  <amodra@gmail.com>
22094
22095         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22096         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22097         rather than rlwimi.
22098         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22099         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22100         little-endian support.  Correct typos.
22101         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22102         rather than rlwimi.
22103         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22104         in loop and entry code to keep "and." results.
22105         (strchr): Add little-endian support.  Comment.  Move cntlzd
22106         earlier in tail.
22107         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22108
22109 2013-10-04  Alan Modra  <amodra@gmail.com>
22110
22111         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22112         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22113         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22114         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22115
22116 2013-10-04  Alan Modra  <amodra@gmail.com>
22117
22118         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22119         (rTMP): Define as r11.
22120         (strcmp): Add little-endian support.  Optimise tail.
22121         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22122         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22123         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22124         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22126         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22128
22129 2013-10-04  Alan Modra  <amodra@gmail.com>
22130
22131         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22132         little-endian support.  Remove unnecessary "are we done" tests.
22133         Handle "s" wrapping around zero and extremely large "size".
22134         Correct main loop count.  Handle single left-over word from main
22135         loop inline rather than by using small_loop.  Correct comments.
22136         Delete "zero" tail, use "end_max" instead.
22137         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22138
22139 2013-10-04  Alan Modra  <amodra@gmail.com>
22140
22141         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22142         support.  Don't branch over align.
22143         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22144         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22145         support.  Rearrange tmp reg use to suit.  Comment.
22146         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22147
22148 2013-10-04  Alan Modra  <amodra@gmail.com>
22149
22150         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22151
22152 2013-10-04  Alan Modra  <amodra@gmail.com>
22153
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22155         conditional form of branch and link when obtaining pc.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22157
22158 2013-10-04  Alan Modra  <amodra@gmail.com>
22159
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22161         HIWORD/LOWORD.
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22164
22165 2013-10-04  Alan Modra  <amodra@gmail.com>
22166
22167         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22168         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22169         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22170         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22171         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22172         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22173         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22174         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22175         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22176         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22177
22178 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22179             Alistair Popple <alistair@ozlabs.au.ibm.com>
22180             Alan Modra <amodra@gmail.com>
22181
22182         [BZ #15723]
22183         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22184         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22185         _dl_hwcap access for little-endian.
22186         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22187         destroy vmx regs when saving unaligned.
22188         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22189         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22190         destroy vmx regs when saving unaligned.
22191
22192 2013-10-04  Alan Modra  <amodra@gmail.com>
22193
22194         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22195         Don't use a union to pack hi/low value.
22196
22197 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22198
22199         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22200         for little-endian.
22201         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22202         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22203         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22204         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22205         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22206
22207 2013-10-04  Alan Modra  <amodra@gmail.com>
22208
22209         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22210         constants to usual value for .cst8 section, and remove redundant
22211         high address load.
22212         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22213         constant for 0x1p52.  Load little-endian words of double from
22214         correct stack offsets.
22215
22216 2013-10-04  Alan Modra  <amodra@gmail.com>
22217
22218         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22219         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22220         words of double from correct stack offsets.
22221         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22222         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22223         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22227         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22228         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22229         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22232         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22233         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22234         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22235         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22236         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22237         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22238
22239 2013-10-04  Alan Modra  <amodra@gmail.com>
22240
22241         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22242         64-bit int/double union.
22243         (_FPU_SETCW): Likewise.
22244         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22245         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22246
22247 2013-10-04  Alan Modra  <amodra@gmail.com>
22248
22249         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22250         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22251
22252 2013-10-04  Alan Modra  <amodra@gmail.com>
22253
22254         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22255         use vector int constants.
22256         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22257
22258 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22259
22260         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22261         array with long long.
22262         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22263         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22264         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22265         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22266         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22267         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22268         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22269         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22270         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22271         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22272         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22273         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22274         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22275
22276 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22277
22278         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22279         (__signbit): Likewise.  Correct for little-endian.
22280         (__signbitl): Call __signbit.
22281         (lrint): Correct for little-endian.
22282         (lrintf): Call lrint.
22283
22284 2013-10-04  Alan Modra  <amodra@gmail.com>
22285
22286         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22287         union 32-bit int array member with 64-bit int array.
22288         (t515, tm256): Double rather than long double.
22289         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22290
22291 2013-10-04  Alan Modra  <amodra@gmail.com>
22292
22293         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22294         Delete.
22295         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22296         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22297         version of math_ldbl.h.
22298
22299 2013-10-04  Alan Modra  <amodra@gmail.com>
22300
22301         [BZ #15734], [BZ #15735]
22302         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22303         all uses of ieee875 long double macros and unions.  Simplify test
22304         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22305         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22306         normalize after ldbl_extract_mantissa, and don't add hidden bit
22307         already handled.  Don't treat low word of ieee854 mantissa like
22308         low word of IBM long double and mask off bit when testing for
22309         zero.
22310         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22311         all uses of ieee875 long double macros and unions.  Simplify tests
22312         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22313         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22314         two1022, instead use their values.  Recognise that tests for large
22315         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22316         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22317         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22318         test for 0.0L and nan.  Correct negation.
22319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22320         ieee875 long double macros and unions.  Correct output for large
22321         magnitude x.  Correct absolute value calculation.
22322         (__erfcl): Likewise.
22323         * math/libm-test.inc: Add tests for errors discovered in IBM long
22324         double versions of fmodl, remainderl, erfl and erfcl.
22325
22326 2013-10-04  Alan Modra  <amodra@gmail.com>
22327
22328         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22329         all uses of ieee854 long double macros and unions.  Simplify tests
22330         for long doubles that are fully specified by the high double.
22331         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22332         Likewise.
22333         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22334         Remove dead code too.
22335         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22336         (__ieee754_ynl): Likewise.
22337         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22338         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22340         Remove dead code too.
22341         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22342         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22343         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22344         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22345         Simplify.
22346         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22347         Simplify.
22348         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22349         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22351         Comment on variable precision.
22352         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22353         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22354         Likewise.
22355         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22356         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22357         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22358         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22359         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22360
22361 2013-10-04  Alan Modra  <amodra@gmail.com>
22362
22363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22364         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22365         all uses of ieee854 long double macros and unions.
22366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22369         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22370         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22371         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22372         Likewise.
22373         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22374         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22375         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22376         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22377         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22378         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22379         Simplify sign and nan test too.
22380         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22381         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22382         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22383         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22384         Likewise.
22385         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22386         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22387         Likewise.
22388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22389         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22390         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22391         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22392         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22394
22395 2013-10-04  Alan Modra  <amodra@gmail.com>
22396
22397         * stdio-common/printf_size.c (__printf_size): Don't use
22398         union ieee854_long_double in fpnum union.
22399         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22400         signbit macro to retrieve sign from long double.
22401         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22402         retrieve sign from long double.
22403         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22404         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22405         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22406         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22407         * math/test-misc.c (main): Don't use union ieee854_long_double.
22408
22409 2013-10-04  Alan Modra  <amodra@gmail.com>
22410
22411         [BZ #15680]
22412         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22413         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22414         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22415         calculation.  Remove unnecessary test for denormal exponent.
22416         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22417         Correct handling of denormals.  Avoid undefined shift behaviour.
22418         Correct normalisation of low mantissa when low double is denormal.
22419         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22420         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22421         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22422         Correct normalisation of low mantissa.  Test for overflow of high
22423         mantissa and normalise.
22424         (ldbl_nearbyint): Use more readable constant for two52.
22425         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22426         (__mpn_construct_long_double): Fix test for overflow of high
22427         mantissa and correct normalisation.  Avoid undefined shift.
22428
22429 2013-10-04  Alan Modra  <amodra@gmail.com>
22430
22431         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22432         (union ibm_extended_long_double): Define as an array of ieee754_double.
22433         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22434         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22435         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22436         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22438         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22439         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22440         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22442         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22443         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22444
22445 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22446
22447         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22448         page size instead of calling getpagesize.
22449
22450         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22451         (LOCFILE_ALIGN_MASK): Likewise.
22452         (LOCFILE_ALIGN_UP): Likewise.
22453         (LOCFILE_ALIGNED_P): Likewise.
22454         * locale/programs/ld-collate.c (collate_output): Use the new
22455         macros instead of __alignof__ (int32_t).
22456         * locale/weight.h (findidx): Likewise.
22457
22458 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22459
22460         [BZ #431]
22461         * manual/string.texi: Fix strncat and wcsncat.
22462
22463 2013-10-03  Brooks Moses  <bmoses@google.com>
22464
22465         [BZ #15915]
22466         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22467         * Makerules: ...here, and adjust associated comments.
22468
22469 2013-10-02  Will Newton  <will.newton@linaro.org>
22470
22471         * malloc/Makefile: Add tst-pvalloc.
22472         * malloc/tst-pvalloc.c: New file.
22473
22474 2013-10-02  Will Newton  <will.newton@linaro.org>
22475
22476         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22477         improve test coverage.
22478
22479 2013-10-02  Will Newton  <will.newton@linaro.org>
22480
22481         * malloc/Makefile: Add tst-posix_memalign.
22482         * malloc/tst-posix_memalign.c: New file.
22483
22484 2013-10-01  Eric Blake  <eblake@redhat.com>
22485
22486         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22487         Use __THROWNL rather than __THROW on static functions.
22488
22489 2013-09-30  Petr Machata  <pmachata@redhat.com>
22490
22491         * elf/elf.h (R_AARCH64_ABS16): New macro.
22492         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22493         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22494         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22495         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22496         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22497         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22498         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22499         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22500         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22501         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22502         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22503         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22504         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22505         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22506         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22507         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22508         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22509         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22510         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22511         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22512         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22513         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22514         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22515         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22516         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22517         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22518         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22519         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22520         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22521         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22522         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22523         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22524         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22525         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22526         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22527         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22528         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22529         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22530         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22531         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22532         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22533         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22534         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22535         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22536         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22537         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22538         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22539         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22540         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22541         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22542         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22543         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22544         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22545         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22546         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22547         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22548         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22549         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22550         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22551         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22552         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22553         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22554         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22555         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22556         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22557         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22558         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22559         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22560         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22561         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22562         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22563         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22564         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22565         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22566         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22567         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22568         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22569         (R_AARCH64_TLSDESC_LDR): Likewise.
22570         (R_AARCH64_TLSDESC_ADD): Likewise.
22571         (R_AARCH64_TLSDESC_CALL): Likewise.
22572
22573 2013-09-30  Andreas Schwab  <schwab@suse.de>
22574
22575         [BZ #15048]
22576         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22577         the nss database lookup.
22578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22580
22581 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22582
22583         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22584
22585 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22586
22587         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22588         ${Bash-specific parameter/pattern/string} parameter expansion.
22589         * sysdeps/unix/make-syscalls.sh: Likewise.
22590
22591 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22592
22593         * sysdeps/sh/stackguard-macros.h: New file.
22594
22595 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22596
22597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22599         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22600         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22601         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22602         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22603
22604 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22605
22606         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22607         Fix thread ID register.
22608
22609 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22610
22611         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22612         [POSIX || UNIX98]: Require rather than permitting all symbols from
22613         <time.h>.
22614         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22615         element of struct sched_param.
22616         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22617         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22618         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22619         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22620         constant.
22621
22622 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22623
22624         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22625         argument calculation.
22626
22627 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22628
22629         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22630         Expect macro.
22631         [POSIX] (pthread_attr_t): Do not require type.
22632         [POSIX] (pthread_cond_t): Likewise.
22633         [POSIX] (pthread_condattr_t): Likewise.
22634         [POSIX] (pthread_key_t): Likewise.
22635         [POSIX] (pthread_mutex_t): Likewise.
22636         [POSIX] (pthread_mutexattr_t): Likewise.
22637         [POSIX] (pthread_once_t): Likewise.
22638         [POSIX] (pthread_t): Likewise.
22639         [POSIX-based standards] (pthread_atfork): Expect function.
22640
22641 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22642             Richard Sandiford  <richard@codesourcery.com>
22643
22644         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22645         (swap_endianness_p): New extern variable.
22646         (set_big_endian): New inline function.
22647         (maybe_swap_uint32): Likewise.
22648         (maybe_swap_uint32_array): Likewise.
22649         (maybe_swap_uint32_obstack): Likewise.
22650         * locale/programs/locfile.c: Include <stdbool.h>.
22651         (swap_endianness_p): New variable.
22652         (add_locale_uint32): Call maybe_swap_uint32.
22653         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22654         (write_locale_data): Call maybe_swap_uint32_array.
22655         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22656         maybe_swap_uint32.
22657         (obstack_int32_grow_fast): Likewise.
22658         (output_weightwc): Call maybe_swap_uint32_obstack.
22659         (collate_output): Likewise.
22660         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22661         (OPT_LITTLE_ENDIAN): Likewise.
22662         (options): Add --little-endian and --big-endian options.
22663         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22664         * locale/programs/locarchive.c: Include "locfile.h".
22665         (GET): New macro.
22666         (SET): Likewise.
22667         (INC): Likewise.
22668         (create_archive): Use the new macros to access fields of
22669         structures directly mapped from or written to locale archives.
22670         (oldlocrecentcmp): Likewise.
22671         (enlarge_archive): Likewise.
22672         (insert_name): Likewise.
22673         (add_alias): Likewise.
22674         (add_locale): Likewise.
22675         (delete_locales_from_archive): Likewise.
22676         (show_archive_content): Likewise.
22677         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22678         locale data.
22679
22680 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22681
22682         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22683         http://www.gnu.org/doc/freemanuals.texi.
22684         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22685
22686 2013-09-24  Will Newton  <will.newton@linaro.org>
22687
22688         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22689         macro.
22690
22691 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22692
22693         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22694         unsigned char.
22695
22696 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22697
22698         * manual/threads.texi (POSIX Threads): Fix a typo.
22699
22700 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701
22702         [BZ #14547]
22703         * string/tst-strcoll-overflow.c: New test case.
22704         * string/Makefile (xtests): Add tst-strcoll-overflow.
22705         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22706         cache if string sizes may cause integer overflow.
22707
22708         [BZ #14547]
22709         * string/strcoll_l.c (coll_seq): New members rule, idx,
22710         save_idx and back_us.
22711         (get_next_seq_nocache): New function.
22712         (do_compare_nocache): New function.
22713         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22714         when malloc fails.
22715
22716 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22717
22718         [BZ #15754]
22719         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22720         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22721         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22722
22723         [BZ #15754]
22724         * elf/Makefile (tests): Add tst-ptrguard1.
22725         (tests-static): Add tst-ptrguard1-static.
22726         (tst-ptrguard1-ARGS): Define.
22727         (tst-ptrguard1-static-ARGS): Define.
22728         * elf/tst-ptrguard1.c: New file.
22729         * elf/tst-ptrguard1-static.c: New file.
22730         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22731         * sysdeps/i386/stackguard-macros.h: Likewise.
22732         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22733         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22734         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22735         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22736         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22737         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22738
22739 2013-09-23  Hector Marco  <hecmargi@upv.es>
22740             Ismael Ripoll  <iripoll@disca.upv.es>
22741             Carlos O'Donell  <carlos@redhat.com>
22742
22743         [BZ #15754]
22744         * sysdeps/generic/stackguard-macros.h: Define
22745         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22746         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22747         Define __pointer_chk_guard_local.
22748         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22749         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22750
22751 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22752
22753         [BZ #15859]
22754         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22755
22756 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22757
22758         * include/string.h (__ffs): Declare as hidden.
22759         * string/ffs.c (__ffs): Define as hidden.
22760         * sysdeps/i386/ffs.c (__ffs): Likewise.
22761         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22762         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22763         * sysdeps/s390/ffs.c (__ffs): Likewise.
22764         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22765
22766 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22767
22768         * NEWS: Mention malloc probes.
22769
22770         * malloc/arena.c (new_heap): New memory_heap_new probe.
22771         (grow_heap): New memory_heap_more probe.
22772         (shrink_heap): New memory_heap_less probe.
22773         (heap_trim): New memory_heap_free probe.
22774         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22775         (systrim): New memory_sbrk_less probe.
22776         * manual/probes.texi: Document them.
22777
22778         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22779         * manual/probes.texi: Document it.
22780
22781         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22782         (__libc_realloc): Add memory_realloc_retry probe.
22783         (__libc_memalign): Add memory_memalign_retry probe.
22784         (__libc_valloc): Add memory_valloc_retry probe.
22785         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22786         (__libc_calloc): Add memory_calloc_retry probe.
22787         * manual/probes.texi: Document them.
22788
22789         * malloc/arena.c (get_free_list): Add probe
22790         memory_arena_reuse_free_list.
22791         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22792         and memory_arena_reuse.
22793         (arena_get2) [!PER_THREAD]: Likewise.
22794         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22795         memory_arena_reuse_realloc.
22796         * manual/probes.texi: Document them.
22797
22798         * malloc/malloc.c (__libc_free): Add
22799         memory_mallopt_free_dyn_thresholds probe.
22800         (__libc_mallopt): Add multiple memory_mallopt probes.
22801         * manual/probes.texi: Document them.
22802
22803         * malloc/malloc.c: Include stap-probe.h.
22804         (__libc_mallopt): Add memory_mallopt probe.
22805         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22806         * manual/probes.texi: New.
22807         * manual/Makefile (chapters): Add probes.
22808         * manual/threads.texi: Set next node.
22809
22810 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22811
22812         [BZ #15963, #13985]
22813         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22814         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22815         Add `Chinese' to `nan' entry name.
22816
22817 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22818
22819         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22820         (POLYNOMIAL): Likewise.
22821         (TAYLOR_SINCOS): Likewise.
22822         (TAYLOR_SLOW): Likewise.
22823         (__sin): Use TAYLOR_SINCOS.
22824         (__cos): Likewise.
22825         (slow): Use TAYLOR_SLOW.
22826         (sloww): Likewise.
22827         (bsloww): Likewise.
22828         (csloww): Likewise.
22829
22830 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22831
22832         * stdlib/strtod_l.c: Fix buffer overrun.
22833
22834 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22835
22836         * benchtests/Makefile (bench): Add sincos.
22837         * benchtests/bench-sincos.c: New file.
22838
22839         * math/libm-test.inc (cos_test_data): New test inputs.
22840         (sin_test_data): Likewise.
22841
22842         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22843         macro.
22844         (__sin): Use it.
22845         (__cos): Likewise.
22846         (slow1): Likewise.
22847         (slow2): Likewise.
22848         (sloww1): Likewise.
22849         (sloww2): Likewise.
22850         (bsloww1): Likewise.
22851         (bsloww2): Likewise.
22852         (cslow2): Likewise.
22853         (csloww1): Likewise.
22854         (csloww2): Likewise.
22855
22856         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22857         function.
22858         (__sin): Use it.
22859         (__cos): Likewise.
22860
22861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22862         gotos.
22863         (__cos): Likewise.
22864
22865 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22866
22867         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22868         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22869         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22870         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22871         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22872         * elf/cache.c (print_entry): Handle the new cache flags.
22873
22874 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22875             Aldy Hernandez  <aldyh@redhat.com>
22876
22877         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22878         Change condition to [_SOFT_FLOAT].
22879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22891         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22894         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22895         declaration.
22896
22897 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22898
22899         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22900         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22901         (__longjmp): Use LOAD_GP to load saved GPRs.
22902         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22903         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22904         (__sigsetjmp): Use SAVE_GP to save GPRs.
22905
22906         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22907         Do not append -msoft-float.
22908         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22909
22910 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22911
22912         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22913
22914 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22915
22916         [BZ #15966]
22917         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22918         (_FPU_GETCW): Use initial "__" on variable and field names but not
22919         on macro parameter name.
22920         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22921         parentheses around reference to macro parameter.
22922
22923 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22924
22925         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22926         prototype.
22927         (ctype_startup): Use uint32_t in cast and sizeof for
22928         ctype->charnames.
22929
22930 2013-09-11  Jia Liu  <proljc@gmail.com>
22931
22932         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22933         __daddr_t_defined.
22934         [__FreeBSD__]: Likewise.
22935
22936 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22937
22938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22939         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22940         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22941         (strchr): Remove __strchr_sse42 ifunc selection.
22942         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22943         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22944
22945 2013-09-11  Will Newton  <will.newton@linaro.org>
22946
22947         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22948         parameter to RES. Remove hardcoded 1000 value.
22949         * benchtests/bench-skeleton.c (main): Pass RES parameter
22950         to TIMING_INIT and multiply result by 1000.
22951
22952 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22953
22954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22955
22956 2013-09-11  Andreas Schwab  <schwab@suse.de>
22957
22958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22959         if not defined.
22960         (O_TMPFILE) [__USE_GNU]: Define.
22961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22962         Define.
22963
22964 2013-09-11  Will Newton  <will.newton@linaro.org>
22965
22966         [BZ #15857]
22967         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22968         does not overflow.
22969
22970 2013-09-11  Will Newton  <will.newton@linaro.org>
22971
22972         [BZ #15856]
22973         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22974         does not overflow.
22975
22976 2013-09-11  Will Newton  <will.newton@linaro.org>
22977
22978         [BZ #15855]
22979         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22980         does not overflow.
22981
22982 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22983
22984         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22985         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22986         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22987         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22988         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22989
22990 2013-09-10  Allan McRae  <allan@archlinux.org>
22991
22992         [BZ #15748]
22993         * manual/arith.texi (Parsing of Floats): Clarify
22994         cross-reference.
22995
22996         [BZ #15849]
22997         * manual/install.texi (Running make install): Mention
22998         --enable-pt-chown.
22999         * INSTALL: Regenerated.
23000
23001 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23002
23003         * csu/init-first.c (_init): Remove the !SHARED condition around
23004         FPU control word initialization.
23005         * elf/dl-support.c (_dl_fpu_control): New variable.
23006         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23007         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23008         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23009         * math/test-fpucw-static.c: New file.
23010         * math/test-fpucw-ieee.c: New file.
23011         * math/test-fpucw-ieee-static.c: New file.
23012         * math/Makefile (tests): Add `test-fpucw-ieee' and
23013         `$(tests-static)'.
23014         (tests-static): New variable.
23015         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23016         dependency to...
23017         [($(build-shared),yes)]
23018         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23019         ... this.
23020         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23021         New dependency.
23022
23023 2013-09-09  Allan McRae  <allan@archlinux.org>
23024
23025         [BZ #15939]
23026         * manual/string.texi (Collation Functions): Fix typo in
23027         strcoll example.
23028         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23029
23030         [BZ #15893]
23031         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23032
23033         [BZ #15892]
23034         * libio/memstream.c (open_memstream): Fix memory leak.
23035         * libio/wmemstream.c (open_wmemstream): Likewise.
23036
23037         [BZ #15895]
23038         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23039
23040 2013-09-09  Will Newton  <will.newton@linaro.org>
23041
23042         * malloc/Makefile: Add tst-realloc to tests.
23043         * malloc/tst-realloc.c: New file.
23044
23045 2013-09-09  Allan McRae  <allan@archlinux.org>
23046
23047         [BZ #15844]
23048         * COPYING: Update from GNU website to fix FSF address.
23049         * COPYING.LIB: Likewise.
23050
23051 2013-09-06  David S. Miller  <davem@davemloft.net>
23052
23053         * po/zh_TW.po: Update Chinese (traditional) translation from
23054         translation project.
23055
23056 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23057             Joseph Myers  <joseph@codesourcery.com>
23058
23059         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23060         "localeinfo.h".
23061         (obstack_chunk_alloc): New macro.
23062         (obstack_chunk_free): Likewise.
23063         (record_offset): New function.
23064         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
23079         iovec.
23080         * locale/programs/locfile.h: Include "obstack.h".
23081         (struct locale_file): Change to store locale file contents instead
23082         of header.
23083         (init_locale_data): New prototype.
23084         (align_locale_data): Likewise.
23085         (add_locale_empty): Likewise.
23086         (add_locale_raw_data): Likewise.
23087         (add_locale_raw_obstack): Likewise.
23088         (add_locale_string): Likewise.
23089         (add_locale_wstring): Likewise.
23090         (add_locale_uint32): Likewise.
23091         (add_locale_uint32_array): Likewise.
23092         (add_locale_char): Likewise.
23093         (start_locale_structure): Likewise.
23094         (end_locale_structure): Likewise.
23095         (start_locale_prelude): Likewise.
23096         (end_locale_prelude): Likewise.
23097         (write_locale_data): Update prototype.
23098         * locale/programs/3level.h (struct TABLE): Remove result field.
23099         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23100         Use new locale_file interface.
23101         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23102         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23103         * locale/programs/ld-address.c (address_output): Use new
23104         locale_file interface.
23105         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23106         NO_ADD_LOCALE.
23107         (collate_finish): Don't call collseq_table_finalize.
23108         (collate_output): Use new locale_file interface.
23109         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23110         in file.
23111         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23112         (TABLE): Move defines earlier in file.
23113         (ELEMENT): Likewise.
23114         (DEFAULT): Likewise.
23115         (wctrans_table_add): Move macro and inline function earlier in
23116         file.
23117         (struct wctype_table): Move type earlier in file.
23118         (add_locale_wctype_table): New static prototype.
23119         (struct locale_ctype_t): Use logical types instead of struct iovec
23120         pointers for members.
23121         (ctype_output): Use new locale_file interface.
23122         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23123         new locale_file interface.
23124         (allocate_arrays): Update for use of new locale_file interface.
23125         * locale/programs/ld-identification.c (identification_output): Use
23126         new locale_file interface.
23127         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23128         * locale/programs/ld-messages.c (messages_output): Likewise.
23129         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23130         * locale/programs/ld-name.c (name_output): Likewise.
23131         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23132         * locale/programs/ld-paper.c (paper_output): Likewise.
23133         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23134         * locale/programs/ld-time.c (time_output): Likewise.
23135
23136 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23137
23138         * benchtests/Makefile: Add memrchr benchmark.
23139         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23140         benchmark as memrchr.
23141         * benchtests/bench-memrchr-ifunc.c: New file.
23142         * benchtests/bench-memrchr.c: New file.
23143
23144 2013-09-06   Will Newton  <will.newton@linaro.org>
23145
23146         * benchtests/Makefile (string-bench): Add memcpy.
23147
23148 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23149             Cong Wang  <amwang@redhat.com>
23150
23151         [BZ #15850]
23152         * sysdeps/unix/sysv/linux/bits/in.h
23153         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23154         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23155         before __USE_KERNEL_IPV6_DEFS uses.
23156         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23157         IPPROTO_BEETPH.
23158         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23159         sockaddr_in6, or ipv6_mreq.
23160
23161 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23162
23163         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23164         memory access for final bytes in some large inputs.
23165         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23166
23167 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23168
23169         * string/test-memrchr.c: New file.
23170         * string/test-memrchr-ifunc.c: New file.
23171         * string/Makefile: Add new memrchr testcase.
23172
23173 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23174
23175         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23176         fanotify_init returns EPERM.
23177
23178 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23179
23180         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23181         errors.
23182         (top level): Treat second token from macro or constant entries for
23183         allowed headers as allowed.
23184         * include/complex.h: Condition internal declarations on
23185         [!_ISOMAC].
23186         * include/fenv.h: Condition include of <stdbool.h> and internal
23187         declarations on [!_ISOMAC].
23188
23189 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23190
23191         [BZ #15923]
23192         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23193
23194 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23195
23196         * configure.in (--enable-versioning): Remove configure option.
23197         (libc_cv_asm_symver_directive): Remove configure test.
23198         (libc_cv_ld_version_script_option): Likewise.
23199         (VERSIONING): Remove variable and AC_SUBST.
23200         (DO_VERSIONING): Remove AC_DEFINE.
23201         * configure: Regenerated.
23202         * config.h.in (DO_VERSIONING): Remove macro.
23203         * Makerules [$(versioning) = yes]: Change conditionals to
23204         [$(build-shared) = yes].
23205         * config.make.in (versioning): Remove variable.
23206         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23207         [$(build-shared) = yes].
23208         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23209         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23210         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23211         [$(build-shared) = yes].
23212         * extra-lib.mk [$(versioning) = yes]: Likewise.
23213         * hurd/Makefile [$(versioning) = yes]: Likewise.
23214         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23215         [SHARED].
23216         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23217         [SHARED].
23218         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23219         [SHARED && !NO_HIDDEN].
23220         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23221         [SHARED].
23222         [SHARED && DO_VERSIONING]: Likewise..
23223         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23224         [$(build-shared) = yes].
23225         * manual/install.texi (--disable-versioning): Remove
23226         documentation.
23227         * INSTALL: Regenerated.
23228         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23229         to [SHARED].
23230         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23231         [$(build-shared) = yes].
23232         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23233         * sysdeps/i386/i686/multiarch/strstr-c.c
23234         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23235         [SHARED && !NO_HIDDEN].
23236         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23237         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23238         * sysdeps/powerpc/powerpc32/dl-machine.c
23239         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23240         * sysdeps/powerpc/powerpc32/sysdep.h
23241         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23242         to [SHARED && PIC && !NO_HIDDEN].
23243         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23244         conditional to [SHARED].
23245
23246 2013-09-04   Will Newton  <will.newton@linaro.org>
23247
23248         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23249         * benchtests/bench-string.h: Include bench-timing.h instead
23250         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23251         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23252         call to HP_TIMING_DIFF_INIT.
23253         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23254         instead of hp-timing.h macros.
23255         * benchtests/bench-memchr.c: Likewise.
23256         * benchtests/bench-memcmp.c: Likewise.
23257         * benchtests/bench-memcpy.c: Likewise.
23258         * benchtests/bench-memmem.c: Likewise.
23259         * benchtests/bench-memmove.c: Likewise.
23260         * benchtests/bench-memset.c: Likewise.
23261         * benchtests/bench-rawmemchr.c: Likewise.
23262         * benchtests/bench-strcasecmp.c: Likewise.
23263         * benchtests/bench-strcasestr.c: Likewise.
23264         * benchtests/bench-strcat.c: Likewise.
23265         * benchtests/bench-strchr.c: Likewise.
23266         * benchtests/bench-strcmp.c: Likewise.
23267         * benchtests/bench-strcpy.c: Likewise.
23268         * benchtests/bench-strcpy_chk.c: Likewise.
23269         * benchtests/bench-strlen.c: Likewise.
23270         * benchtests/bench-strncasecmp.c: Likewise.
23271         * benchtests/bench-strncat.c: Likewise.
23272         * benchtests/bench-strncmp.c: Likewise.
23273         * benchtests/bench-strncpy.c: Likewise.
23274         * benchtests/bench-strnlen.c: Likewise.
23275         * benchtests/bench-strpbrk.c: Likewise.
23276         * benchtests/bench-strrchr.c: Likewise.
23277         * benchtests/bench-strspn.c: Likewise.
23278         * benchtests/bench-strstr.c: Likewise.
23279
23280 2013-09-04  Will Newton  <will.newton@linaro.org>
23281
23282         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23283
23284 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23285
23286         [BZ #15427]
23287         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23288         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23289         * math/libm-test.inc (lgamma_test_data): Add more tests.
23290         * sysdeps/i386/fpu/libm-test-ulps: Update.
23291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292
23293 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23294
23295         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23297         Add ifunc.
23298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23299         Add strcmp-sse2-unaligned
23300         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23301
23302 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23303
23304         * Versions.def (libc): Add GLIBC_2.19.
23305
23306 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23307
23308         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23309         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23310
23311 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23312
23313         [BZ #14155]
23314         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23315         intermediate calculations in recurrence.
23316         (__ieee754_ynf): Likewise.
23317         * math/libm-test.inc (jn_test_data): Do not allow spurious
23318         underflow exception.  Add more tests.
23319         (yn_test_data): Add more tests.
23320         * sysdeps/i386/fpu/libm-test-ulps: Update.
23321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23322
23323 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23324
23325         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23326
23327 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23328
23329         * csu/init-first.c: Fix then/than typos.
23330         * locale/programs/ld-collate.c: Likewise.
23331         * locale/programs/linereader.h: Likewise.
23332         * manual/charset.texi: Likewise.
23333         * manual/filesys.texi: Likewise.
23334         * manual/stdio.texi: Likewise.
23335         * manual/string.texi: Likewise.
23336         * stdlib/fmtmsg.c: Likewise.
23337         * sysdeps/i386/stpncpy.S: Likewise.
23338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23339         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23340         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23341         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23342
23343 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23344
23345         * elf/dl-open.c: Fix typos.
23346         * iconvdata/gbbig5.c: Likewise.
23347         * iconvdata/iso-2022-jp.c: Likewise.
23348         * iconv/gconv_int.h: Likewise.
23349         * iconv/loop.c: Likewise.
23350         * nis/rpcsvc/nis.h: Likewise.
23351         * resolv/ns_name.c: Likewise.
23352         * stdio-common/vfscanf.c: Likewise.
23353         * streams/stropts.h: Likewise.
23354         * sunrpc/rpc_thread.c: Likewise.
23355         * sysdeps/i386/strpbrk.S: Likewise.
23356         * sysdeps/ieee754/k_standard.c: Likewise.
23357         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23359         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23360         * sysdeps/mach/hurd/profil.c: Likewise.
23361         * sysdeps/s390/dl-procinfo.h: Likewise.
23362         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23363         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23364         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23365         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23366         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23367
23368 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23369
23370         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23372
23373 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23374
23375         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23376         aix specific files.
23377         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23378         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23379         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23380         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23381         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23382         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23383         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23384         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23385
23386 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23387             Roland McGrath  <roland@hack.frob.com>
23388
23389         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23390         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23391
23392 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23393
23394         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23395         __executable_start symbol instead of _start.
23396
23397 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23398
23399         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23400         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23401         Move macros to...
23402         * sysdeps/gnu/ldsodefs.h: ... this new file.
23403
23404         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23405         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23406         instead of ELFOSABI_LINUX.
23407
23408         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23409         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23410         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23411         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23412         Likewise.
23413         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23414         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23415         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23416         Likewise.
23417         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23418         (ibm_extended_long_double): Add ieee_nan member.
23419         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23420         (do_test): New function.
23421
23422         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23423         TEST_TRUNC.
23424         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23425         functions, renamed from truncdfsf_test, trunctfsf_test,
23426         trunctfdf_test.
23427         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23428         functions.
23429         (do_test): Run all these.
23430
23431 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23432
23433         * argp/argp-help.c: Fix typos.
23434         * argp/argp-parse.c: Likewise.
23435         * debug/backtracesyms.c: Likewise.
23436         * elf/elf.h: Likewise.
23437         * malloc/malloc.c: Likewise.
23438         * nis/nis_print.c: Likewise.
23439         * resolv/res_comp.c: Likewise.
23440         * stdlib/stdlib.h: Likewise.
23441         * sunrpc/clnt_tcp.c: Likewise.
23442         * sunrpc/clnt_udp.c: Likewise.
23443         * sunrpc/clnt_unix.c: Likewise.
23444         * sysdeps/unix/bsd/ptsname.c: Likewise.
23445         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23446         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23448         Likewise.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23450         Likewise.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23452         Likewise.
23453         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23454
23455 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23456
23457         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23459
23460 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23461
23462         [BZ #15897]
23463         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23464         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23465         ($(objpfx)bug-dl-leaf): New rule.
23466         ($(objpfx)bug-dl-leaf.so): Likewise.
23467         ($(objpfx)bug-dl-leaf.out): Likewise.
23468         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23469         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23470         * dlfcn/bug-dl-leaf.c: New test.
23471         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23472         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23473         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23474         (dlclose): Likewise.
23475         (dlmopen): Likewise.
23476
23477 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23478
23479         * include/netdb.h [!_ISOMAC]:
23480         Don't include <tls.h>.
23481         (h_errno, __libc_h_errno): Move declaration and macros out of
23482         [_LIBC_REENTRANT].
23483
23484         * include/resolv.h [_RESOLV_H_]:
23485         Don't include <tls.h>.
23486         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23487         * resolv/res_libc.c: Don't include <tls.h>.
23488         (_res): Use __attribute__ ((nocommon)) in place of
23489         __attribute__ ((section (".bss"))).
23490
23491         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23492         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23493
23494         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23495
23496         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23497         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23498
23499         * resolv/res_mkquery.c: Include <sys/time.h>.
23500
23501         * inet/ifreq.c: Moved to ...
23502         * sysdeps/unix/ifreq.c: ... here.
23503         * inet/ifreq.c: New file, true stub version.
23504
23505         * socket/sa_len.c: New file.
23506         * socket/Makefile (aux): Add it.
23507         * sysdeps/unix/sysv/linux/Makefile
23508         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23509         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23510         and #include <socket/sa_len.c>.
23511         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23512         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23513
23514         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23515         * bits/socket.h: ... here.
23516
23517         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23518         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23519         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23520
23521 2013-08-27  Andreas Schwab  <schwab@suse.de>
23522
23523         [BZ #15736]
23524         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23525         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23526         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23527         * string/test-strcasecmp.c (test_main): Run tests in several
23528         locales.
23529         * string/test-strncasecmp.c (test_main): Likewise.
23530
23531         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23532         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23533         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23534         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23535         (__strncasecmp_ssse3) [PIC]: Likewise.
23536
23537 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23538
23539         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23540
23541         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23542         instead of explicitly declaring xdecrypt.
23543         * nis/nss_nis/nis-publickey.c: Likewise.
23544
23545 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546
23547         [BZ #15890]
23548         * nscd/aicache.c: Include res_hconf.h.
23549         (addhstaiX): Initialize res_hconf.
23550
23551 2013-08-26  Andreas Schwab  <schwab@suse.de>
23552
23553         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23554         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23555
23556 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23557
23558         * nscd/aicache.c (addhstaiX): Fix indentation.
23559
23560 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23561
23562         * configure.ac: Quote $build_pt_chown test.
23563         * configure: Regenerated.
23564
23565 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23566
23567         [BZ #15532]
23568         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23569         * math/s_cexpf.c (__cexpf): Likewise.
23570         * math/s_cexpl.c (__cexpl): Likewise.
23571         * math/libm-test.inc (cexp_test_data): Correct expected return
23572         value for NaN + i0.  Add another test.
23573
23574 2013-08-22  David S. Miller  <davem@davemloft.net>
23575
23576         * po/ca.po: Update Catalan translation from translation project.
23577         * po/uk.po: Add Ukrainian translations from translation project.
23578
23579 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23580
23581         [BZ #15797]
23582         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23583         is infinite, not alongside NaN test.
23584         * math/s_fdimf.c (__fdimf): Likewise.
23585         * math/s_fdiml.c (__fdiml): Likewise.
23586         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23587         errno is unchanged.
23588
23589 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23590
23591         * argp/argp-help.c: Fix typos.
23592         * crypt/speeds.c: Likewise.
23593         * csu/check_fds.c: Likewise.
23594         * elf/dl-load.c: Likewise.
23595         * elf/dl-open.c: Likewise.
23596         * elf/reldep3.c: Likewise.
23597         * elf/reldep.c: Likewise.
23598         * elf/sprof.c: Likewise.
23599         * iconv/iconv_charmap.c: Likewise.
23600         * iconv/skeleton.c: Likewise.
23601         * iconv/strtab.c: Likewise.
23602         * io/lockf64.c: Likewise.
23603         * libio/libioP.h: Likewise.
23604         * resolv/gai_notify.c: Likewise.
23605         * resolv/ns_name.c: Likewise.
23606         * resolv/ns_samedomain.c: Likewise.
23607         * resolv/res_send.c: Likewise.
23608         * stdlib/random.c: Likewise.
23609         * sunrpc/rpc/xdr.h: Likewise.
23610         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23611         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23612         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23613         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23614         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23617         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23618         * sysdeps/mach/hurd/check_fds.c: Likewise.
23619         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23620         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23621         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23622         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23623         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23624         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23625         * sysdeps/pthread/aio_notify.c: Likewise.
23626         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23627         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23628         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23630         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23631
23632 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23633
23634         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23635         version if bit_Slow_SSE4_2 is set.
23636         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23637         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23638
23639 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23640
23641         [BZ #15867]
23642         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23643         trampoline stack frame information.
23644         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23646         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23647         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23648         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23649         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23650         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23651         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23652         sa_flags value.
23653         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23654         interrupting a syscall and set with option SA_SIGINFO.
23655
23656 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23657
23658         [BZ #15531]
23659         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23660         argument is infinite.
23661         * math/s_cprojf.c (__cprojf): Likewise.
23662         * math/s_cprojl.c (__cprojl): Likewise.
23663         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23664         * math/libm-test.inc (cproj_test_data): Add more tests.
23665
23666         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23667
23668         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23669         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23670         size.  Use __ffs to determine corresponding shift.
23671
23672 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23673             Roland McGrath  <roland@hack.frob.com>
23674
23675         * Makefile (INSTALL): Remove trailing blank lines from output of
23676         makeinfo.
23677
23678 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23679
23680         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23681         Align 32 bit compat elf_greg to 8 bytes.
23682
23683 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23684
23685         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23686
23687 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23688
23689         * string/strcoll_l.c (coll_seq): New structure.
23690         (get_next_seq_cached): New function.
23691         (get_next_seq): New function.
23692         (do_compare): New function.
23693         (STRCOLL): Use GNU style definition.  Simplify implementation
23694         by using get_next_seq, get_next_seq_cached and do_compare.
23695
23696 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23697
23698         [BZ #14699]
23699         CVE-2013-4237
23700         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23701         member.
23702         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23703         member.
23704         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23705         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23706         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23707         conditional.
23708         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23709         GETDENTS_64BIT_ALIGNED.
23710         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23711         * manual/filesys.texi (Reading/Closing Directory): Document
23712         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23713         strongly.
23714         * manual/conf.texi (Limits for Files): Add portability note to
23715         NAME_MAX, PATH_MAX.
23716         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23717
23718 2013-08-13  Andreas Schwab  <schwab@suse.de>
23719
23720         [BZ #15749]
23721         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23722         of fabs.
23723         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23724         LDBL_MAX_EXP >= 16384]: Add tests for it.
23725
23726 2013-08-12  David S. Miller  <davem@davemloft.net>
23727
23728         * version.h (RELEASE): Set to "development".
23729         (VERSION): Set to "2.18.90".
23730         * NEWS: Add 2.19 section.
23731
23732 2013-08-03  David S. Miller  <davem@davemloft.net>
23733
23734         * po/ko.po: Update Korean translation from translation project.
23735
23736 2013-08-01  David S. Miller  <davem@davemloft.net>
23737
23738         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23739         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23740         Bilka.
23741
23742 2013-07-30  David S. Miller  <davem@davemloft.net>
23743
23744         * po/fr.po: Update French translation from translation project.
23745
23746 2013-07-28  David S. Miller  <davem@davemloft.net>
23747
23748         * po/cs.po: Update Czech translation from translation project.
23749
23750         * po/sv.po: Update Swedish translation from translation project.
23751
23752 2013-07-27  David S. Miller  <davem@davemloft.net>
23753
23754         * po/eo.po: Update Esperanto translation from translation project.
23755
23756         * po/vi.po: Update Vietnamese translation from translation project.
23757
23758         * po/de.po: Update German translation from translation project.
23759
23760 2013-07-26  David S. Miller  <davem@davemloft.net>
23761
23762         * po/bg.po: Update Bulgarian translation from translation project.
23763
23764         * po/nl.po: Update Dutch translation from translation project.
23765         * po/pl.po: Update Polish translation from translation project.
23766         * po/ru.po: Update Russian translation from translation project.
23767
23768 2013-07-24  David S. Miller  <davem@davemloft.net>
23769
23770         * po/libc.pot: Update.
23771
23772 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773
23774         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23775         variable page size.
23776         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23777         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23778         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23779
23780 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23781
23782         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23783
23784 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23785             Andreas Schwab  <schwab@suse.de>
23786             Roland McGrath  <roland@hack.frob.com>
23787             Joseph Myers  <joseph@codesourcery.com>
23788             Carlos O'Donell  <carlos@redhat.com>
23789
23790         [BZ #15755]
23791         * config.h.in: Define HAVE_PT_CHOWN.
23792         * config.make.in (build-pt-chown): New variable.
23793         * configure.in (--enable-pt_chown): New configure option.
23794         * configure: Regenerate.
23795         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23796         build-pt-chown is enabled.
23797         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23798         pt_chown to fix pty ownership.
23799         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23800         CLOSE_ALL_FDS.
23801         * manual/install.texi (Configuring and compiling): Mention
23802         --enable-pt_chown. Add @findex for grantpt.
23803         * INSTALL: Regenerate.
23804
23805 2013-07-20  David S. Miller  <davem@davemloft.net>
23806
23807         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23808         difference between 32-bit and 64-bit.
23809
23810 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23811
23812         [BZ #15711]
23813         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23814         Avoid system header dependency with -ffreestanding.
23815         ($(objpfx)bits/syscall%d): Likewise.
23816
23817 2013-07-13  David S. Miller  <davem@davemloft.net>
23818
23819         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23820         underflows from atanl/atan2l due to bug 15319.
23821         (casinh_test_data): Likewise.
23822
23823 2013-07-07  David S. Miller  <davem@davemloft.net>
23824
23825         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23826
23827 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23828
23829         * sysdeps/i386/fpu/libm-test-ulps: Update.
23830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23831
23832 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23833
23834         * configure.in (--enable-lock-elision): Fix message text.
23835         * INSTALL: Regenerate.
23836         * configure: Regenerate.
23837
23838 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23839
23840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23841
23842 2013-07-03  Andreas Jaeger  <aj@suse.de>
23843
23844         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23845         define.
23846         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23847         (ptrace_peeksiginfo_args): Add.
23848         (__ptrace_peeksiginfo_flags): Add.
23849         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23850         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23851         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23852
23853 2013-07-03  Allan McRae  <allan@archlinux.org>
23854
23855         * sysdeps/i386/fpu/libm-test-ulps: Update.
23856
23857 2013-07-02  David S. Miller  <davem@davemloft.net>
23858
23859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23860
23861 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23862
23863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23864
23865 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23866
23867         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869
23870 2013-07-02  Andi Kleen <ak@linux.intel.com>
23871
23872         * config.h.in (ENABLE_LOCK_ELISION): Add.
23873         * configure.in (--enable-lock-elision): Add option.
23874         * manual/install.texi: Document --enable lock elision.
23875         * configure: Regenerate
23876         * INSTALL: Regenerate.
23877
23878 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23879
23880         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23881         SSE4.2 strcasecmp for libc.a.
23882         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23883
23884 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23885
23886         [BZ #13304]
23887         * soft-fp/op-common.h (_FP_FMA): New macro.
23888         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23889         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23890         (_FP_MUL_MEAT_1_imm): ... here.
23891         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23892         (_FP_MUL_MEAT_1_wide): ... here.
23893         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23894         (_FP_MUL_MEAT_1_hard): ... here.
23895         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23896         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23897         (_FP_MUL_MEAT_2_wide): ... here.
23898         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23899         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23900         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23901         (_FP_MUL_MEAT_2_gmp): ... here.
23902         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23903         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23904         (_FP_MUL_MEAT_4_wide): ... here.
23905         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23906         (_FP_MUL_MEAT_4_gmp): ... here.
23907         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23908         (_FP_WFRACBITS_DW_S): Likewise.
23909         (_FP_WFRACXBITS_DW_S): Likewise.
23910         (_FP_HIGHBIT_DW_S): Likewise.
23911         (FP_FMA_S): Likewise.
23912         (_FP_FRAC_HIGH_DW_S): Likewise.
23913         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23914         (_FP_WFRACBITS_DW_D): Likewise.
23915         (_FP_WFRACXBITS_DW_D): Likewise.
23916         (_FP_HIGHBIT_DW_D): Likewise.
23917         (FP_FMA_D): Likewise.
23918         (_FP_FRAC_HIGH_DW_D): Likewise.
23919         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23920         (_FP_WFRACBITS_DW_E): Likewise.
23921         (_FP_WFRACXBITS_DW_E): Likewise.
23922         (_FP_HIGHBIT_DW_E): Likewise.
23923         (FP_FMA_E): Likewise.
23924         (_FP_FRAC_HIGH_DW_E): Likewise.
23925         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23926         (_FP_WFRACBITS_DW_Q): Likewise.
23927         (_FP_WFRACXBITS_DW_Q): Likewise.
23928         (_FP_HIGHBIT_DW_Q): Likewise.
23929         (FP_FMA_Q): Likewise.
23930         (_FP_FRAC_HIGH_DW_Q): Likewise.
23931         * soft-fp/fmasf4.c: New file.
23932         * soft-fp/fmadf4.c: Likewise.
23933         * soft-fp/fmatf4.c: Likewise.
23934
23935 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23936
23937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23938         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23939         Silvermont.
23940         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23941         macro.
23942         (index_Slow_SSE4_2): Likewise.
23943         (index_Prefer_PMINUB_for_stringop): Likewise.
23944         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23945         bit_Slow_SSE4_2 is set.
23946         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23947         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23948
23949 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23950
23951         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23952         rtld_global._dl_hwcap2.
23953         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23954         POWER8.
23955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23956         POWER8 feature descriptions defined in _dl_hwcap2.
23957         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23958         string handling for POWER8 feature bits.
23959         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23960         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23961         _dl_powerpc_cap_flags.
23962         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23963         * sysdeps/powerpc/rtld-global-offsets.sym
23964         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23965         _dl_hwcap2 in the rtld_global_ro structure.
23966
23967 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23968
23969         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23970         hardware capabilities in support of AT_HWCAP2.
23971         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23972         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23973         GLRO(dl_hwcap2).
23974         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23975         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23976         explicitly the unknown a_type display mechanism is used.
23977         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23978         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23979         struct member.
23980         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23981         to macro prototype for AT_HWCAP2 support.
23982         * sysdeps/i386/dl-procinfo.h: Likewise.
23983         * sysdeps/s390/dl-procinfo.h: Likewise.
23984         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23985         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23986         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23987         return -1 for unknown a_type display fallback.
23988         * sysdeps/sparc/dl-procinfo.h: Likewise.
23989         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23990         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23991
23992 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23993
23994         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23995         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23996
23997 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23998
23999         [BZ #12492]
24000         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24001         mprotect making __stack_prot writable.
24002
24003 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24004             Joseph Myers  <joseph@codesourcery.com>
24005
24006         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24007         as being properly aligned.
24008
24009 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24010
24011         * dlfcn/modstatic5.c: New file.
24012         * dlfcn/tststatic5.c: New file.
24013         * dlfcn/Makefile (tests): Add tststatic5.
24014         (tests-static): Likewise.
24015         (modules-names): Add modstatic5.
24016         (tststatic5-ENV): New variable.
24017         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24018
24019         [BZ #15022]
24020         * elf/dl-support.c (_dl_main_map): New variable.
24021         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24022         (_dl_nns, _dl_load_adds): Set to 1.
24023         (_dl_initial_searchlist): Refer to _dl_main_map.
24024         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24025         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24026         call to _dl_get_origin.
24027         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24028         around call_map.
24029         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24030         * dlfcn/modstatic3.c: New file.
24031         * dlfcn/tststatic3.c: New file.
24032         * dlfcn/tststatic4.c: New file.
24033         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24034         (tests-static): Likewise.
24035         (modules-names): Add modstatic3.
24036         (tststatic3-ENV, tststatic4-ENV): New variables.
24037         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24038         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24039
24040 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24041
24042         * configure.in (CC): Require GCC version 4.4 or later.
24043         * configure: Regenerated.
24044         * manual/install.texi (Tools for Compilation): Update GCC version
24045         requirement.
24046         * INSTALL: Regenerated.
24047
24048 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24049
24050         [BZ #15674]
24051         * string/test-memcmp.c (check2): New.
24052         (main): Call check2.
24053
24054         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24055
24056 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24057
24058         [BZ #15022]
24059         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24060         over to...
24061         (dl_open_worker) [!SHARED]: ... here.
24062
24063 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24064
24065         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24066
24067 2013-06-25  Richard Henderson  <rth@redhat.com>
24068
24069         * locale/programs/locarchive.c: Include <libc-internal.h>
24070
24071 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24072
24073         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24074         trailing whitespace removed.
24075
24076 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24077
24078         [BZ #10283]
24079         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24080         * locale/programs/locarchive.c: Include libc-mmap.h.
24081         (prepare_address_space): Take two new outputs (the mmap base and len).
24082         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24083         values.
24084         (create_archive): Declare new mmap base and len values for
24085         prepare_address_space, and store the result in ah.
24086         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24087         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24088         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24089         Declare new mmap base and len values for
24090         prepare_address_space, and store the result in new_ah.
24091         (open_archive): Declare new mmap base and len values for
24092         prepare_address_space, and store the result in ah.
24093         (close_archive): If ah->mmap_base is not NULL, use that and
24094         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24095         * sysdeps/generic/libc-mmap.h: New file.
24096
24097 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24098
24099         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24100         (ALIGN_UP): Likewise.
24101         (PTR_ALIGN_DOWN): Likewise.
24102         (PTR_ALIGN_UP): Likewise.
24103
24104 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24105
24106         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24107         entry mapped to PPC_PLATFORM_POWER8.
24108         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24109         POWER8.
24110         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24111         (_dl_string_platform): Add case for exporting platform position for
24112         POWER8.
24113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24114         search path to sysdeps/powerpc/powerpc32/power8 directory.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24116         search path to sysdeps/powerpc/powerpc64/power8 directory.
24117         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24118         power7 directories.
24119         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24120         power7 directories.
24121
24122 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24123
24124         * INSTALL: Regenerate.
24125
24126         * nscd/connections.c (nscd_init): Fix comment.
24127
24128 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24129
24130         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24131
24132         [BZ #15667]
24133         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24134         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24135
24136 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24137
24138         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24139         DL_DST_REQ_STATIC.
24140         (DL_DST_REQ_STATIC): Remove macro.
24141
24142 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24143
24144         [BZ #7006]
24145         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24146         with a shift of 0 bits.
24147
24148 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24149
24150         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24151         $(tststatic-ENV).
24152
24153 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24154
24155         [BZ #15655]
24156         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24157
24158 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24159
24160         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24161         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24162         accepts -fno-tree-loop-distribute-patterns.
24163         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24164         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24165         recursive call.
24166         * string/memset.c (memset): Likewise.
24167         * string/test-memmove.c (simple_memmove): Disable loop transformation
24168         to library calls.
24169         * string/test-memset.c (simple_memset): Likewise.
24170         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24171         * benchtests/bench-memset.c (simple_memset): Likewise.
24172         * configure: Regenerated.
24173
24174 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24175
24176         * math/test-misc.c (main): Ignore fesetround failure when failures
24177         of subsequent rounding tests would be ignored.
24178
24179         [BZ #15654]
24180         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24181         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24182         * math/fegetenv.c (__fegetenv): Return 0.
24183         * math/fegetexcept.c (fegetexcept): Return 0.
24184         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24185         FE_TONEAREST.
24186         * math/feholdexcpt.c (feholdexcept): Return 0.
24187         * math/fesetenv.c (__fesetenv): Return 0.
24188         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24189         argument FE_TONEAREST.
24190         * math/feupdateenv.c (__feupdateenv): Return 0.
24191         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24192
24193 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24194
24195         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24196         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24197         ($(objpfx)rtld-%.os rules): Use them.
24198
24199 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200
24201         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24202         fields.
24203
24204 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24205
24206         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24207         length of target pattern, then descending length of dependency pattern.
24208         * configure.in (AWK): Require gawk 3.1.2 or newer.
24209         * manual/install.texi (Tools for Compilation): Say that we do.
24210         * configure: Regenerated.
24211
24212         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24213         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24214         * scripts/sysd-rules.awk: ... this new script.
24215         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24216         than a glob-style pattern.
24217
24218 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24219
24220         * math/test-misc.c (main): Do not treat incorrectly rounded
24221         conversions as failure unless ROUNDING_TESTS passes.
24222
24223 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24224
24225         [BZ #15631]
24226         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24227         restore exception state around main square root computation, then
24228         check for inexactness explicitly.
24229
24230         * math/libm-test.inc (fma_test_data): Add another test.
24231
24232 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24233
24234         * manual/threads.texi (Non-POSIX Extensions): New document
24235         node.  Document pthread_getattr_default_np and
24236         pthread_setattr_default_np.
24237
24238         * Versions.def (libpthread): Add GLIBC_2.18.
24239         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24241         Likewise.
24242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24243         Likewise.
24244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24245         Likewise.
24246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24247         Likewise.
24248         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24249         Likewise.
24250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24251         Likewise.
24252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24253         Likewise.
24254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24255         Likewise.
24256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24257         Likewise.
24258
24259 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24260
24261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24262         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24263
24264 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24265             H.J. Lu  <hjl.tools@gmail.com>
24266
24267         [BZ #15627]
24268         * sysdeps/x86_64/rtld-memset.c: Remove file.
24269         * sysdeps/x86_64/rtld-memset.S: New file.
24270
24271 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24272
24273         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24274         (test_in_one_mode): Take arguments for whether the rounding mode
24275         is supported for each floating-point type.
24276         (do_test): Pass new arguments to test_in_one_mode using
24277         ROUNDING_TESTS.
24278
24279 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24280
24281         * posix/tst-waitid.c (do_test): Distinguish different instances of
24282         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24283         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24284         before entering the kernel for waitpid.
24285
24286 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24287
24288         * NEWS: Fix note on clock function precision.  Text by Roland
24289         McGrath.
24290
24291 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24292
24293         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24294         it into place only when and if the sanity check passes.
24295
24296 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24297
24298         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24299         output for whether conversion result is exact.  Take argument
24300         indicating whether type is IBM long double.
24301         (round_for_all): Change need_exact field to ibm_ld.
24302         * stdlib/tst-strtod-round.c (struct exactness): New type.
24303         (struct test): Change bool ld_ok field to struct exactness exact.
24304         (TEST): Update all definitions for change to field.
24305         (tests): Regenerate array contents.
24306         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24307         field value.  Check for IBM long double here.
24308         (do_test): Update calls to test_in_one_mode.
24309
24310 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24311
24312         [BZ #12515]
24313         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24314         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24315
24316 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24317
24318         [BZ #15605]
24319         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24320         generated by the compiler on loop optimizations.
24321         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24322         general definitions.
24323
24324 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24325
24326         * math/bug-nextafter.c: Include <math-tests.h>.
24327         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24328         the relevant type.
24329         * math/bug-nexttoward.c: Include <math-tests.h>.
24330         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24331         the relevant type.
24332         * math/test-misc.c: Include <math-tests.h>.
24333         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24334         the relevant type.
24335
24336 2013-06-12  Andreas Jaeger  <aj@suse.de>
24337
24338         * po/ia.po: Update Interlingua translation from translation
24339         project.
24340
24341 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24342
24343         * include/fenv.h: Include stdbool.h.
24344         (struct rm_ctx): New structure.
24345         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24346         Define macro.
24347         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24348         (SET_RESTORE_ROUNDF): Likewise.
24349         (SET_RESTORE_ROUNDL): Likewise.
24350         (SET_RESTORE_ROUND_NOEX): Likewise.
24351         (SET_RESTORE_ROUND_NOEXF): Likewise.
24352         (SET_RESTORE_ROUND_NOEXL): Likewise.
24353         (SET_RESTORE_ROUND_53BIT): Likewise.
24354         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24355         (libc_feresetround_noexf_ctx): Likewise.
24356         (libc_feresetround_noexl_ctx): Likewise.
24357         (libc_feholdsetround_53bit_ctx): Likewise.
24358         (libc_feresetround_53bit_ctx): Likewise.
24359         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24360         (libc_feholdexcept_setround_sse_ctx): New function.
24361         (libc_fesetenv_sse_ctx): Likewise.
24362         (libc_feupdateenv_sse_ctx): Likewise.
24363         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24364         (libc_feholdexcept_setround_387_ctx): Likewise.
24365         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24366         (libc_feholdsetround_387_prec_ctx): Likewise.
24367         (libc_feholdsetround_387_ctx): Likewise.
24368         (libc_feholdsetround_387_53bit_ctx): Likewise.
24369         (libc_feholdsetround_sse_ctx): Likewise.
24370         (libc_feresetround_sse_ctx): Likewise.
24371         (libc_feresetround_387_ctx): Likewise.
24372         (libc_feupdateenv_387_ctx): Likewise.
24373         (libc_feholdexcept_setroundf_ctx): Define macro.
24374         (libc_fesetenvf_ctx): Likewise.
24375         (libc_feupdateenvf_ctx): Likewise.
24376         (libc_feholdsetroundf_ctx): Likewise.
24377         (libc_feresetroundf_ctx): Likewise.
24378         (libc_feholdexcept_setround_ctx): Likewise.
24379         (libc_fesetenv_ctx): Likewise.
24380         (libc_feupdateenv_ctx): Likewise.
24381         (libc_feholdsetround_ctx): Likewise.
24382         (libc_feresetround_ctx): Likewise.
24383         (libc_feholdexcept_setroundl_ctx): Likewise.
24384         (libc_feupdateenvl_ctx): Likewise.
24385         (libc_feholdsetroundl_ctx): Likewise.
24386         (libc_feresetroundl_ctx): Likewise.
24387         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24388         (libc_feresetround_53bit_ctx): Likewise.
24389
24390 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24391
24392         * locale/iso-639.def: Convert to UTF-8.
24393
24394 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24395
24396         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24397         (EXCEPTION_TESTS_double): Likewise.
24398         (EXCEPTION_TESTS_long_double): Likewise.
24399         (EXCEPTION_TESTS): Likewise.
24400         * math/libm-test.inc (test_exceptions): Only test exceptions if
24401         EXCEPTION_TESTS (FLOAT).
24402
24403 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24404
24405         * benchtests/Makefile (string-bench): Add strcpy_chk and
24406         stpcpy_chk.
24407         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24408         * benchtests/bench-stpcpy_chk.c: New file.
24409         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24410         * benchtests/bench-strcpy_chk.c: New file.
24411         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24412         code.
24413         (do_test): Likewise.
24414
24415 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24416
24417         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24418         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24419         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24420         with tabs where appropriate.
24421         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24422         dl-procinfo.h.
24423         [PPC_PLATFORM_PPC440]: Likewise.
24424         [PPC_PLATFORM_PPC464]: Likewise.
24425         [PPC_PLATFORM_PPC476]: Likewise.
24426         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24427         ppc464, and ppc476 platform strings merging from ports/
24428         dl-procinfo.h.
24429
24430 2013-06-11  Andreas Schwab  <schwab@suse.de>
24431
24432         [BZ #14991]
24433         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24434         (from_ucs4_idx): Regenerate.
24435         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24436         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24437         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24438         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24439         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24440         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24441         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24442         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24443         from FROM_LOOP and TO_LOOP specific macros.
24444         (BODY): Handle combining characters.
24445         * iconvdata/BIG5HKSCS.irreversible: Update.
24446         * iconvdata/BIG5HKSCS.precomposed: New file.
24447         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24448         characters.
24449         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24450
24451 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24452
24453         * include/sys/time.h: Fix indentation and add copyright header.
24454
24455         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24456         (do_test): Likewise.
24457         * string/test-memchr.c (do_one_test): Likewise.
24458         (do_test): Likewise.
24459         * string/test-memcmp.c (do_one_test): Likewise.
24460         (do_test): Likewise.
24461         * string/test-memcpy.c (do_one_test): Likewise.
24462         (do_test): Likewise.
24463         * string/test-memmem.c (do_one_test): Likewise.
24464         (do_test): Likewise.
24465         (do_random_tests): Likewise.
24466         * string/test-memmove.c (do_one_test): Likewise.
24467         (do_test): Likewise.
24468         * string/test-memset.c (do_one_test): Likewise.
24469         (do_test): Likewise.
24470         * string/test-rawmemchr.c (do_one_test): Likewise.
24471         (do_test): Likewise.
24472         * string/test-strcasecmp.c (do_one_test): Likewise.
24473         (do_test): Likewise.
24474         * string/test-strcasestr.c (do_one_test): Likewise.
24475         (do_test): Likewise.
24476         * string/test-strcat.c (do_one_test): Likewise.
24477         (do_test): Likewise.
24478         * string/test-strchr.c (do_one_test): Likewise.
24479         (do_test): Likewise.
24480         * string/test-strcmp.c (do_one_test): Likewise.
24481         (do_test): Likewise.
24482         * string/test-strcpy.c (do_one_test): Likewise.
24483         (do_test): Likewise.
24484         * string/test-string.h: Likewise.
24485         (test_init): Likewise.
24486         * string/test-strlen.c (do_one_test): Likewise.
24487         (do_test): Likewise.
24488         * string/test-strncasecmp.c (do_one_test): Likewise.
24489         (do_test): Likewise.
24490         * string/test-strncat.c (do_one_test): Likewise.
24491         (do_test): Likewise.
24492         * string/test-strncmp.c (do_one_test): Likewise.
24493         (do_test_limit): Likewise.
24494         (do_test): Likewise.
24495         * string/test-strncpy.c (do_one_test): Likewise.
24496         (do_test): Likewise.
24497         * string/test-strnlen.c (do_one_test): Likewise.
24498         (do_test): Likewise.
24499         * string/test-strpbrk.c (do_one_test): Likewise.
24500         (do_test): Likewise.
24501         * string/test-strrchr.c (do_one_test): Likewise.
24502         (do_test): Likewise.
24503         * string/test-strspn.c (do_one_test): Likewise.
24504         (do_test): Likewise.
24505         * string/test-strstr.c (do_one_test): Likewise.
24506         (do_test): Likewise.
24507
24508         * benchtests/Makefile (string-bench): Add string benchmarks.
24509         * benchtests/bench-bcopy-ifunc.c: New file.
24510         * benchtests/bench-bcopy.c: New file.
24511         * benchtests/bench-bzero-ifunc.c: New file.
24512         * benchtests/bench-bzero.c: New file.
24513         * benchtests/bench-memccpy-ifunc.c: New file.
24514         * benchtests/bench-memccpy.c: New file.
24515         * benchtests/bench-memchr-ifunc.c: New file.
24516         * benchtests/bench-memchr.c: New file.
24517         * benchtests/bench-memcmp-ifunc.c: New file.
24518         * benchtests/bench-memcmp.c: New file.
24519         * benchtests/bench-memmem-ifunc.c: New file.
24520         * benchtests/bench-memmem.c: New file.
24521         * benchtests/bench-memmove-ifunc.c: New file.
24522         * benchtests/bench-memmove.c: New file.
24523         * benchtests/bench-mempcpy-ifunc.c: New file.
24524         * benchtests/bench-mempcpy.c: New file.
24525         * benchtests/bench-memset-ifunc.c: New file.
24526         * benchtests/bench-memset.c: New file.
24527         * benchtests/bench-rawmemchr-ifunc.c: New file.
24528         * benchtests/bench-rawmemchr.c: New file.
24529         * benchtests/bench-stpcpy-ifunc.c: New file.
24530         * benchtests/bench-stpcpy.c: New file.
24531         * benchtests/bench-stpncpy-ifunc.c: New file.
24532         * benchtests/bench-stpncpy.c: New file.
24533         * benchtests/bench-strcasecmp-ifunc.c: New file.
24534         * benchtests/bench-strcasecmp.c: New file.
24535         * benchtests/bench-strcasestr-ifunc.c: New file.
24536         * benchtests/bench-strcasestr.c: New file.
24537         * benchtests/bench-strcat-ifunc.c: New file.
24538         * benchtests/bench-strcat.c: New file.
24539         * benchtests/bench-strchr-ifunc.c: New file.
24540         * benchtests/bench-strchr.c: New file.
24541         * benchtests/bench-strchrnul-ifunc.c: New file.
24542         * benchtests/bench-strchrnul.c: New file.
24543         * benchtests/bench-strcmp-ifunc.c: New file.
24544         * benchtests/bench-strcmp.c: New file.
24545         * benchtests/bench-strcpy-ifunc.c: New file.
24546         * benchtests/bench-strcpy.c: New file.
24547         * benchtests/bench-strcspn-ifunc.c: New file.
24548         * benchtests/bench-strcspn.c: New file.
24549         * benchtests/bench-strlen-ifunc.c: New file.
24550         * benchtests/bench-strlen.c: New file.
24551         * benchtests/bench-strncasecmp-ifunc.c: New file.
24552         * benchtests/bench-strncasecmp.c: New file.
24553         * benchtests/bench-strncat-ifunc.c: New file.
24554         * benchtests/bench-strncat.c: New file.
24555         * benchtests/bench-strncmp-ifunc.c: New file.
24556         * benchtests/bench-strncmp.c: New file.
24557         * benchtests/bench-strncpy-ifunc.c: New file.
24558         * benchtests/bench-strncpy.c: New file.
24559         * benchtests/bench-strnlen-ifunc.c: New file.
24560         * benchtests/bench-strnlen.c: New file.
24561         * benchtests/bench-strpbrk-ifunc.c: New file.
24562         * benchtests/bench-strpbrk.c: New file.
24563         * benchtests/bench-strrchr-ifunc.c: New file.
24564         * benchtests/bench-strrchr.c: New file.
24565         * benchtests/bench-strspn-ifunc.c: New file.
24566         * benchtests/bench-strspn.c: New file.
24567         * benchtests/bench-strstr-ifunc.c: New file.
24568         * benchtests/bench-strstr.c: New file.
24569
24570         * benchtests/Makefile: Disable parallel execution of targets.
24571         (string-bench): Add memcpy.
24572         (benchset): New variable to store a list of benchmark sets.
24573         (bench-func): Renamed from bench.
24574         (bench-set): New target.
24575         (bench): Depend on bench-func and bench-set.
24576         * benchtests/README: Add section on benchmark sets.
24577         * benchtests/bench-memcpy-ifunc.c: New file.
24578         * benchtests/bench-memcpy.c: New file.
24579         * benchtests/bench-string.h: New file.
24580
24581 2013-06-11  Andreas Schwab  <schwab@suse.de>
24582
24583         [BZ #15577]
24584         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24585         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24586         values in the triple.
24587         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24588         terminator in the group key.
24589
24590 2013-06-11  Andreas Jaeger  <aj@suse.de>
24591
24592         * po/zh_TW.po: Update Chinese (traditional) translation from
24593         translation project.
24594
24595 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24596
24597         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24598         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24599         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24600         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24601         (clock_getcpuclockid): Likewise.
24602         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24603         Add weak_alias and libc_hidden_def.
24604         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24605         * rt/clock_gettime.c (clock_gettime): Rename to
24606         __clock_gettime.  Add weak_alias and libc_hidden_def.
24607         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24608         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24609         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24610         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24611         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24612         Likewise.
24613         * rt/clock_settime.c (clock_settime): Rename to
24614         __clock_settime.  Add weak_alias and libc_hidden_def.
24615         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24616
24617 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24618
24619         * mach/err_boot.sub: Remove trailing whitespace.
24620         * mach/err_ipc.sub: Likewise.
24621         * mach/err_mach.sub: Likewise.
24622
24623         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24624         (ROUNDING_TESTS_double): Likewise.
24625         (ROUNDING_TESTS_long_double): Likewise.
24626         (ROUNDING_TESTS): Likewise.
24627         * math/libm-test.inc: Include <math-tests.h>.
24628         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24629         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24630         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24631         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24632
24633 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24634
24635         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24636         of assigning.
24637
24638 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24639
24640         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24641         otherwise empty TRANS lines.
24642         * sysdeps/gnu/errlist.c: Regenerated.
24643
24644         * catgets/gencat.c (error_print): Use (void) in function
24645         definition.
24646         * crypt/crypt_util.c (__init_des): Likewise.
24647         * crypt/speeds.c (Stop): Likewise.
24648         (main): Likewise.
24649         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24650         * inet/ruserpass.c (token): Likewise.
24651         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24652         * intl/localealias.c (extend_alias_table): Likewise.
24653         * intl/plural-exp.c (init_germanic_plural): Likewise.
24654         * libio/fcloseall.c (__fcloseall): Likewise.
24655         * libio/genops.c (_IO_flush_all): Likewise.
24656         (_IO_flush_all_linebuffered): Likewise.
24657         (_IO_cleanup): Likewise.
24658         (_IO_iter_begin): Likewise.
24659         (_IO_iter_end): Likewise.
24660         (_IO_list_lock): Likewise.
24661         (_IO_list_unlock): Likewise.
24662         (_IO_list_resetlock): Likewise.
24663         * libio/getchar.c (getchar): Likewise.
24664         * libio/getchar_u.c (getchar_unlocked): Likewise.
24665         * libio/getwchar.c (getwchar): Likewise.
24666         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24667         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24668         * login/getpt.c (__getpt): Likewise.
24669         * login/tst-utmp.c (main): Likewise.
24670         * malloc/hooks.c (__malloc_check_init): Likewise.
24671         * malloc/malloc.c (__malloc_stats): Likewise.
24672         * malloc/mtrace.c (tr_break): Likewise.
24673         (mtrace): Likewise.
24674         (muntrace): Likewise.
24675         * misc/fstab.c (endfsent): Likewise.
24676         * misc/getclktck.c (__getclktck): Likewise.
24677         * misc/getdtsz.c (__getdtablesize): Likewise.
24678         * misc/gethostid.c (gethostid): Likewise.
24679         * misc/getpagesize.c (__getpagesize): Likewise.
24680         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24681         (__get_nprocs): Likewise.
24682         (__get_phys_pages): Likewise.
24683         (__get_avphys_pages): Likewise.
24684         * misc/getttyent.c (getttyent): Likewise.
24685         (setttyent): Likewise.
24686         (endttyent): Likewise.
24687         * misc/getusershell.c (getusershell): Likewise.
24688         (endusershell): Likewise.
24689         (setusershell): Likewise.
24690         (initshells): Likewise.
24691         * misc/hsearch.c (__hdestroy): Likewise.
24692         * misc/sync.c (sync): Likewise.
24693         * misc/syslog.c (closelog_internal): Likewise.
24694         (closelog): Likewise.
24695         * misc/ttyslot.c (ttyslot): Likewise.
24696         * misc/vhangup.c (vhangup): Likewise.
24697         * posix/fork.c (__fork): Likewise.
24698         * posix/getegid.c (__getegid): Likewise.
24699         * posix/geteuid.c (__geteuid): Likewise.
24700         * posix/getgid.c (__getgid): Likewise.
24701         * posix/getpid.c (__getpid): Likewise.
24702         * posix/getppid.c (__getppid): Likewise.
24703         * posix/getuid.c (__getuid): Likewise.
24704         * posix/pause.c (pause): Likewise.
24705         * posix/setpgrp.c (setpgrp): Likewise.
24706         * posix/setsid.c (__setsid): Likewise.
24707         * posix/test-vfork.c (noop): Likewise.
24708         * resolv/gethnamaddr.c (_endhtent): Likewise.
24709         (_gethtent): Likewise.
24710         (ht_endhostent): Likewise.
24711         (gethostent): Likewise.
24712         (dns_service): Likewise.
24713         * stdlib/drand48.c (drand48): Likewise.
24714         * stdlib/lrand48.c (lrand48): Likewise.
24715         * stdlib/mrand48.c (mrand48): Likewise.
24716         * stdlib/rand.c (rand): Likewise.
24717         * stdlib/random.c (__random): Likewise.
24718         * stdlib/setenv.c (clearenv): Likewise.
24719         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24720         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24721         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24722         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24723         (__get_nprocs): Likewise.
24724         (__get_phys_pages): Likewise.
24725         (__get_avphys_pages): Likewise.
24726         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24727         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24728         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24729         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24730         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24731         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24732         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24733         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24734         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24735         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24736         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24737         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24738         * sysdeps/posix/clock.c (clock): Likewise.
24739         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24740         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24741         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24742         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24743         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24745         (__get_nprocs_conf): Likewise.
24746         (__get_phys_pages): Likewise.
24747         (__get_avphys_pages): Likewise.
24748         * time/clock.c (clock): Likewise.
24749         * time/tzset.c (__tzname_max): Likewise.
24750
24751 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24752
24753         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24754         (__bswap_32): Do not use "register".
24755         * crypt/crypt.c (_ufc_doit_r): Likewise.
24756         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24757         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24758         * gmon/gmon.c (__monstartup): Likewise.
24759         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24760         * hurd/hurdmalloc.c (more_memory): Likewise.
24761         (malloc): Likewise.
24762         (free): Likewise.
24763         (realloc): Likewise.
24764         (malloc_fork_prepare): Likewise.
24765         (malloc_fork_parent): Likewise.
24766         (malloc_fork_child): Likewise.
24767         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24768         (_svcauth_des): Likewise.
24769         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24770         * inet/inet_net.c (inet_network): Likewise.
24771         * inet/inet_netof.c (inet_netof): Likewise.
24772         * inet/rcmd.c (__validuser2_sa): Likewise.
24773         * io/fts.c (fts_open): Likewise.
24774         (fts_load): Likewise.
24775         (fts_close): Likewise.
24776         (fts_read): Likewise.
24777         (fts_children): Likewise.
24778         (fts_build): Likewise.
24779         (fts_stat): Likewise.
24780         (fts_sort): Likewise.
24781         (fts_alloc): Likewise.
24782         (fts_lfree): Likewise.
24783         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24784         (_IO_file_xsgetn): Likewise.
24785         (_IO_file_xsgetn_mmap): Likewise.
24786         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24787         (_IO_cookie_write): Likewise.
24788         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24789         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24790         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24791         * malloc/obstack.c (_obstack_begin): Likewise.
24792         (_obstack_begin_1): Likewise.
24793         (_obstack_newchunk): Likewise.
24794         (_obstack_allocated_p): Likewise.
24795         (obstack_free): Likewise.
24796         (_obstack_memory_used): Likewise.
24797         * misc/getttyent.c (getttynam): Likewise.
24798         (getttyent): Likewise.
24799         (skip): Likewise.
24800         (value): Likewise.
24801         * misc/getusershell.c (initshells): Likewise.
24802         * misc/syslog.c (__vsyslog_chk): Likewise.
24803         * misc/ttyslot.c (ttyslot): Likewise.
24804         * nis/nis_hash.c (__nis_hash): Likewise.
24805         * posix/fnmatch_loop.c (FCT): Likewise.
24806         * posix/getconf.c (print_all): Likewise.
24807         (main): Likewise.
24808         * posix/getopt.c (exchange): Likewise.
24809         * posix/glob.c (globfree): Likewise.
24810         (prefix_array): Likewise.
24811         (__glob_pattern_type): Likewise.
24812         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24813         (NS_GET32): Likewise.
24814         (NS_PUT16): Likewise.
24815         (NS_PUT32): Likewise.
24816         * resolv/gethnamaddr.c (getanswer): Likewise.
24817         (gethostbyname2): Likewise.
24818         (gethostbyaddr): Likewise.
24819         (_gethtent): Likewise.
24820         (_gethtbyname2): Likewise.
24821         (_gethtbyaddr): Likewise.
24822         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24823         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24824         * resolv/res_init.c (__res_vinit): Likewise.
24825         (net_mask): Likewise.
24826         * resolv/res_mkquery.c (outchar): Likewise.
24827         (PRINT): Likewise.
24828         * stdio-common/printf_fp.c (outchar): Likewise.
24829         (PRINT): Likewise.
24830         * stdio-common/printf_fphex.c (outchar): Likewise.
24831         (PRINT): Likewise.
24832         * stdio-common/printf_size.c (outchar): Likewise.
24833         (PRINT): Likewise.
24834         * stdio-common/test_rdwr.c (main): Likewise.
24835         * stdio-common/tfformat.c (matches): Likewise.
24836         * stdio-common/vfprintf.c (outchar): Likewise.
24837         (printf_unknown): Likewise.
24838         (buffered_vfprintf): Likewise.
24839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24840         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24841         (ReadFile): Likewise.
24842         * stdlib/qsort.c (SWAP): Likewise.
24843         (_quicksort): Likewise.
24844         * stdlib/setenv.c (__add_to_environ): Likewise.
24845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24846         * stdlib/strtol_l.c (__strtol_l): Likewise.
24847         * stdlib/tst-strtod.c (main): Likewise.
24848         * stdlib/tst-strtol.c (main): Likewise.
24849         * stdlib/tst-strtoll.c (main): Likewise.
24850         * string/bits/string2.h (__strcmp_cc): Likewise.
24851         (__strcmp_cg): Likewise.
24852         (__strcspn_c1): Likewise.
24853         (__strcspn_c2): Likewise.
24854         (__strcspn_c3): Likewise.
24855         (__strspn_c1): Likewise.
24856         (__strspn_c2): Likewise.
24857         (__strspn_c3): Likewise.
24858         (__strsep_1c): Likewise.
24859         (__strsep_2c): Likewise.
24860         (__strsep_3c): Likewise.
24861         * string/memccpy.c (__memccpy): Likewise.
24862         * string/stpcpy.c (__stpcpy): Likewise.
24863         * string/strcmp.c (strcmp): Likewise.
24864         * string/strrchr.c (strrchr): Likewise.
24865         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24866         Likewise.
24867         * sysdeps/mach/hurd/getcwd.c
24868         (_hurd_canonicalize_directory_name_internal): Likewise.
24869         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24870         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24871         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24872         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24873         Likewise, in both definitions.
24874         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24875         definitions.
24876         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24877         64] (__bswap_64): Likewise.
24878         * time/test_time.c (main): Likewise.
24879         * time/tzfile.c (__tzfile_read): Likewise.
24880         (__tzfile_compute): Likewise.
24881         * time/tzset.c (__tzset_parse_tz): Likewise.
24882         (tzset_internal): Likewise.
24883         (compute_change): Likewise.
24884         * wcsmbs/wcscat.c (__wcscat): Likewise.
24885         * wcsmbs/wcschr.c (wcschr): Likewise.
24886         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24887         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24888         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24889         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24890         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24891         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24892         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24893         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24894         * wcsmbs/wmemset.c (wmemset): Likewise.
24895
24896 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24897
24898         * scripts/config.guess: Update to version 2013-05-16.
24899         * scripts/config.sub: Update to version 2013-04-24.
24900         * scripts/install-sh: Update to version 2011-11-20.07.
24901         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24902         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24903
24904 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24905
24906         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24907         * elf/sln.c: Likewise.
24908         * hurd/hurd/ioctl.h: Likewise.
24909         * hurd/hurdmalloc.c: Likewise.
24910         * hurd/xattr.c: Likewise.
24911         * include/shlib-compat.h: Likewise.
24912         * inet/ruserpass.c: Likewise.
24913         * libio/iofgets_u.c: Likewise.
24914         * libio/iofgetws_u.c: Likewise.
24915         * locale/programs/ld-identification.c: Likewise.
24916         * locale/programs/ld-time.c: Likewise.
24917         * mach/msg-destroy.c: Likewise.
24918         * nss/nss_files/files-netgrp.c: Likewise.
24919         * resolv/res_data.c: Likewise.
24920         * soft-fp/op-1.h: Likewise.
24921         * soft-fp/op-2.h: Likewise.
24922         * soft-fp/op-4.h: Likewise.
24923         * soft-fp/op-common.h: Likewise.
24924         * stdio-common/printf_fphex.c: Likewise.
24925         * stdlib/strtod_l.c: Likewise.
24926         * sunrpc/rpc/clnt.h: Likewise.
24927         * sysdeps/generic/framestate.c: Likewise.
24928         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24929         * sysdeps/i386/bsd-setjmp.S: Likewise.
24930         * sysdeps/i386/__longjmp.S: Likewise.
24931         * sysdeps/i386/setjmp.S: Likewise.
24932         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24933         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24935         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24937         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24938         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24939         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24940         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24941         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24942         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24943         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24944         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24945         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24946         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24947         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24948         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24949         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24950         * sysdeps/ieee754/support.c: Likewise.
24951         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24952         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24953         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24954         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24955         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24956         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24957         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24958         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24959         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24960         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24961         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24962         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24963         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24964         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24965         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24966         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24967         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24969
24970 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24971
24972         * posix/transbug.c: Remove executable mode.
24973
24974 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24975
24976         * crypt/speeds.c: Remove trailing whitespace.
24977         * dlfcn/default.c: Likewise.
24978         * elf/ifuncdep2.c: Likewise.
24979         * elf/ifuncmain1.c: Likewise.
24980         * elf/ifuncmain1vis.c: Likewise.
24981         * elf/testobj.h: Likewise.
24982         * elf/tst-stackguard1.c: Likewise.
24983         * gmon/sys/gmon.h: Likewise.
24984         * hurd/hurdmsg.c: Likewise.
24985         * hurd/new-fd.c: Likewise.
24986         * hurd/ports-get.c: Likewise.
24987         * iconvdata/ibm1008_420.c: Likewise.
24988         * inet/tst-getni1.c: Likewise.
24989         * inet/tst-getni2.c: Likewise.
24990         * libio/ioungetc.c: Likewise.
24991         * libio/wfiledoalloc.c: Likewise.
24992         * manual/libm-err-tab.pl: Likewise.
24993         * math/w_dremf.c: Likewise.
24994         * misc/ftruncate.c: Likewise.
24995         * posix/bug-glob2.c: Likewise.
24996         * posix/tst-pcre.c: Likewise.
24997         * posix/wait4.c: Likewise.
24998         * resolv/README: Likewise.
24999         * resolv/res_debug.h: Likewise.
25000         * resolv/tst-inet_ntop.c: Likewise.
25001         * setjmp/bug269-setjmp.c: Likewise.
25002         * soft-fp/extended.h: Likewise.
25003         * soft-fp/op-1.h: Likewise.
25004         * soft-fp/op-2.h: Likewise.
25005         * soft-fp/op-4.h: Likewise.
25006         * soft-fp/op-8.h: Likewise.
25007         * soft-fp/testit.c: Likewise.
25008         * stdio-common/bug16.c: Likewise.
25009         * stdlib/random.c: Likewise.
25010         * sunrpc/rpcsvc/rquota.x: Likewise.
25011         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25012         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25013         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25014         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25015         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25016         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25017         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25018         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25019         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25020         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25021         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25022         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25023         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25024         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25025         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25026         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25027         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25029         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25031         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25032         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25033         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25034         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25035         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25036         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25038         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25039         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25040         * sysdeps/ieee754/s_lib_version.c: Likewise.
25041         * sysdeps/mach/hurd/check_fds.c: Likewise.
25042         * sysdeps/mach/hurd/getsockname.c: Likewise.
25043         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25044         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25045         * sysdeps/powerpc/bits/link.h: Likewise.
25046         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25047         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25048         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25049         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25050         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25051         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25052         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25053         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25054         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25055         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25056         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25057         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25058         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25059         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25060         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25061         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25062         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25063         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25064         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25065         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25066         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25067         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25069         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25070         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25071         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25072         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25073         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25074         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25075         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25076         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25078         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25079         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25080         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25081         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25082         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25083         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25084         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25085         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25086         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25087         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25088         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25089         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25090         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25091         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25092         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25093         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25094         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25095         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25098         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25099         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25100         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25101         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25102         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25103         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25104         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25105         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25106         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25107         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25108         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25109         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25110         * sysdeps/powerpc/sysdep.h: Likewise.
25111         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25112         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25113         * sysdeps/sh/dl-trampoline.S: Likewise.
25114         * sysdeps/sh/memset.S: Likewise.
25115         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25116         * sysdeps/sh/strlen.S: Likewise.
25117         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25118         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25119         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25120         * sysdeps/sparc/sparc32/rem.S: Likewise.
25121         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25122         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25123         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25124         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25125         * sysdeps/sparc/sparc32/urem.S: Likewise.
25126         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25127         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25128         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25129         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25130         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25131         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25132         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25133         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25134         * sysdeps/unix/bsd/times.c: Likewise.
25135         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25136         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25140         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25141         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25142         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25143         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25144         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25145         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25146         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25147         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25148         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25149         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25150         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25151         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25152         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25153         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25154         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25155         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25156         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25157         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25158         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25159         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25160         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25161         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25162         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25163         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25164         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25165         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25166         * sysdeps/x86_64/strcspn.S: Likewise.
25167
25168 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25169
25170         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25171         generated file.  Regenerate properly from gen-translit.pl.
25172         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25173         locale/C-translit.h.
25174
25175 2013-06-05  Andreas Schwab  <schwab@suse.de>
25176
25177         [BZ #15100]
25178         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25179         week as 6 instead of -1.
25180         * time/tst-strptime.c (day_tests): Add test case.
25181
25182 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25183
25184         * sysdeps/generic/math_private.h
25185         (libc_feholdexcept_setround_53bit): Replace with
25186         libc_feholdsetround_53bit.
25187         (libc_feupdateenv_53bit): Replace with
25188         libc_feresetround_53bit.
25189         (SET_RESTORE_ROUND_53BIT): Adjust.
25190
25191 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25192
25193         * string/test-strchrnul.c: Add copyright header.
25194
25195         * posix/tst-getaddrinfo4.c: Increase test timeout.
25196
25197 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25198
25199         [BZ #15536]
25200         * math/libm-test.inc (MAX_EXP): Remove
25201         (MIN_EXP): Define.
25202         (ulp): Use MIN_EXP - MANT_DIG.
25203         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25204
25205 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25206
25207         * po/be.po: Revert last change.
25208         * po/zh_CN.po: Likewise.
25209         * po/header.pot: Likewise.
25210
25211 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25212
25213         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25214         link-libc-deps to empty as target-specific variable.
25215         * Makerules (link-libc-args): New variable.
25216         (libc-for-link): Likewise.
25217         (link-libc-deps): Likewise.
25218         (lib%.so): Depend on $(link-libc-deps).  Link with
25219         $(link-libc-args).
25220         (build-module): Link with $(link-libc-args).
25221         (build-module-asneeded): Likewise.
25222         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25223         list of objects.
25224         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25225         target-specific variable.
25226         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25227         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25228         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25229         libc.
25230         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25231         libc and ld.so.
25232         ($(objpfx)libpcprofile.so): Likewise.
25233         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25234         libc_nonshared.a.
25235         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25236         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25237         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25238         $(link-libc-deps).
25239         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25240         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25241         * login/Makefile ($(objpfx)libutil.so): Likewise.
25242         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25243         * math/Makefile ($(objpfx)libm.so): Likewise.
25244         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25245         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25246         variable instead of depending directly on libc.
25247         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25248         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25249         $(link-libc-deps).
25250         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25251         libc.
25252         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25253         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25254         ($(objpfx)libanl.so): Likewise.
25255         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25256         ld.so.
25257         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25258         $(link-libc-deps).
25259         * sysdeps/i386/fpu/Makefile: Remove file.
25260         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25261         ($(objpfx)libm.so): Remove dependency on ld.so.
25262
25263 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25264
25265         [BZ # 15553]
25266         * nis/yp_xdr.c (XDRMAXNAME): Define.
25267         (XDRMAXRECORD): Define.
25268         (xdr_domainname): Use XDRMAXNAME.
25269         (xdr_mapname): Likewise.
25270         (xdr_peername): Likewise.
25271         (xdr_keydat): Use XDRMAXRECORD.
25272         (xdr_valdat): Likewise.
25273
25274 2013-05-30  Jeff Law  <law@redhat.com>
25275
25276         [BZ #14256]
25277         * manual/errno.texi (ESTALE): Update to account for more than
25278         just NFS file systems.
25279         * sysdeps/gnu/errlist.c: Regenerated.
25280
25281 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25282
25283         [BZ #15465]
25284         * elf/Makefile (tests): Add tst-null-argv.
25285         (modules-names):  Add tst-null-argv-lib.
25286         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25287         (tst-null-argv-ENV): Set environment for tst-null-argv.
25288         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25289         (RTLD_PROGNAME): New macro.
25290         * elf/tst-null-argv.c: New test case.
25291         * elf/tst-null-argv-lib.c: Library for test case.
25292         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25293         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25294         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25295         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25296         * elf/dl-init.c (call_init): Likewise.
25297         (_dl_init): Likewise.
25298         * elf/dl-load.c (print_search_path): Likewise.
25299         (_dl_map_object): Likewise.
25300         * elf/dl-lookup.c (do_lookup_x): Likewise.
25301         (add_dependency): Likewise.
25302         (_dl_lookup_symbol_x): Likewise.
25303         (_dl_debug_bindings): Likewise.
25304         * elf/dl-open.c (_dl_show_scope): Likewise.
25305         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25306         * elf/dl-version.c (match_symbol): Likewise.
25307         (_dl_check_map_versions): Likewise.
25308         * elf/rtld.c (dl_main): Likewise.
25309         (print_unresolved): Use RTLD_PROGNAME.
25310         (print_missing_version): Likewise.
25311         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25312         (elf_machine_rela): Likewise.
25313         * sysdeps/powerpc/powerpc32/dl-machine.c
25314         (__process_machine_rela): Likewise.
25315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25316         Likewise.
25317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25318         Likewise.
25319         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25320         Likewise.
25321         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25323         Likewise.
25324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25325         Likewise.
25326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25327
25328 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25329
25330         * po/be.po: Add descriptive title.
25331         * po/zh_CN.po: Likewise.
25332         * po/header.pot: Likewise.
25333
25334 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25335
25336         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25337         error message.
25338         (enlarge_archive): Likewise.
25339
25340 2013-05-28  Ben North  <ben@redfrontdoor.org>
25341
25342         * manual/arith.texi (frexp): It is the magnitude of the return
25343         value which lies in [0.5, 1), not the return value itself.
25344
25345 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25346
25347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25348
25349 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25350
25351         * stdio-common/bug26.c (main): Correct fscanf template.
25352
25353         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25354         declare _dl_skip_args.
25355
25356         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25357         Don't declare.
25358
25359         * manual/platform.texi: Add missing @end deftypefun.
25360
25361 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25362
25363         [BZ #15529]
25364         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25365         bit of mantissa of 2^16382.
25366         * math/libm-test.inc (hypot_test_data): Add more tests.
25367
25368         * math/libm-test.inc: Add drem and pow10 to list of tested
25369         functions.
25370         (pow10_test): New function.
25371         (drem_test): Likewise.
25372         (drem_test_tonearest): Likewise.
25373         (drem_test_towardzero): Likewise.
25374         (drem_test_downward): Likewise.
25375         (drem_test_upward): Likewise.
25376         (main): Call the new functions.
25377
25378         * math/libm-test.inc (finite_test_data): Remove.
25379         (finite_test): Run tests from isfinite_test_data.
25380         (gamma_test_data): Remove.
25381         (gamma_test): Run tests from lgamma_test_data.
25382         * sysdeps/i386/fpu/libm-test-ulps: Update.
25383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25384
25385 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25386
25387         * manual/platform.texi: Add PowerPC PPR function set documentation.
25388         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25389         implementation.
25390
25391 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25392
25393         * math/libm-test.inc (MAX_EXP): Define.
25394         (ULPDIFF): Define.
25395         (ulp): New function.
25396         (check_float_internal): Use ULPDIFF.
25397         (cpow_test): Disable failing test.
25398         (check_ulp): Test ulp() implemetnation.
25399         (main): Call check_ulp before starting tests.
25400
25401 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25402
25403         * math/gen-libm-test.pl (generate_testfile): Do not handle
25404         START_DATA and END_DATA.
25405         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25406         END_DATA.
25407         (acos_tonearest_test_data): Likewise.
25408         (acos_towardzero_test_data): Likewise.
25409         (acos_downward_test_data): Likewise.
25410         (acos_upward_test_data): Likewise.
25411         (acosh_test_data): Likewise.
25412         (asin_test_data): Likewise.
25413         (asin_tonearest_test_data): Likewise.
25414         (asin_towardzero_test_data): Likewise.
25415         (asin_downward_test_data): Likewise.
25416         (asin_upward_test_data): Likewise.
25417         (asinh_test_data): Likewise.
25418         (atan_test_data): Likewise.
25419         (atanh_test_data): Likewise.
25420         (atan2_test_data): Likewise.
25421         (cabs_test_data): Likewise.
25422         (cacos_test_data): Likewise.
25423         (cacosh_test_data): Likewise.
25424         (carg_test_data): Likewise.
25425         (casin_test_data): Likewise.
25426         (casinh_test_data): Likewise.
25427         (catan_test_data): Likewise.
25428         (catanh_test_data): Likewise.
25429         (cbrt_test_data): Likewise.
25430         (ccos_test_data): Likewise.
25431         (ccosh_test_data): Likewise.
25432         (ceil_test_data): Likewise.
25433         (cexp_test_data): Likewise.
25434         (cimag_test_data): Likewise.
25435         (clog_test_data): Likewise.
25436         (clog10_test_data): Likewise.
25437         (conj_test_data): Likewise.
25438         (copysign_test_data): Likewise.
25439         (cos_test_data): Likewise.
25440         (cos_tonearest_test_data): Likewise.
25441         (cos_towardzero_test_data): Likewise.
25442         (cos_downward_test_data): Likewise.
25443         (cos_upward_test_data): Likewise.
25444         (cosh_test_data): Likewise.
25445         (cosh_tonearest_test_data): Likewise.
25446         (cosh_towardzero_test_data): Likewise.
25447         (cosh_downward_test_data): Likewise.
25448         (cosh_upward_test_data): Likewise.
25449         (cpow_test_data): Likewise.
25450         (cproj_test_data): Likewise.
25451         (creal_test_data): Likewise.
25452         (csin_test_data): Likewise.
25453         (csinh_test_data): Likewise.
25454         (csqrt_test_data): Likewise.
25455         (ctan_test_data): Likewise.
25456         (ctan_tonearest_test_data): Likewise.
25457         (ctan_towardzero_test_data): Likewise.
25458         (ctan_downward_test_data): Likewise.
25459         (ctan_upward_test_data): Likewise.
25460         (ctanh_test_data): Likewise.
25461         (ctanh_tonearest_test_data): Likewise.
25462         (ctanh_towardzero_test_data): Likewise.
25463         (ctanh_downward_test_data): Likewise.
25464         (ctanh_upward_test_data): Likewise.
25465         (erf_test_data): Likewise.
25466         (erfc_test_data): Likewise.
25467         (exp_test_data): Likewise.
25468         (exp_tonearest_test_data): Likewise.
25469         (exp_towardzero_test_data): Likewise.
25470         (exp_downward_test_data): Likewise.
25471         (exp_upward_test_data): Likewise.
25472         (exp10_test_data): Likewise.
25473         (exp2_test_data): Likewise.
25474         (expm1_test_data): Likewise.
25475         (fabs_test_data): Likewise.
25476         (fdim_test_data): Likewise.
25477         (finite_test_data): Likewise.
25478         (floor_test_data): Likewise.
25479         (fma_test_data): Likewise.
25480         (fma_towardzero_test_data): Likewise.
25481         (fma_downward_test_data): Likewise.
25482         (fma_upward_test_data): Likewise.
25483         (fmax_test_data): Likewise.
25484         (fmin_test_data): Likewise.
25485         (fmod_test_data): Likewise.
25486         (fpclassify_test_data): Likewise.
25487         (frexp_test_data): Likewise.
25488         (gamma_test_data): Likewise.
25489         (hypot_test_data): Likewise.
25490         (ilogb_test_data): Likewise.
25491         (isfinite_test_data): Likewise.
25492         (isgreater_test_data): Likewise.
25493         (isgreaterequal_test_data): Likewise.
25494         (isinf_test_data): Likewise.
25495         (isless_test_data): Likewise.
25496         (islessequal_test_data): Likewise.
25497         (islessgreater_test_data): Likewise.
25498         (isnan_test_data): Likewise.
25499         (isnormal_test_data): Likewise.
25500         (issignaling_test_data): Likewise.
25501         (isunordered_test_data): Likewise.
25502         (j0_test_data): Likewise.
25503         (j1_test_data): Likewise.
25504         (jn_test_data): Likewise.
25505         (ldexp_test_data): Likewise.
25506         (lgamma_test_data): Likewise.
25507         (lrint_test_data): Likewise.
25508         (lrint_tonearest_test_data): Likewise.
25509         (lrint_towardzero_test_data): Likewise.
25510         (lrint_downward_test_data): Likewise.
25511         (lrint_upward_test_data): Likewise.
25512         (llrint_test_data): Likewise.
25513         (llrint_tonearest_test_data): Likewise.
25514         (llrint_towardzero_test_data): Likewise.
25515         (llrint_downward_test_data): Likewise.
25516         (llrint_upward_test_data): Likewise.
25517         (log_test_data): Likewise.
25518         (log10_test_data): Likewise.
25519         (log1p_test_data): Likewise.
25520         (log2_test_data): Likewise.
25521         (logb_test_data): Likewise.
25522         (logb_downward_test_data): Likewise.
25523         (lround_test_data): Likewise.
25524         (llround_test_data): Likewise.
25525         (modf_test_data): Likewise.
25526         (nearbyint_test_data): Likewise.
25527         (nextafter_test_data): Likewise.
25528         (nexttoward_test_data): Likewise.
25529         (pow_test_data): Likewise.
25530         (pow_tonearest_test_data): Likewise.
25531         (pow_towardzero_test_data): Likewise.
25532         (pow_downward_test_data): Likewise.
25533         (pow_upward_test_data): Likewise.
25534         (remainder_test_data): Likewise.
25535         (remainder_tonearest_test_data): Likewise.
25536         (remainder_towardzero_test_data): Likewise.
25537         (remainder_downward_test_data): Likewise.
25538         (remainder_upward_test_data): Likewise.
25539         (remquo_test_data): Likewise.
25540         (rint_test_data): Likewise.
25541         (rint_tonearest_test_data): Likewise.
25542         (rint_towardzero_test_data): Likewise.
25543         (rint_downward_test_data): Likewise.
25544         (rint_upward_test_data): Likewise.
25545         (round_test_data): Likewise.
25546         (scalb_test_data): Likewise.
25547         (scalbn_test_data): Likewise.
25548         (scalbln_test_data): Likewise.
25549         (signbit_test_data): Likewise.
25550         (sin_test_data): Likewise.
25551         (sin_tonearest_test_data): Likewise.
25552         (sin_towardzero_test_data): Likewise.
25553         (sin_downward_test_data): Likewise.
25554         (sin_upward_test_data): Likewise.
25555         (sincos_test_data): Likewise.
25556         (sinh_test_data): Likewise.
25557         (sinh_tonearest_test_data): Likewise.
25558         (sinh_towardzero_test_data): Likewise.
25559         (sinh_downward_test_data): Likewise.
25560         (sinh_upward_test_data): Likewise.
25561         (sqrt_test_data): Likewise.
25562         (tan_test_data): Likewise.
25563         (tan_tonearest_test_data): Likewise.
25564         (tan_towardzero_test_data): Likewise.
25565         (tan_downward_test_data): Likewise.
25566         (tan_upward_test_data): Likewise.
25567         (tanh_test_data): Likewise.
25568         (tgamma_test_data): Likewise.
25569         (trunc_test_data): Likewise.
25570         (y0_test_data): Likewise.
25571         (y1_test_data): Likewise.
25572         (yn_test_data): Likewise.
25573         (significand_test_data): Likewise.
25574
25575         * math/gen-libm-test.pl (@functions): Remove variable.
25576         (generate_testfile): Don't handle START and END lines.
25577         * math/libm-test.inc (START): New macro.
25578         (END): Likewise.
25579         (END_COMPLEX): Likewise.
25580         (acos_test): Use END macro without arguments.
25581         (acos_test_tonearest): Likewise.
25582         (acos_test_towardzero): Likewise.
25583         (acos_test_downward): Likewise.
25584         (acos_test_upward): Likewise.
25585         (acosh_test): Likewise.
25586         (asin_test): Likewise.
25587         (asin_test_tonearest): Likewise.
25588         (asin_test_towardzero): Likewise.
25589         (asin_test_downward): Likewise.
25590         (asin_test_upward): Likewise.
25591         (asinh_test): Likewise.
25592         (atan_test): Likewise.
25593         (atanh_test): Likewise.
25594         (atan2_test): Likewise.
25595         (cabs_test): Likewise.
25596         (cacos_test): Use END_COMPLEX macro without arguments.
25597         (cacosh_test): Likewise.
25598         (carg_test): Use END macro without arguments.
25599         (casin_test): Use END_COMPLEX macro without arguments.
25600         (casinh_test): Likewise.
25601         (catan_test): Likewise.
25602         (catanh_test): Likewise.
25603         (cbrt_test): Use END macro without arguments.
25604         (ccos_test): Use END_COMPLEX macro without arguments.
25605         (ccosh_test): Likewise.
25606         (ceil_test): Use END macro without arguments.
25607         (cexp_test): Use END_COMPLEX macro without arguments.
25608         (cimag_test): Use END macro without arguments.
25609         (clog_test): Use END_COMPLEX macro without arguments.
25610         (clog10_test): Likewise.
25611         (conj_test): Likewise.
25612         (copysign_test): Use END macro without arguments.
25613         (cos_test): Likewise.
25614         (cos_test_tonearest): Likewise.
25615         (cos_test_towardzero): Likewise.
25616         (cos_test_downward): Likewise.
25617         (cos_test_upward): Likewise.
25618         (cosh_test): Likewise.
25619         (cosh_test_tonearest): Likewise.
25620         (cosh_test_towardzero): Likewise.
25621         (cosh_test_downward): Likewise.
25622         (cosh_test_upward): Likewise.
25623         (cpow_test): Use END_COMPLEX macro without arguments.
25624         (cproj_test): Likewise.
25625         (creal_test): Use END macro without arguments.
25626         (csin_test): Use END_COMPLEX macro without arguments.
25627         (csinh_test): Likewise.
25628         (csqrt_test): Likewise.
25629         (ctan_test): Likewise.
25630         (ctan_test_tonearest): Likewise.
25631         (ctan_test_towardzero): Likewise.
25632         (ctan_test_downward): Likewise.
25633         (ctan_test_upward): Likewise.
25634         (ctanh_test): Likewise.
25635         (ctanh_test_tonearest): Likewise.
25636         (ctanh_test_towardzero): Likewise.
25637         (ctanh_test_downward): Likewise.
25638         (ctanh_test_upward): Likewise.
25639         (erf_test): Use END macro without arguments.
25640         (erfc_test): Likewise.
25641         (exp_test): Likewise.
25642         (exp_test_tonearest): Likewise.
25643         (exp_test_towardzero): Likewise.
25644         (exp_test_downward): Likewise.
25645         (exp_test_upward): Likewise.
25646         (exp10_test): Likewise.
25647         (exp2_test): Likewise.
25648         (expm1_test): Likewise.
25649         (fabs_test): Likewise.
25650         (fdim_test): Likewise.
25651         (finite_test): Likewise.
25652         (floor_test): Likewise.
25653         (fma_test): Likewise.
25654         (fma_test_towardzero): Likewise.
25655         (fma_test_downward): Likewise.
25656         (fma_test_upward): Likewise.
25657         (fmax_test): Likewise.
25658         (fmin_test): Likewise.
25659         (fmod_test): Likewise.
25660         (fpclassify_test): Likewise.
25661         (frexp_test): Likewise.
25662         (gamma_test): Likewise.
25663         (hypot_test): Likewise.
25664         (ilogb_test): Likewise.
25665         (isfinite_test): Likewise.
25666         (isgreater_test): Likewise.
25667         (isgreaterequal_test): Likewise.
25668         (isinf_test): Likewise.
25669         (isless_test): Likewise.
25670         (islessequal_test): Likewise.
25671         (islessgreater_test): Likewise.
25672         (isnan_test): Likewise.
25673         (isnormal_test): Likewise.
25674         (issignaling_test): Likewise.
25675         (isunordered_test): Likewise.
25676         (j0_test): Likewise.
25677         (j1_test): Likewise.
25678         (jn_test): Likewise.
25679         (ldexp_test): Likewise.
25680         (lgamma_test): Likewise.
25681         (lrint_test): Likewise.
25682         (lrint_test_tonearest): Likewise.
25683         (lrint_test_towardzero): Likewise.
25684         (lrint_test_downward): Likewise.
25685         (lrint_test_upward): Likewise.
25686         (llrint_test): Likewise.
25687         (llrint_test_tonearest): Likewise.
25688         (llrint_test_towardzero): Likewise.
25689         (llrint_test_downward): Likewise.
25690         (llrint_test_upward): Likewise.
25691         (log_test): Likewise.
25692         (log10_test): Likewise.
25693         (log1p_test): Likewise.
25694         (log2_test): Likewise.
25695         (logb_test): Likewise.
25696         (logb_test_downward): Likewise.
25697         (lround_test): Likewise.
25698         (llround_test): Likewise.
25699         (modf_test): Likewise.
25700         (nearbyint_test): Likewise.
25701         (nextafter_test): Likewise.
25702         (nexttoward_test): Likewise.
25703         (pow_test): Likewise.
25704         (pow_test_tonearest): Likewise.
25705         (pow_test_towardzero): Likewise.
25706         (pow_test_downward): Likewise.
25707         (pow_test_upward): Likewise.
25708         (remainder_test): Likewise.
25709         (remainder_test_tonearest): Likewise.
25710         (remainder_test_towardzero): Likewise.
25711         (remainder_test_downward): Likewise.
25712         (remainder_test_upward): Likewise.
25713         (remquo_test): Likewise.
25714         (rint_test): Likewise.
25715         (rint_test_tonearest): Likewise.
25716         (rint_test_towardzero): Likewise.
25717         (rint_test_downward): Likewise.
25718         (rint_test_upward): Likewise.
25719         (round_test): Likewise.
25720         (scalb_test): Likewise.
25721         (scalbn_test): Likewise.
25722         (scalbln_test): Likewise.
25723         (signbit_test): Likewise.
25724         (sin_test): Likewise.
25725         (sin_test_tonearest): Likewise.
25726         (sin_test_towardzero): Likewise.
25727         (sin_test_downward): Likewise.
25728         (sin_test_upward): Likewise.
25729         (sincos_test): Likewise.
25730         (sinh_test): Likewise.
25731         (sinh_test_tonearest): Likewise.
25732         (sinh_test_towardzero): Likewise.
25733         (sinh_test_downward): Likewise.
25734         (sinh_test_upward): Likewise.
25735         (sqrt_test): Likewise.
25736         (tan_test): Likewise.
25737         (tan_test_tonearest): Likewise.
25738         (tan_test_towardzero): Likewise.
25739         (tan_test_downward): Likewise.
25740         (tan_test_upward): Likewise.
25741         (tanh_test): Likewise.
25742         (tgamma_test): Likewise.
25743         (trunc_test): Likewise.
25744         (y0_test): Likewise.
25745         (y1_test): Likewise.
25746         (yn_test): Likewise.
25747         (significand_test): Likewise.
25748
25749 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25750
25751         [BZ #15381]
25752         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25753
25754 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25755
25756         [BZ #14894]
25757         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25758         __ppc_mdoio and __ppc_mdoom.
25759         * manual/platform.texi: Document new functions __ppc_yield,
25760         __ppc_mdoio and __ppc_mdoom.
25761
25762 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25763
25764         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25765         (main): Mention "tls" pseudo-hwcap is legacy.
25766         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25767
25768 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25769
25770         * math/gen-libm-test.pl (parse_args): Output only string of
25771         arguments as text for test name, not full call or descriptions of
25772         tests for extra outputs.
25773         (generate_testfile): Do not pass function name to parse_args.
25774         Generate this_func variable from START.
25775         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25776         field to arg_str.
25777         (struct test_ff_f_data): Likewise.
25778         (test_ff_f_data_nexttoward): Likewise.
25779         (struct test_fi_f_data): Likewise.
25780         (struct test_fl_f_data): Likewise.
25781         (struct test_if_f_data): Likewise.
25782         (struct test_fff_f_data): Likewise.
25783         (struct test_c_f_data): Likewise.
25784         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25785         (struct test_fF_f1_data): Likewise.
25786         (struct test_ffI_f1_data): Likewise.
25787         (struct test_c_c_data): Rename test_name field to arg_str.
25788         (struct test_cc_c_data): Likewise.
25789         (struct test_f_i_data): Likewise.
25790         (struct test_ff_i_data): Likewise.
25791         (struct test_f_l_data): Likewise.
25792         (struct test_f_L_data): Likewise.
25793         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25794         and extra2_name.
25795         (COMMON_TEST_SETUP): New macro.
25796         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25797         (COMMON_TEST_CLEANUP): Likewise.
25798         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25799         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25800         macros.
25801         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25802         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25803         macros.
25804         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25805         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25806         cleanup macros.
25807         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25808         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25809         macros.
25810         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25811         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25812         macros.
25813         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25814         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25815         cleanup macros.
25816         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25817         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25818         cleanup macros.
25819         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25820         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25821         cleanup macros.
25822         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25823         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25824         macros.
25825         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25826         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25827         macros.
25828         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25829         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25830         macros.
25831         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25832         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25833         cleanup macros.
25834         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25835         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25836         cleanup macros.
25837         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25838         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25839         macros.
25840         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25841         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25842         cleanup macros.
25843         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25844         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25845         macros.
25846         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25847         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25848         macros.
25849         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25850         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25851         cleanup macros.
25852         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25853
25854 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25855
25856         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25857         to _sifields.sigfault.
25858         (si_addr_lsb): Define new macro.
25859         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25860         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25861         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25862
25863 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25864
25865         [BZ #15441]
25866         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25867         returns -1.
25868         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25869         null return -1.
25870         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25871         loading the domain.
25872
25873 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25874
25875         * math/gen-libm-test.pl (parse_args): Do not include expected
25876         result in test name.
25877         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25878         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25879         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25880         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25881         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883
25884 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25885
25886         * benchtests/Makefile: Sort function entries.
25887
25888         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25889         tanh, asinh, acosh, atanh.
25890         * benchtests/acos-inputs: New file.
25891         * benchtests/acosh-inputs: New file.
25892         * benchtests/asin-inputs: New file.
25893         * benchtests/asinh-inputs: New file.
25894         * benchtests/atanh-inputs: New file.
25895         * benchtests/cosh-inputs: New file.
25896         * benchtests/log-inputs: New file.
25897         * benchtests/sinh-inputs: New file.
25898         * benchtests/tanh-inputs: New file.
25899
25900 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25901
25902         [BZ #15339]
25903         * posix/tst-getaddrinfo4.c: New test.
25904         * posix/Makefile (tests): Add it.
25905
25906 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25907
25908         [BZ #15339]
25909         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25910         when no services were used.
25911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25912         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25913
25914 2013-05-21  Andreas Schwab  <schwab@suse.de>
25915
25916         [BZ #15014]
25917         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25918         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25919         successful.
25920         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25921         redundant variable declarations and reallocation of buffer when
25922         parsing as IPv6 address.  Always set NSS status when called from
25923         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25924         buffer too small.  Correct computation of needed size.
25925         * nss/Makefile (tests): Add test-digits-dots.
25926         * nss/test-digits-dots.c: New test.
25927
25928 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25929
25930         * benchtests/Makefile: Remove instructions for adding
25931         benchmark tests.
25932         * benchtests/README: New file to explain how to execute and
25933         enhance the benchmark tests.
25934
25935 2013-05-21  Andreas Schwab  <schwab@suse.de>
25936
25937         [BZ #15493]
25938         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25939         * setjmp/tst-sigsetjmp.c: New test.
25940
25941 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25942
25943         * sysdeps/x86_64/memset.S (memset): New implementation.
25944         (__bzero): Likewise.
25945         (__memset_tail): New function.
25946
25947 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25948
25949         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25950         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25951         __memcpy_sse2_unaligned ifunc selection.
25952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25953         Add memcpy-sse2-unaligned.S.
25954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25955         Add: __memcpy_sse2_unaligned.
25956
25957 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25958
25959         [BZ #15490]
25960         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25961         math_force_eval before restoring floating-point envrionment.
25962         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25963         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25964         Likewise.
25965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25966         <math_private.h>.
25967         (__nearbyintl): Use math_force_eval before restoring
25968         floating-point environment.
25969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25970
25971         * math/gen-libm-test.pl (special_functions): Remove.
25972         (parse_args): Don't handle TEST_extra.  Handle functions with no
25973         return value.
25974         * math/libm-test.inc (struct test_sincos_data): Replace with
25975         struct test_fFF_11_data.
25976         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25977         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25978         (sincos_test_data): Change element type to struct
25979         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25980         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25981         RUN_TEST_LOOP_sincos.
25982         * math/README.libm-test: Don't mention special handling of
25983         individual functions.
25984         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25985         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25986         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25987         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25988         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25990
25991         * math/gen-libm-test.pl (get_variable): Remove function.
25992         (parse_args): Don't show pointer parameters to call in test
25993         names.  Use "extra output N" in test names for extra outputs
25994         rather than naming variables.
25995
25996 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25997
25998         [BZ #15488]
25999         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26000         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26001         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26002         double tests.
26003         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26004         disable.
26005         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26006         check_long_double.
26007
26008         * math/gen-libm-test.pl (@tests): Remove variable.
26009         ($count): Likewise.
26010         (new_test): Remove function.
26011         (show_exceptions): New function.
26012         (special_functions): Use show_exceptions instead of new_test.
26013         (parse_args): Likewise.
26014         (generate_testfile): Pass only function name in generated call to
26015         print_max_error or print_complex_max_error.
26016         (get_ulps): Do not handle complex tests specially.
26017         (output_test): Rename to ...
26018         (get_all_ulps_for_test): ... this.  Return a string rather than
26019         printing to a file.  Require ulps to be present.
26020         (output_ulps): Generate arrays rather than #defines.
26021         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26022         (struct ulp_data): New type.
26023         (BUILD_COMPLEX_ULP): Remove macro.
26024         (compare_ulp_data): New function.
26025         (find_ulps): Likewise.
26026         (find_test_ulps): Likewise.
26027         (find_function_ulps): Likewise.
26028         (find_complex_function_ulps): Likewise.
26029         (print_max_error): Determine allowed ulps using
26030         find_function_ulps.
26031         (print_complex_max_error): Determine allowed ulps using
26032         find_complex_function_ulps.
26033         (check_float_internal): Determine max ulps using find_test_ulps.
26034         (check_float): Do not take max_ulp parameter.  Update call to
26035         check_float_internal.
26036         (check_complex): Likewise.
26037         (check_int): Do not take max_ulp parameter.
26038         (check_long): Likewise.
26039         (check_bool): Likewise.
26040         (check_longlong): Likewise.
26041         (struct test_f_f_data): Remove max_ulp field.
26042         (struct test_ff_f_data): Likewise.
26043         (struct test_ff_f_data_nexttoward): Likewise.
26044         (struct test_fi_f_data): Likewise.
26045         (struct test_fl_f_data): Likewise.
26046         (struct test_if_f_data): Likewise.
26047         (struct test_fff_f_data): Likewise.
26048         (struct test_c_f_data): Likewise.
26049         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26050         (struct test_fF_f1_data): Likewise.
26051         (struct test_ffI_f1_data): Likewise.
26052         (struct test_c_c_data): Remove max_ulp field.
26053         (struct test_cc_c_data): Likewise.
26054         (struct test_f_i_data): Likewise.
26055         (struct test_ff_i_data): Likewise.
26056         (struct test_f_l_data): Likewise.
26057         (struct test_f_L_data): Likewise.
26058         (struct test_sincos_data): Likewise.
26059         (RUN_TEST_f_f): Do not handle ulps.
26060         (RUN_TEST_LOOP_f_f): Likewise.
26061         (RUN_TEST_2_f): Likewise.
26062         (RUN_TEST_LOOP_2_f): Likewise.
26063         (RUN_TEST_fff_f): Likewise.
26064         (RUN_TEST_LOOP_fff_f): Likewise.
26065         (RUN_TEST_c_f): Likewise.
26066         (RUN_TEST_LOOP_c_f): Likewise.
26067         (RUN_TEST_f_f1): Likewise.
26068         (RUN_TEST_LOOP_f_f1): Likewise.
26069         (RUN_TEST_fF_f1): Likewise.
26070         (RUN_TEST_LOOP_fF_f1): Likewise.
26071         (RUN_TEST_fI_f1): Likewise.
26072         (RUN_TEST_LOOP_fI_f1): Likewise.
26073         (RUN_TEST_ffI_f1): Likewise.
26074         (RUN_TEST_LOOP_ffI_f1): Likewise.
26075         (RUN_TEST_c_c): Likewise.
26076         (RUN_TEST_LOOP_c_c): Likewise.
26077         (RUN_TEST_cc_c): Likewise.
26078         (RUN_TEST_LOOP_cc_c): Likewise.
26079         (RUN_TEST_f_i): Likewise.
26080         (RUN_TEST_LOOP_f_i): Likewise.
26081         (RUN_TEST_f_i_tg): Likewise.
26082         (RUN_TEST_LOOP_f_i_tg): Likewise.
26083         (RUN_TEST_ff_i_tg): Likewise.
26084         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26085         (RUN_TEST_f_b): Likewise.
26086         (RUN_TEST_LOOP_f_b): Likewise.
26087         (RUN_TEST_f_b_tg): Likewise.
26088         (RUN_TEST_LOOP_f_b_tg): Likewise.
26089         (RUN_TEST_f_l): Likewise.
26090         (RUN_TEST_LOOP_f_l): Likewise.
26091         (RUN_TEST_f_L): Likewise.
26092         (RUN_TEST_LOOP_f_L): Likewise.
26093         (RUN_TEST_sincos): Likewise.
26094         (RUN_TEST_LOOP_sincos): Likewise.
26095
26096 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26097
26098         [BZ #15480]
26099         [BZ #15485]
26100         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26101         main case of finite arguments, set rounding mode to FE_TONEAREST
26102         and discard exceptions.
26103         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26104         exceptions.
26105         (remainder_tonearest_test_data): New variable.
26106         (remainder_test_tonearest): New function.
26107         (remainder_towardzero_test_data): New variable.
26108         (remainder_test_towardzero): New function.
26109         (remainder_downward_test_data): New variable.
26110         (remainder_test_downward): New function.
26111         (remainder_upward_test_data): New variable.
26112         (remainder_test_upward): New function.
26113         (main): Call the new test functions.
26114
26115         * math/libm-test.inc (struct test_f_f1_data): Remove field
26116         extra_init.
26117         (struct test_fF_f1_data): Likewise.
26118         (struct test_ffI_f1_data): Likewise.
26119         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26120         based on value of EXTRA_EXPECTED.
26121         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26122         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26123         EXTRA_VAR based on value of EXTRA_EXPECTED.
26124         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26125         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26126         EXTRA_VAR based on value of EXTRA_EXPECTED.
26127         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26128         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26129         EXTRA_VAR based on value of EXTRA_EXPECTED.
26130         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26131         * math/gen-libm-test.pl (parse_args): Don't output initializers
26132         for extra output values.
26133
26134         * math/libm-test.inc (check_int): Expect result to be exactly
26135         equal to expected value and do not handle ulps.
26136         (check_long): Likewise.
26137         (check_longlong): Likewise.
26138
26139         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26140         exceptions.
26141         (cimag_test_data): Likewise.
26142         (conj_test_data): Likewise.
26143         (copysign_test_data): Likewise.
26144         (cproj_test_data): Likewise.
26145         (creal_test_data): Likewise.
26146         (fabs_test_data): Likewise.
26147         (fdim_test_data): Likewise.
26148         (finite_test_data): Likewise.
26149         (floor_test_data): Likewise.
26150         (fmax_test_data): Likewise.
26151         (fmin_test_data): Likewise.
26152         (fmod_test_data): Likewise.
26153         (fpclassify_test_data): Likewise.
26154         (frexp_test_data): Likewise.
26155         (ilogb_test_data): Likewise.
26156         (isfinite_test_data): Likewise.
26157         (isgreater_test_data): Likewise.
26158         (isgreaterequal_test_data): Likewise.
26159         (isinf_test_data): Likewise.
26160         (isless_test_data): Likewise.
26161         (islessequal_test_data): Likewise.
26162         (islessgreater_test_data): Likewise.
26163         (isnan_test_data): Likewise.
26164         (isnormal_test_data): Likewise.
26165         (issignaling_test_data): Likewise.
26166         (isunordered_test_data): Likewise.
26167         (ldexp_test_data): Likewise.
26168         (lrint_test_data): Likewise.
26169         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26170         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26171         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26172         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26173         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26174         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26175         test input.
26176         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26177         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26178         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26179         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26180         that test input.
26181         (lrint_downward_test_data): Test for "inexact" exceptions.
26182         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26183         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26184         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26185         test input.
26186         (lrint_upward_test_data): Test for "inexact" exceptions.
26187         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26188         test input.
26189         (llrint_test_data): Test for "inexact" exceptions.
26190         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26191         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26192         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26193         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26194         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26195         (llrint_downward_test_data): Test for "inexact" exceptions.
26196         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26197         (llrint_upward_test_data): Test for "inexact" exceptions.
26198         (logb_test_data): Likewise.
26199         (logb_downward_test_data): Likewise.
26200         (nextafter_test_data): Likewise.
26201         (nexttoward_test_data): Likewise.
26202         (remainder_test_data): Likewise.
26203         (remquo_test_data): Likewise.
26204         (scalbn_test_data): Likewise.
26205         (scalbln_test_data): Likewise.
26206         (signbit_test_data): Likewise.
26207         (sqrt_test_data): Likewise.
26208         (significand_test_data): Likewise.
26209
26210 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26211
26212         [BZ #15424]
26213         * benchtests/bench-modf.c (struct args): Mark arg0 as
26214         volatile.
26215         * scripts/bench.pl: Mark members of struct args as volatile.
26216
26217 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26218
26219         [BZ # 15497]
26220         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26221         negative infinity on POWER6 or lower.
26222         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26223
26224 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26225
26226         [BZ #15442]
26227         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26228         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26229         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26230         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26231         (_FP_SETQNAN): New macro.
26232         (_FP_SETQNAN_SEMIRAW): Likewise.
26233         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26234         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26235         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26236         (FP_EXTEND): Use _FP_FRAC_SNANP.
26237         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26238         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26239         into account.
26240         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26241         New macro.
26242         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26243         Likewise.
26244
26245 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26246
26247         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26248         with DIVIDE_BY_ZERO_EXCEPTION.
26249         (gamma_test_data): Likewise.
26250         (lgamma_test_data): Likewise.
26251         (log_test_data): Likewise.
26252         (log10_test_data): Likewise.
26253         (log2_test_data): Likewise.
26254         (tgamma_test_data): Likewise.
26255
26256         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26257         (acos_test_tonearest): Likewise.
26258         (acos_test_towardzero): Likewise.
26259         (acos_test_downward): Likewise.
26260         (acos_test_upward): Likewise.
26261         (acosh_test): Likewise.
26262         (asin_test): Likewise.
26263         (asin_test_tonearest): Likewise.
26264         (asin_test_towardzero): Likewise.
26265         (asin_test_downward): Likewise.
26266         (asin_test_upward): Likewise.
26267         (asinh_test): Likewise.
26268         (atan_test): Likewise.
26269         (atanh_test): Likewise.
26270         (atan2_test): Likewise.
26271         (cabs_test): Likewise.
26272         (cacos_test): Likewise.
26273         (cacosh_test): Likewise.
26274         (casin_test): Likewise.
26275         (casinh_test): Likewise.
26276         (catan_test): Likewise.
26277         (catanh_test): Likewise.
26278         (cbrt_test): Likewise.
26279         (ccos_test): Likewise.
26280         (ccosh_test): Likewise.
26281         (cexp_test): Likewise.
26282         (clog_test): Likewise.
26283         (clog10_test): Likewise.
26284         (cos_test): Likewise.
26285         (cos_test_tonearest): Likewise.
26286         (cos_test_towardzero): Likewise.
26287         (cos_test_downward): Likewise.
26288         (cos_test_upward): Likewise.
26289         (cosh_test): Likewise.
26290         (cosh_test_tonearest): Likewise.
26291         (cosh_test_towardzero): Likewise.
26292         (cosh_test_downward): Likewise.
26293         (cosh_test_upward): Likewise.
26294         (cpow_test): Likewise.
26295         (csin_test): Likewise.
26296         (csinh_test): Likewise.
26297         (csqrt_test): Likewise.
26298         (ctan_test): Likewise.
26299         (ctan_test_tonearest): Likewise.
26300         (ctan_test_towardzero): Likewise.
26301         (ctan_test_downward): Likewise.
26302         (ctan_test_upward): Likewise.
26303         (ctanh_test): Likewise.
26304         (ctanh_test_tonearest): Likewise.
26305         (ctanh_test_towardzero): Likewise.
26306         (ctanh_test_downward): Likewise.
26307         (ctanh_test_upward): Likewise.
26308         (erf_test): Likewise.
26309         (erfc_test): Likewise.
26310         (exp_test): Likewise.
26311         (exp_test_tonearest): Likewise.
26312         (exp_test_towardzero): Likewise.
26313         (exp_test_downward): Likewise.
26314         (exp_test_upward): Likewise.
26315         (exp10_test): Likewise.
26316         (exp2_test): Likewise.
26317         (expm1_test): Likewise.
26318         (fmod_test): Likewise.
26319         (gamma_test): Likewise.
26320         (hypot_test): Likewise.
26321         (j0_test): Likewise.
26322         (j1_test): Likewise.
26323         (jn_test): Likewise.
26324         (lgamma_test): Likewise.
26325         (log_test): Likewise.
26326         (log10_test): Likewise.
26327         (log1p_test): Likewise.
26328         (log2_test): Likewise.
26329         (logb_test_downward): Likewise.
26330         (pow_test): Likewise.
26331         (pow_test_tonearest): Likewise.
26332         (pow_test_towardzero): Likewise.
26333         (pow_test_downward): Likewise.
26334         (pow_test_upward): Likewise.
26335         (remainder_test): Likewise.
26336         (remquo_test): Likewise.
26337         (sin_test): Likewise.
26338         (sin_test_tonearest): Likewise.
26339         (sin_test_towardzero): Likewise.
26340         (sin_test_downward): Likewise.
26341         (sin_test_upward): Likewise.
26342         (sincos_test): Likewise.
26343         (sinh_test): Likewise.
26344         (sinh_test_tonearest): Likewise.
26345         (sinh_test_towardzero): Likewise.
26346         (sinh_test_downward): Likewise.
26347         (sinh_test_upward): Likewise.
26348         (sqrt_test): Likewise.
26349         (tan_test): Likewise.
26350         (tan_test_tonearest): Likewise.
26351         (tan_test_towardzero): Likewise.
26352         (tan_test_downward): Likewise.
26353         (tan_test_upward): Likewise.
26354         (tanh_test): Likewise.
26355         (tgamma_test): Likewise.
26356         (y0_test): Likewise.
26357         (y1_test): Likewise.
26358         (yn_test): Likewise.
26359
26360         * math/gen-libm-test.pl (adjust_arg): Remove function.
26361         (special_function): Remove argument $in_func.  Only handle
26362         generating output for tables of tests, not inside functions.
26363         (parse_args): Likewise.
26364         (generate_testfile): Remove variable $in_func.  Update call to
26365         parse_args.
26366         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26367         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26368         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26369         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26370         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26371         (MAX_VALUE_INIT): Rename macro to max_value.
26372         (MIN_VALUE_INIT): Rename macro to min_value.
26373         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26374         (plus_zero): Remove variable.
26375         (minus_zero): Likewise.
26376         (plus_infty): Likewise.
26377         (minus_infty): Likewise.
26378         (qnan_value): Likewise.
26379         (max_value): Likewise.
26380         (min_value): Likewise.
26381         (min_subnorm_value): Likewise.
26382
26383 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26384
26385         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26386         uint64_t or uint32_t usage.
26387         * crypt/sha256-block.c: Likewise.
26388         * crypt/sha256-crypt.c: Likewise.
26389         * crypt/sha256.c: Likewise.
26390         * crypt/sha512-block.c: Likewise.
26391         * crypt/sha512-crypt.c: Likewise.
26392         * crypt/sha512.c: Likewise.
26393         * debug/backtrace-tst.c: Likewise.
26394         * debug/pcprofiledump.c: Likewise.
26395         * elf/cache.c: Likewise.
26396         * elf/dl-cache.c: Likewise.
26397         * elf/dl-misc.c: Likewise.
26398         * elf/dl-profile.c: Likewise.
26399         * elf/dl-support.c: Likewise.
26400         * elf/ldconfig.c: Likewise.
26401         * elf/sprof.c: Likewise.
26402         * iconv/dummy-repertoire.c: Likewise.
26403         * iconv/iconv_charmap.c: Likewise.
26404         * iconv/skeleton.c: Likewise.
26405         * iconvdata/8bit-generic.c: Likewise.
26406         * iconvdata/cp737.h: Likewise.
26407         * iconvdata/cp775.h: Likewise.
26408         * iconvdata/ibm1008.h: Likewise.
26409         * iconvdata/ibm1025.h: Likewise.
26410         * iconvdata/ibm1046.h: Likewise.
26411         * iconvdata/ibm1097.h: Likewise.
26412         * iconvdata/ibm1112.h: Likewise.
26413         * iconvdata/ibm1122.h: Likewise.
26414         * iconvdata/ibm1123.h: Likewise.
26415         * iconvdata/ibm1124.h: Likewise.
26416         * iconvdata/ibm1129.h: Likewise.
26417         * iconvdata/ibm1130.h: Likewise.
26418         * iconvdata/ibm1132.h: Likewise.
26419         * iconvdata/ibm1133.h: Likewise.
26420         * iconvdata/ibm1137.h: Likewise.
26421         * iconvdata/ibm1140.h: Likewise.
26422         * iconvdata/ibm1141.h: Likewise.
26423         * iconvdata/ibm1142.h: Likewise.
26424         * iconvdata/ibm1143.h: Likewise.
26425         * iconvdata/ibm1144.h: Likewise.
26426         * iconvdata/ibm1145.h: Likewise.
26427         * iconvdata/ibm1146.h: Likewise.
26428         * iconvdata/ibm1147.h: Likewise.
26429         * iconvdata/ibm1148.h: Likewise.
26430         * iconvdata/ibm1149.h: Likewise.
26431         * iconvdata/ibm1153.h: Likewise.
26432         * iconvdata/ibm1154.h: Likewise.
26433         * iconvdata/ibm1155.h: Likewise.
26434         * iconvdata/ibm1156.h: Likewise.
26435         * iconvdata/ibm1157.h: Likewise.
26436         * iconvdata/ibm1158.h: Likewise.
26437         * iconvdata/ibm1160.h: Likewise.
26438         * iconvdata/ibm1161.h: Likewise.
26439         * iconvdata/ibm1162.h: Likewise.
26440         * iconvdata/ibm1163.h: Likewise.
26441         * iconvdata/ibm1164.h: Likewise.
26442         * iconvdata/ibm1166.h: Likewise.
26443         * iconvdata/ibm1167.h: Likewise.
26444         * iconvdata/ibm12712.h: Likewise.
26445         * iconvdata/ibm1390.h: Likewise.
26446         * iconvdata/ibm1399.h: Likewise.
26447         * iconvdata/ibm16804.h: Likewise.
26448         * iconvdata/ibm4517.h: Likewise.
26449         * iconvdata/ibm4899.h: Likewise.
26450         * iconvdata/ibm4909.h: Likewise.
26451         * iconvdata/ibm4971.h: Likewise.
26452         * iconvdata/ibm5347.h: Likewise.
26453         * iconvdata/ibm803.h: Likewise.
26454         * iconvdata/ibm856.h: Likewise.
26455         * iconvdata/ibm901.h: Likewise.
26456         * iconvdata/ibm902.h: Likewise.
26457         * iconvdata/ibm9030.h: Likewise.
26458         * iconvdata/ibm9066.h: Likewise.
26459         * iconvdata/ibm921.h: Likewise.
26460         * iconvdata/ibm922.h: Likewise.
26461         * iconvdata/ibm9448.h: Likewise.
26462         * iconvdata/isiri-3342.h: Likewise.
26463         * iconvdata/jis0201.h: Likewise.
26464         * include/link.h: Likewise.
26465         * include/netdb.h: Likewise.
26466         * inet/check_native.c: Likewise.
26467         * inet/check_pf.c: Likewise.
26468         * inet/getipv4sourcefilter.c: Likewise.
26469         * inet/getnameinfo.c: Likewise.
26470         * inet/getsourcefilter.c: Likewise.
26471         * inet/htonl.c: Likewise.
26472         * inet/setipv4sourcefilter.c: Likewise.
26473         * inet/setsourcefilter.c: Likewise.
26474         * inet/test-inet6_opt.c: Likewise.
26475         * inet/tst-network.c: Likewise.
26476         * locale/C-collate.c: Likewise.
26477         * locale/C-ctype.c: Likewise.
26478         * locale/C-time.c: Likewise.
26479         * locale/C-translit.h: Likewise.
26480         * locale/loadarchive.c: Likewise.
26481         * locale/programs/3level.h: Likewise.
26482         * locale/programs/charmap.c: Likewise.
26483         * locale/programs/charmap.h: Likewise.
26484         * locale/programs/ld-address.c: Likewise.
26485         * locale/programs/ld-collate.c: Likewise.
26486         * locale/programs/ld-ctype.c: Likewise.
26487         * locale/programs/ld-identification.c: Likewise.
26488         * locale/programs/ld-measurement.c: Likewise.
26489         * locale/programs/ld-messages.c: Likewise.
26490         * locale/programs/ld-monetary.c: Likewise.
26491         * locale/programs/ld-name.c: Likewise.
26492         * locale/programs/ld-numeric.c: Likewise.
26493         * locale/programs/ld-paper.c: Likewise.
26494         * locale/programs/ld-telephone.c: Likewise.
26495         * locale/programs/ld-time.c: Likewise.
26496         * locale/programs/linereader.c: Likewise.
26497         * locale/programs/locale.c: Likewise.
26498         * locale/programs/locarchive.c: Likewise.
26499         * locale/programs/locfile.h: Likewise.
26500         * locale/programs/repertoire.c: Likewise.
26501         * locale/programs/simple-hash.c: Likewise.
26502         * locale/programs/simple-hash.h: Likewise.
26503         * malloc/memusage.c: Likewise.
26504         * malloc/memusagestat.c: Likewise.
26505         * nis/nis_defaults.c: Likewise.
26506         * nis/nis_hash.c: Likewise.
26507         * nis/nis_print.c: Likewise.
26508         * nis/nis_xdr.c: Likewise.
26509         * nscd/connections.c: Likewise.
26510         * nscd/hstcache.c: Likewise.
26511         * nscd/nscd_gethst_r.c: Likewise.
26512         * nscd/nscd_getserv_r.c: Likewise.
26513         * nscd/nscd_helper.c: Likewise.
26514         * nscd/servicescache.c: Likewise.
26515         * nss/makedb.c: Likewise.
26516         * nss/nss_db/db-XXX.c: Likewise.
26517         * nss/nss_db/db-initgroups.c: Likewise.
26518         * nss/nss_db/db-netgrp.c: Likewise.
26519         * nss/nss_files/files-network.c: Likewise.
26520         * nss/nss_files/files-parse.c: Likewise.
26521         * posix/bug-regex5.c: Likewise.
26522         * posix/fnmatch_loop.c: Likewise.
26523         * posix/regcomp.c: Likewise.
26524         * posix/regexec.c: Likewise.
26525         * posix/tst-rfc3484-2.c: Likewise.
26526         * posix/tst-rfc3484-3.c: Likewise.
26527         * posix/tst-rfc3484.c: Likewise.
26528         * resolv/nss_dns/dns-canon.c: Likewise.
26529         * resolv/nss_dns/dns-network.c: Likewise.
26530         * resolv/res_init.c: Likewise.
26531         * resolv/res_mkquery.c: Likewise.
26532         * resolv/tst-aton.c: Likewise.
26533         * stdlib/cxa_atexit.c: Likewise.
26534         * stdlib/cxa_finalize.c: Likewise.
26535         * stdlib/gen-fpioconst.c: Likewise.
26536         * stdlib/strtol_l.c: Likewise.
26537         * string/tst-endian.c: Likewise.
26538         * sunrpc/auth_des.c: Likewise.
26539         * sunrpc/clnt_udp.c: Likewise.
26540         * sunrpc/rtime.c: Likewise.
26541         * sunrpc/svcauth_des.c: Likewise.
26542         * sunrpc/xdr.c: Likewise.
26543         * sunrpc/xdr_intXX_t.c: Likewise.
26544         * sunrpc/xdr_rec.c: Likewise.
26545         * sysdeps/generic/ldconfig.h: Likewise.
26546         * sysdeps/generic/ldsodefs.h: Likewise.
26547         * sysdeps/generic/memusage.h: Likewise.
26548         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26549         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26550         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26551         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26552         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26554         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26555         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26556         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26557         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26558         * sysdeps/posix/getaddrinfo.c: Likewise.
26559         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26560         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26561         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26562         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26563         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26564         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26565         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26566         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26567         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26568         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26569         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26570         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26571         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26572         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26573         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26574         * sysdeps/x86_64/dl-tls.h: Likewise.
26575         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26576         * time/alt_digit.c: Likewise.
26577         * time/era.c: Likewise.
26578         * wcsmbs/tst-c16c32-1.c: Likewise.
26579
26580 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26581
26582         * math/libm-test.inc (struct test_sincos_data): New type.
26583         (RUN_TEST_LOOP_sincos): New macro.
26584         (sincos_test_data): New variable.
26585         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26586
26587 2013-05-16  Richard Henderson  <rth@redhat.com>
26588
26589         * math/atest-exp2.c (LIMB64): New macro.
26590         (CONSTSZ): New macro.
26591         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26592         (hexdig): Move ...
26593         (print_mpn_fp): ... to function scope.
26594         (read_mpn_hex): Remove.
26595         (get_log2): Remove.
26596         (exp2_mpn): Use mp_log2.
26597         (main): Use mp_exp1.
26598
26599 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26600
26601         * math/libm-test.inc: Remove comment about not testing "inexact"
26602         exceptions.
26603         (INEXACT_EXCEPTION): New macro.
26604         (NO_INEXACT_EXCEPTION): Likewise.
26605         (INVALID_EXCEPTION_OK): Update value.
26606         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26607         (OVERFLOW_EXCEPTION_OK): Likewise.
26608         (UNDERFLOW_EXCEPTION_OK): Likewise.
26609         (IGNORE_ZERO_INF_SIGN): Likewise.
26610         (ERRNO_UNCHANGED): Likewise.
26611         (ERRNO_EDOM): Likewise.
26612         (ERRNO_ERANGE): Likewise.
26613         (test_exceptions): Handle testing "inexact" exceptions.
26614         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26615         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26616         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26617         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26618         INEXACT_EXCEPTION.
26619         (rint_towardzero_test_data): Likewise.
26620         (rint_downward_test_data): Likewise.
26621         (rint_upward_test_data): Likewise.
26622
26623         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26624         with OVERFLOW_EXCEPTION.
26625         (exp10_test_data): Likewise.
26626         (exp2_test_data): Likewise.
26627         (expm1_test_data): Likewise.
26628         (lgamma_test_data): Likewise.
26629         (pow_test_data): Likewise.
26630         (tgamma_test_data): Likewise.
26631         (yn_test_data): Remove duplicate test of overflow.
26632
26633         * math/libm-test.inc (struct test_cc_c_data): New type.
26634         (RUN_TEST_LOOP_cc_c): New macro.
26635         (cpow_test_data): New variable.
26636         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26637
26638         * math/libm-test.inc (struct test_f_L_data): New type.
26639         (RUN_TEST_LOOP_f_L): New macro.
26640         (llrint_test_data): New variable.
26641         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26642         (llrint_tonearest_test_data): New variable.
26643         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26644         (llrint_towardzero_test_data): New variable.
26645         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26646         (llrint_downward_test_data): New variable.
26647         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26648         (llrint_upward_test_data): New variable.
26649         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26650         (llround_test_data): New variable.
26651         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26652
26653 2013-05-13  Peter Collingbourne  <pcc@google.com>
26654
26655         * math/atest-exp2.c (get_log2): Remove const attribute.
26656
26657 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26658
26659         * math/libm-test.inc (struct test_f_l_data): New type.
26660         (RUN_TEST_LOOP_f_l): New macro.
26661         (lrint_test_data): New variable.
26662         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26663         (lrint_tonearest_test_data): New variable.
26664         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26665         (lrint_towardzero_test_data): New variable.
26666         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26667         (lrint_downward_test_data): New variable.
26668         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26669         (lrint_upward_test_data): New variable.
26670         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26671         (lround_test_data): New variable.
26672         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26673
26674 2013-05-15  Peter Collingbourne  <pcc@google.com>
26675
26676         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26677         (EXTRACT_WORDS64) Use where appropriate.
26678         (INSERT_WORDS64) Likewise.
26679
26680         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26681         constraints with x constraints.
26682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26683
26684         * malloc/obstack.c (_obstack_compat): Add initializer.
26685
26686 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26687
26688         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26689         si_trapno and add si_addr_lsb to _sifields.sigfault.
26690         (si_trapno): Remove macro.
26691         (si_addr_lsb): Define new macro.
26692         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26693
26694 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26695
26696         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26697         instead of TEST_f_l.
26698         (llrint_test_tonearest): Likewise.
26699         (llrint_test_towardzero): Likewise.
26700         (llrint_test_downward): Likewise.
26701         (llrint_test_upward): Likewise.
26702         (llround_test): Likewise.
26703
26704         * math/libm-test.inc (struct test_f_i_data): Add comment.
26705         (RUN_TEST_LOOP_f_b): New macro.
26706         (RUN_TEST_LOOP_f_b_tg): Likewise.
26707         (finite_test_data): New variable.
26708         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26709         (isfinite_test_data): New variable.
26710         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26711         (isinf_test_data): New variable.
26712         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26713         (isnan_test_data): New variable.
26714         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26715         (isnormal_test_data): New variable.
26716         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26717         (issignaling_test_data): New variable.
26718         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26719         (signbit_test_data): New variable.
26720         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26721
26722         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26723         with INVALID_EXCEPTION.
26724         (acosh_test_data): Likewise.
26725         (asin_test_data): Likewise.
26726         (atanh_test_data): Likewise.
26727         (fmod_test_data): Likewise.
26728         (log_test_data): Likewise.
26729         (log10_test_data): Likewise.
26730         (log2_test_data): Likewise.
26731         (pow_test_data): Likewise.
26732         (sqrt_test_data): Likewise.
26733         (y0_test_data): Likewise.
26734         (y1_test_data): Likewise.
26735         (yn_test_data): Likewise.
26736
26737         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26738         function contents.
26739
26740         * math/libm-test.inc (struct test_ff_i_data): New type.
26741         (RUN_TEST_LOOP_ff_i_tg): New macro.
26742         (isgreater_test_data): New variable.
26743         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26744         (isgreaterequal_test_data): New variable.
26745         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26746         (isless_test_data): New variable.
26747         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26748         (islessequal_test_data): New variable.
26749         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26750         (islessgreater_test_data): New variable.
26751         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26752         (isunordered_test_data): New variable.
26753         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26754
26755 2013-05-14  David S. Miller  <davem@davemloft.net>
26756
26757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26758
26759 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26760
26761         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26762
26763         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26764         extra_test to int.
26765         (struct test_f_i_data): Change type of max_ulp to int.
26766
26767         * math/libm-test.inc (test_ffI_f1_data): New type.
26768         (RUN_TEST_LOOP_ffI_f1): New macro.
26769         (remquo_test_data): New variable.
26770         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26771
26772         * setjmp/tst-setjmp-fp.c: New file.
26773         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26774         (link-libm): New variable.
26775         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26776
26777         * math/libm-test.inc (struct test_f_i_data): New type.
26778         (RUN_TEST_LOOP_f_i): New macro.
26779         (RUN_TEST_LOOP_f_i_tg): Likewise.
26780         (fpclassify_test_data): New variable.
26781         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26782         (ilogb_test_data): New variable.
26783         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26784
26785         * math/libm-test.inc (scalbln_test): Correct function name in END
26786         call.
26787
26788         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26789         (RUN_TEST_LOOP_fI_f1): New macro.
26790         (frexp_test_data): New variable.
26791         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26792
26793         * math/libm-test.inc (struct test_fF_f1_data): New type.
26794         (RUN_TEST_LOOP_fF_f1): New macro.
26795         (modf_test_data): New variable.
26796         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26797
26798         * math/libm-test.inc (struct test_f_f1_data): New type.
26799         (RUN_TEST_LOOP_f_f1): New macro.
26800         (gamma_test_data): New variable.
26801         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26802         (lgamma_test_data): New variable.
26803         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26804
26805 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26806
26807         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26808         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26809         (main): Comment "tls" pseudo-hwcap.
26810
26811 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26812
26813         * math/libm-test.inc (struct test_fl_f_data): New type.
26814         (RUN_TEST_LOOP_fl_f): New variable.
26815         (scalbln_test_data): New variable.
26816         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26817
26818         * math/libm-test.inc (struct test_fi_f_data): New type.
26819         (RUN_TEST_LOOP_fi_f): New macro.
26820         (ldexp_test_data): New variable.
26821         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26822         (scalbn_test_data): New variable.
26823         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26824
26825         * math/libm-test.inc (struct test_c_f_data): New type.
26826         (RUN_TEST_LOOP_c_f): New macro.
26827         (cabs_test_data): New variable.
26828         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26829         (carg_test_data): New variable.
26830         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26831         (cimag_test_data): New variable.
26832         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26833         (creal_test_data): New variable.
26834         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26835
26836         * math/libm-test.inc (struct test_if_f_data): New type.
26837         (RUN_TEST_LOOP_if_f): New macro.
26838         (jn_test_data): New variable.
26839         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26840         (yn_test_data): New variable.
26841         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26842
26843         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26844
26845 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26846
26847         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26848         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26849
26850 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26851
26852         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26853         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26854         (bench-deps): Add bench-timing.h.
26855         * benchtests-bench-skeleton.c: Include bench-timing.h.
26856         (main): Use TIMING_* macros instead of clock_gettime.
26857         * benchtests/bench-timing.h: New file.
26858
26859         [BZ #14582]
26860         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26861         Renamed from _LIB_VERSION.
26862         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26863
26864 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26865
26866         * math/libm-test.inc (struct test_fff_f_data): New type.
26867         (RUN_TEST_LOOP_fff_f): New macro.
26868         (fma_test_data): New variable.
26869         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26870         (fma_towardzero_test_data): New variable.
26871         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26872         (fma_downward_test_data): New variable.
26873         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26874         (fma_upward_test_data): New variable.
26875         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26876
26877         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26878         (struct test_c_c_data): New type.
26879         (RUN_TEST_LOOP_c_c): New macro.
26880         (cacos_test_data): New variable.
26881         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26882         (cacosh_test_data): New variable.
26883         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26884         (casin_test_data): New variable.
26885         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26886         (casinh_test_data): New variable.
26887         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26888         (catan_test_data): New variable.
26889         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26890         (catanh_test_data): New variable.
26891         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26892         (ccos_test_data): New variable.
26893         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26894         (ccosh_test_data): New variable.
26895         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26896         (cexp_test_data): New variable.
26897         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26898         (clog_test_data): New variable.
26899         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26900         (clog10_test_data): New variable.
26901         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26902         (conj_test_data): New variable.
26903         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26904         (cproj_test_data): New variable.
26905         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26906         (csin_test_data): New variable.
26907         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26908         (csinh_test_data): New variable.
26909         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26910         (csqrt_test_data): New variable.
26911         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26912         (ctan_test_data): New variable.
26913         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26914         (ctan_tonearest_test_data): New variable.
26915         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26916         (ctan_towardzero_test_data): New variable.
26917         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26918         (ctan_downward_test_data): New variable.
26919         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26920         (ctan_upward_test_data): New variable.
26921         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26922         (ctanh_test_data): New variable.
26923         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26924         (ctanh_tonearest_test_data): New variable.
26925         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26926         (ctanh_towardzero_test_data): New variable.
26927         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26928         (ctanh_downward_test_data): New variable.
26929         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26930         (ctanh_upward_test_data): New variable.
26931         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26932         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26933         of BUILD_COMPLEX.
26934
26935         * math/libm-test.inc (struct test_ff_f_data): New type.
26936         (struct test_ff_f_data_nexttoward): Likewise.
26937         (RUN_TEST_LOOP_2_f): New macro.
26938         (RUN_TEST_LOOP_ff_f): Likewise.
26939         (atan2_test_data): New variable.
26940         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26941         (copysign_test_data): New variable.
26942         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26943         (fdim_test_data): New variable.
26944         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26945         (fmax_test_data): New variable.
26946         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26947         (fmin_test_data): New variable.
26948         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26949         (fmod_test_data): New variable.
26950         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26951         (hypot_test_data): New variable.
26952         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26953         (nextafter_test_data): New variable.
26954         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26955         (nexttoward_test_data): New variable.
26956         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26957         (pow_test_data): New variable.
26958         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26959         (pow_tonearest_test_data): New variable.
26960         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26961         (pow_towardzero_test_data): New variable.
26962         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26963         (pow_downward_test_data): New variable.
26964         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26965         (pow_upward_test_data): New variable.
26966         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26967         (remainder_test_data): New variable.
26968         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26969         (scalb_test_data): New variable.
26970         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26971         * sysdeps/i386/fpu/libm-test-ulps: Update.
26972
26973 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26974
26975         * math/libm-test.inc (fma_test): Use max_value instead of local
26976         variable fltmax.
26977         (nextafter_test): Likewise.
26978
26979         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26980         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26981         (acos_downward_test_data): New variable.
26982         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26983         (acos_upward_test_data): New variable.
26984         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26985         (acosh_test_data): New variable.
26986         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26987         (asin_test_data): New variable.
26988         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26989         (asin_tonearest_test_data): New variable.
26990         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26991         (asin_towardzero_test_data): New variable.
26992         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26993         (asin_downward_test_data): New variable.
26994         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26995         (asin_upward_test_data): New variable.
26996         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26997         (asinh_test_data): New variable.
26998         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26999         (atan_test_data): New variable.
27000         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27001         (atanh_test_data): New variable.
27002         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27003         (cbrt_test_data): New variable.
27004         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27005         (ceil_test_data): New variable.
27006         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27007         (cos_test_data): New variable.
27008         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27009         (cos_tonearest_test_data): New variable.
27010         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27011         (cos_towardzero_test_data): New variable.
27012         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27013         (cos_downward_test_data): New variable.
27014         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27015         (cos_upward_test_data): New variable.
27016         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27017         (cosh_test_data): New variable.
27018         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27019         (cosh_tonearest_test_data): New variable.
27020         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27021         (cosh_towardzero_test_data): New variable.
27022         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27023         (cosh_downward_test_data): New variable.
27024         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27025         (cosh_upward_test_data): New variable.
27026         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27027         (erf_test_data): New variable.
27028         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27029         (erfc_test_data): New variable.
27030         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27031         (exp_test_data): New variable.
27032         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27033         (exp_tonearest_test_data): New variable.
27034         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27035         (exp_towardzero_test_data): New variable.
27036         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27037         (exp_downward_test_data): New variable.
27038         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27039         (exp_upward_test_data): New variable.
27040         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27041         (exp10_test_data): New variable.
27042         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27043         (exp2_test_data): New variable.
27044         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27045         (expm1_test_data): New variable.
27046         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27047         (fabs_test_data): New variable.
27048         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27049         (floor_test_data): New variable.
27050         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27051         (j0_test_data): New variable.
27052         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27053         (j1_test_data): New variable.
27054         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27055         (log_test_data): New variable.
27056         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27057         (log10_test_data): New variable.
27058         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27059         (log1p_test_data): New variable.
27060         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27061         (log2_test_data): New variable.
27062         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27063         (logb_test_data): New variable.
27064         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27065         (logb_downward_test_data): New variable.
27066         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27067         (nearbyint_test_data): New variable.
27068         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27069         (rint_test_data): New variable.
27070         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27071         (rint_tonearest_test_data): New variable.
27072         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27073         (rint_towardzero_test_data): New variable.
27074         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27075         (rint_downward_test_data): New variable.
27076         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27077         (rint_upward_test_data): New variable.
27078         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27079         (round_test_data): New variable.
27080         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27081         (sin_test_data): New variable.
27082         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27083         (sin_tonearest_test_data): New variable.
27084         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27085         (sin_towardzero_test_data): New variable.
27086         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27087         (sin_downward_test_data): New variable.
27088         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27089         (sin_upward_test_data): New variable.
27090         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27091         (sinh_test_data): New variable.
27092         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27093         (sinh_tonearest_test_data): New variable.
27094         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27095         (sinh_towardzero_test_data): New variable.
27096         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27097         (sinh_downward_test_data): New variable.
27098         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27099         (sinh_upward_test_data): New variable.
27100         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27101         (sqrt_test_data): New variable.
27102         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27103         (tan_test_data): New variable.
27104         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27105         (tan_tonearest_test_data): New variable.
27106         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27107         (tan_towardzero_test_data): New variable.
27108         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27109         (tan_downward_test_data): New variable.
27110         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27111         (tan_upward_test_data): New variable.
27112         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27113         (tanh_test_data): New variable.
27114         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27115         (tgamma_test_data): New variable.
27116         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27117         (trunc_test_data): New variable.
27118         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27119         (y0_test_data): New variable.
27120         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27121         (y1_test_data): New variable.
27122         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27123         (significand_test_data): New variable.
27124         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27125
27126 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27127
27128         [BZ #12387]
27129         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27130
27131 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27132
27133         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27134
27135 2013-05-10  Andreas Jaeger  <aj@suse.de>
27136
27137         [BZ #15448]
27138         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27139         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27140
27141 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27142
27143         * math/gen-libm-test.pl (adjust_arg): New function.
27144         (special_functions): Handle generating output in both functions
27145         and arrays.
27146         (parse_args): Likewise.
27147         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27148         $in_func argument to parse_args.
27149         * math/libm-test.inc (struct test_f_f_data): New type.
27150         (IF_ROUND_INIT_): New macro.
27151         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27152         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27153         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27154         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27155         (ROUND_RESTORE_): Likewise.
27156         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27157         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27158         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27159         (ROUND_RESTORE_FE_UPWARD): Likewise.
27160         (RUN_TEST_LOOP_f_f): New macro.
27161         (acos_test_data): New variable.
27162         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27163         (acos_tonearest_test_data): New variable.
27164         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27165
27166 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27167
27168         * benchtests/bench-skeleton.c (startup): Fix coding style.
27169
27170 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27171
27172         [BZ #6809]
27173         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27174         negative infinity argument.
27175         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27176         negative infinity argument.
27177         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27178         negative infinity argument.
27179         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27180         domain errors.
27181
27182 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27183
27184         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27185         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27186         * iconv/iconv_prog.c (main): Likewise.
27187         * locale/programs/charmap-dir.c (charmap_readdir)
27188         (fopen_uncompressed): Likewise.
27189         * locale/programs/locfile.c (siblings_uncached)
27190         (write_locale_data): Use lstat64 instead of lstat.
27191         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27192         stat.
27193
27194 2013-05-10  Andreas Jaeger  <aj@suse.de>
27195
27196         [BZ #15395]
27197         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27198         localization.
27199         Include <locale.h>.
27200
27201 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27202
27203         * elf/dl-close.c (_dl_close_worker): Add comments.
27204
27205 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27206
27207         [BZ #15359]
27208         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27209         high part of pi/2.
27210         (__ieee754_rem_pio2l): Update comments.
27211
27212         [BZ #15429]
27213         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27214         high part of pi/2.
27215         (__ieee754_rem_pio2l): Update comments.
27216
27217         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27218         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27219
27220         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27221         M_PI_4l.
27222
27223         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27224         (M_PI_34_LOG10El): Likewise.
27225         (M_PI2_LOG10El): Likewise.
27226         (M_PI4_LOG10El): Likewise.
27227         (M_PI_LOG10El): Likewise.
27228
27229 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27230
27231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27232
27233 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27234
27235         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27236         (MINUS_ZERO_INIT): Likewise.
27237         (PLUS_INFTY_INIT): Likewise.
27238         (MINUS_INFTY_INIT): Likewise.
27239         (QNAN_VALUE_INIT): Likewise.
27240         (MAX_VALUE_INIT): Likewise.
27241         (MIN_VALUE_INIT): Likewise.
27242         (MIN_SUBNORM_VALUE_INIT): Likewise.
27243         (plus_zero): Initialize with PLUS_ZERO_INIT.
27244         (minus_zero): Initialize with MINUS_ZERO_INIT.
27245         (plus_infty): Initialize with PLUS_INFTY_INIT.
27246         (minus_infty): Initialize with MINUS_INFTY_INIT.
27247         (qnan_value): Initialize with QNAN_VALUE_INIT.
27248         (max_value): Initialize with MAX_VALUE_INIT.
27249         (min_value): Initialize with MIN_VALUE_INIT.
27250         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27251
27252         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27253         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27254         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27255         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27256
27257         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27258         (RUN_TEST_2_f): Likewise.
27259         (RUN_TEST_ff_f): Likewise.
27260         (RUN_TEST_fi_f): Likewise.
27261         (RUN_TEST_fl_f): Likewise.
27262         (RUN_TEST_fff_f): Likewise.
27263         (RUN_TEST_c_f): Likewise.
27264         (RUN_TEST_f_f1): Likewise.
27265         (RUN_TEST_fF_f1): Likewise.
27266         (RUN_TEST_fI_f1): Likewise.
27267         (RUN_TEST_ffI_f1): Likewise.
27268         (RUN_TEST_c_c): Likewise.
27269         (RUN_TEST_cc_c): Likewise.
27270         (RUN_TEST_f_i): Likewise.
27271         (RUN_TEST_f_i_tg): Likewise.
27272         (RUN_TEST_ff_i_tg): Likewise.
27273         (RUN_TEST_f_b): Likewise.
27274         (RUN_TEST_f_b_tg): Likewise.
27275         (RUN_TEST_f_l): Likewise.
27276         (RUN_TEST_f_L): Likewise.
27277         (RUN_TEST_sincos): Likewise.
27278         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27279         whether to show exceptions.  Do not include ");\n" in return
27280         value.
27281         (special_functions): Output call to RUN_TEST_sincos instead of
27282         check_float calls.  Update calls to new_test.
27283         (parse_args): Output call to single RUN_TEST_* macro instead of
27284         check_* calls and other assignments.  Update calls to new_test.
27285
27286         [BZ #2546]
27287         [BZ #2560]
27288         [BZ #5159]
27289         [BZ #15426]
27290         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27291         input to result for tgamma overflow.
27292         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27293         (gamma_coeff): New variable.
27294         (NCOEFF): New macro.
27295         (gamma_positive): New function.
27296         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27297         underflow here.  Use gamma_positive instead of exp (lgamma) for
27298         other arguments.
27299         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27300         (gamma_coeff): New variable.
27301         (NCOEFF): New macro.
27302         (gammaf_positive): New function.
27303         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27304         underflow here.  Use gamma_positive instead of exp (lgamma) for
27305         other arguments.
27306         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27307         (gamma_coeff): New variable.
27308         (NCOEFF): New macro.
27309         (gammal_positive): New function.
27310         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27311         underflow here.  Use gamma_positive instead of exp (lgamma) for
27312         other arguments.
27313         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27314         (gamma_coeff): New variable.
27315         (NCOEFF): New macro.
27316         (gammal_positive): New function.
27317         (__ieee754_gammal_r): Handle positive infinity, overflow and
27318         underflow here.  Handle NaN the same as positive infinity.  Remove
27319         check x < 0xffffffff for negative integers.  Use gamma_positive
27320         instead of exp (lgamma) for other arguments.
27321         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27322         (gamma_coeff): New variable.
27323         (NCOEFF): New macro.
27324         (gammal_positive): New function.
27325         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27326         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27327         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27328         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27329         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27330         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27331         * sysdeps/generic/math_private.h (__gamma_productf): New
27332         prototype.
27333         (__gamma_product): Likewise.
27334         (__gamma_productl): Likewise.
27335         * math/Makefile (libm-calls): Add gamma_product.
27336         * math/libm-test.inc (tgamma_test): Add more tests.
27337         * sysdeps/i386/fpu/libm-test-ulps: Update.
27338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27339
27340 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27341
27342         * benchtests/bench-skeleton.c (main): Preheat CPU.
27343
27344 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27345
27346         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27347
27348 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27349
27350         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27351         and _dl_skip_args_internal.
27352
27353 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27354
27355         * manual/message.texi (Message Translation): Talk about users.
27356         Message to key mapping impacts design.
27357
27358 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27359
27360         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27361
27362         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27363
27364         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27365         * sysdeps/wordsize-64/glob64.c: ... here.
27366
27367         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27368         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27369         New macros.
27370
27371         * debug/getlogin_r_chk.c: Moved to ...
27372         * login/getlogin_r_chk.c: ... here.
27373         * debug/Makefile (routines): Move getlogin_r_chk to ...
27374         * login/Makefile (routines): ... here.
27375         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27376         * login/Versions (libc: GLIBC_2.4): ... here.
27377
27378         * io/poll.c (__poll): Renamed from poll.
27379         Add libc_hidden_def.
27380         (poll): Define as weak alias.
27381
27382         * debug/ptsname_r_chk.c: Moved to ...
27383         * login/ptsname_r_chk.c: ... here.
27384         * debug/Makefile (routines): Move ptsname_r_chk to ...
27385         * login/Makefile (routines): ... here.
27386         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27387         * login/Versions (libc: GLIBC_2.4): ... here.
27388
27389         * posix/getlogin.c: Moved to ...
27390         * login/getlogin.c: ... here.
27391         * posix/getlogin_r.c: Moved to ...
27392         * login/getlogin_r.c: ... here.
27393         * posix/getlogin_r.c: Moved to ...
27394         * login/getlogin_r.c: ... here.
27395         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27396         * login/Makefile (routines): ... here.
27397         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27398         * login/Versions (libc: GLIBC_2.0): ... here.
27399
27400         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27401         (setrlimit): Define as weak alias.
27402
27403         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27404         Call __ names for open, ftruncate, and close.
27405         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27406         (truncate): Define as weak alias.
27407
27408 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27409
27410         * math/gen-libm-test.pl (parse_args): Initialize x before each
27411         test of frexp, modf and remquo.
27412
27413         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27414         test signgam value.
27415
27416 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27417
27418         [BZ #15418]
27419         [BZ #15419]
27420         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27421         internal tests.
27422         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27423
27424 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27425
27426         * elf/dl-writev.h: New file.
27427         * elf/dl-misc.c: Include it.
27428         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27429         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27430
27431 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27432
27433         * math/libm-test.inc (noXFails): Remove variable.
27434         (noXPasses): Likewise.
27435         (BUILD_COMPLEX_INT): Remove macro.
27436         (print_screen): Remove xfail argument.
27437         (print_screen_max_error): Likewise.
27438         (update_stats): Likewise.
27439         (print_max_error): Likewise.  Update calls to other affected
27440         functions.
27441         (print_complex_max_error): Likewise.
27442         (test_single_exception): Update calls to print_screen.
27443         (test_single_errno): Likewise.
27444         (check_float_internal): Remove xfail argument.  Update calls to
27445         other affected functions.
27446         (check_float): Likewise.
27447         (check_complex): Likewise.
27448         (check_int): Likewise.
27449         (check_long): Likewise.
27450         (check_bool): Likewise.
27451         (check_longlong): Likewise.
27452         (main): Don't print noXFails and noXPasses.
27453         * math/gen-libm-test.pl (top level): Don't mention expected
27454         failure handling in comment.
27455         (new_test): Don't handle expected failures.
27456         (parse_args): Don't mention expected failure handling in comment.
27457         (generate_testfile): Don't handle expected failures.
27458         (parse_ulps): Likewise.
27459         (print_ulps_file): Likewise.
27460         (get_failure): Remove function.
27461         (output_test): Don't handle expected failures.
27462         * make/README.libm-test: Don't mention expected failure handling.
27463
27464         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27465         (minus_zero): Likewise.
27466         (plus_infty): Likewise.
27467         (minus_infty): Likewise.
27468         (qnan_value): Likewise.
27469         (max_value): Likewise.
27470         (min_value): Likewise.
27471         (min_subnorm_value): Likewise.
27472         (initialize): Do not initialize those variables dynamically.
27473
27474 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27475
27476         * io/open.c (__open_2): Moved to ...
27477         * io/open_2.c: ... this new file.
27478         * io/open64.c (__open64_2): Moved to ...
27479         * io/open64_2.c: ... this new file.
27480         * io/openat.c (__openat_2): Moved to ...
27481         * io/openat_2.c: ... this new file.
27482         * io/openat64.c (__openat64_2): Moved to ...
27483         * io/openat64_2.c: ... this new file.
27484         * io/Makefile (routines): Add them.
27485         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27486         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27487         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27488         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27489         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27490         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27491         (__openat64): Add hidden_ver.
27492         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27493         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27494
27495         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27496         Separately conditionalize setting of GLRO(dl_sysinfo) so
27497         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27498         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27499
27500 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27501
27502         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27504         definition.
27505         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27506         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27507         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27508         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27509         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27510
27511 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27512
27513         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27514         test signgam value.
27515
27516         * math/libm-test.inc (hypot_test): Do not use
27517         IGNORE_ZERO_INF_SIGN.
27518
27519 2013-05-03  Andreas Jaeger  <aj@suse.de>
27520
27521         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27522         Linux 3.9.
27523         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27524         (PF_MAX): Adjust for VSOCK change.
27525
27526 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27527
27528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27529
27530 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27531
27532         [BZ #15264]
27533         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27534         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27535         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27536
27537 2013-05-02  David S. Miller  <davem@davemloft.net>
27538
27539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27540
27541 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27542
27543         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27544
27545 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27546
27547         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27548
27549 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27550
27551         [BZ #14952]
27552         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27553         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27554         Use __attribute__ ((__gnu_inline__)).
27555         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27556         Don't use __attribute__ ((__gnu_inline__)).
27557
27558 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27559
27560         [BZ #15423]
27561         * math/s_catan.c (__catan): Handle small real or imaginary part of
27562         input specially to avoid spurious underflow.
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.
27572
27573 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27574
27575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27576
27577 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27578
27579         [BZ #15416]
27580         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27581         accurately for denominator in atan2.
27582         * math/s_catanf.c (__catanf): Likewise.
27583         * math/s_catanh.c (__catanh): Likewise.
27584         * math/s_catanhf.c (__catanhf): Likewise.
27585         * math/s_catanhl.c (__catanhl): Likewise.
27586         * math/s_catanl.c (__catanl): Likewise.
27587         * math/libm-test.inc (catan_test): Add more tests.
27588         (catanh_test): Likewise.
27589         * sysdeps/i386/fpu/libm-test-ulps: Update.
27590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27591
27592 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27593
27594         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27595
27596         * benchtests/Makefile (bench): Remove slow benchmarks.
27597         * benchtests/atan-inputs: Add slow benchmark inputs.
27598         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27599         (BENCH_FUNC): Accept variant offset.
27600         (VARIANT): Define.
27601         * benchtests/bench-skeleton.c (main): Run benchmark for each
27602         variant.
27603         * benchtests/cos-inputs: Add slow benchmark inputs.
27604         * benchtests/exp-inputs: Likewise.
27605         * benchtests/pow-inputs: Likewise.
27606         * benchtests/sin-inputs: Likewise.
27607         * benchtests/slowatan-inputs: Remove.
27608         * benchtests/slowatan.c: Remove.
27609         * benchtests/slowcos-inputs: Remove.
27610         * benchtests/slowcos.c: Remove.
27611         * benchtests/slowexp-inputs: Remove.
27612         * benchtests/slowexp.c: Remove.
27613         * benchtests/slowpow-inputs: Remove.
27614         * benchtests/slowpow.c: Remove.
27615         * benchtests/slowsin-inputs: Remove.
27616         * benchtests/slowsin.c: Remove.
27617         * benchtests/slowtan-inputs: Remove.
27618         * benchtests/slowtan.c: Remove.
27619         * benchtests/tan-inputs: Add slow benchmark inputs.
27620         * scripts/bench.pl: Parse comments and directives.
27621
27622         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27623         in CPPFLAGS.
27624         ($(objpfx)bench-%.c): Remove *-ITER.
27625         * benchtests/bench-modf.c: Remove definition of ITER.
27626         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27627         (main): Loop for DURATION seconds instead of fixed number of
27628         iterations.
27629         * scripts/bench.pl: Don't expect iterations in parameters.
27630
27631 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27632
27633         * io/fchdir.c (__fchdir): Renamed from fchdir.
27634         (fchdir): Define as weak alias.
27635
27636 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27637
27638         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27639         (ERRNO_EDOM): Likewise.
27640         (ERRNO_ERANGE): Likewise.
27641         (noErrnoTests): New variable.
27642         (init_max_error): Set errno to 0.
27643         (test_single_errno): New function.
27644         (test_errno): Likewise.
27645         (check_float_internal): Call test_errno.  Set errno to 0.
27646         (check_complex): Refer to errno tests in comment.
27647         (check_int): Call test_errno.  Set errno to 0.
27648         (check_long): Likewise.
27649         (check_bool): Likewise.
27650         (check_longlong): Likewise.
27651         (cos_test): Use ERRNO_* flags for errno tests instead of
27652         check_int.
27653         (expm1_test): Likewise.
27654         (fmod_test): Likewise.
27655         (ilogb_test): Likewise.
27656         (lgamma_test): Likewise.
27657         (pow_test): Likewise.
27658         (remainder_test): Likewise.
27659         (sin_test): Likewise.
27660         (tan_test): Likewise.
27661         (yn_test): Likewise.
27662         (initialize): Set errno to 0.
27663         (main): Print number of errno tests.
27664         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27665
27666 2013-04-29  Andreas Jaeger  <aj@suse.de>
27667
27668         [BZ #15084]
27669         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27670         and RES_USEVC.
27671
27672         [BZ #15085]
27673         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27674         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27675         unimplemented.
27676
27677         [BZ #15380]
27678         * stdlib/random.c (__initstate): Return NULL if
27679         __initstate fails.
27680
27681         [BZ #15086]
27682         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27683         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27684         RES_SNGLKUPREOP.
27685
27686 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687
27688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27689
27690 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27691
27692         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27693         of individual tests.
27694         (casin_test): Likewise.
27695         (casinh_test): Likewise.
27696
27697 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27698
27699         [BZ #15409]
27700         * math/s_catan.c (__catan): Handle arguments with large real or
27701         imaginary part separately without squaring.
27702         * math/s_catanf.c (__catanf): Likewise.
27703         * math/s_catanh.c (__catanh): Likewise.
27704         * math/s_catanhf.c (__catanhf): Likewise.
27705         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27706         and redefine.
27707         (__catanhl): Handle arguments with large real or imaginary part
27708         separately without squaring.
27709         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27710         and redefine.
27711         (__catanl): Handle arguments with large real or imaginary part
27712         separately without squaring.
27713         * math/libm-test.inc (catan_test): Add more tests.
27714         (catanh_test): Likewise.
27715         * sysdeps/i386/fpu/libm-test-ulps: Update.
27716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27717
27718 2013-04-27  Andreas Jaeger  <aj@suse.de>
27719
27720         [BZ #15007]
27721         * stdlib/stdlib.h: Update guards for qecvt.
27722         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27723         <stdlib.h>.
27724
27725 2013-04-27  Allan McRae  <allan@archlinux.org>
27726
27727         * sysdeps/i386/fpu/libm-test-ulps: Update.
27728
27729 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27730
27731         [BZ #15406]
27732         * math/s_catan.c: Include <float.h>.
27733         (__catan): Ensure underflow exception occurs for underflowed
27734         result.
27735         * math/s_catanf.c: Include <float.h>.
27736         (__catanf): Ensure underflow exception occurs for underflowed
27737         result.
27738         * math/s_catanh.c: Include <float.h>.
27739         (__catanh): Ensure underflow exception occurs for underflowed
27740         result.
27741         * math/s_catanhf.c: Include <float.h>.
27742         (__catanhf): Ensure underflow exception occurs for underflowed
27743         result.
27744         * math/s_catanhl.c: Include <float.h>.
27745         (__catanhl): Ensure underflow exception occurs for underflowed
27746         result.
27747         * math/s_catanl.c: Include <float.h>.
27748         (__catanl): Ensure underflow exception occurs for underflowed
27749         result.
27750         * math/libm-test.inc (catan_test): Add more tests.
27751         (catanh_test): Likewise.
27752
27753         [BZ #15405]
27754         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27755         underflowed result.
27756         * math/s_ccoshf.c (__ccoshf): Likewise.
27757         * math/s_ccoshl.c (__ccoshl): Likewise.
27758         * math/s_csin.c (__csin): Likewise.
27759         * math/s_csinf.c (__csinf): Likewise.
27760         * math/s_csinh.c (__csinh): Likewise.
27761         * math/s_csinhf.c (__csinhf): Likewise.
27762         * math/s_csinhl.c (__csinhl): Likewise.
27763         * math/s_csinl.c (__csinl): Likewise.
27764         * math/libm-test.inc (ccos_test): Add more tests.
27765         (ccosh_test): Likewise.
27766         (csin_test): Likewise.
27767         (csinh_test): Likewise.
27768
27769 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27770
27771         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27772         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27773         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27774         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27775         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27776         powerpc/power5+/fpu folders.
27777         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27778
27779
27780 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27781
27782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27783
27784 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27785
27786         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27787         additions to variable.
27788         [$(config-machine) = x86_64] (modules-names): Likewise.
27789         ($(objpfx)tst-audit3): Remove dependency.
27790         ($(objpfx)tst-audit3.out): Likewise.
27791         ($(objpfx)tst-audit4): Likewise.
27792         ($(objpfx)tst-audit4.out): Likewise.
27793         ($(objpfx)tst-audit5): Likewise.
27794         ($(objpfx)tst-audit5.out): Likewise.
27795         ($(objpfx)tst-audit6): Likewise.
27796         ($(objpfx)tst-audit6.out): Likewise.
27797         ($(objpfx)tst-audit7): Likewise.
27798         ($(objpfx)tst-audit7.out): Likewise.
27799         (tst-audit3-ENV): Remove variable.
27800         (tst-audit4-ENV): Likewise.
27801         (tst-audit5-ENV): Likewise.
27802         (tst-audit6-ENV): Likewise.
27803         (tst-audit7-ENV): Likewise.
27804         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27805         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27806         addition to variable.
27807         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27808         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27809         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27810         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27811         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27812         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27813         tst-audit3, tst-audit4 and tst-audit5.
27814         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27815         tst-audit6 and tst-audit7.
27816         [$(subdir) = elf] (modules-names): Add audit modules for those
27817         tests.
27818         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27819         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27820         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27821         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27822         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27823         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27824         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27825         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27826         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27827         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27828         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27829         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27830         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27831         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27832         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27833         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27834         Likewise.
27835         [$(subdir) = elf && $(config-cflags-avx) = yes]
27836         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27837         [$(subdir) = elf && $(config-cflags-avx) = yes]
27838         (CFLAGS-tst-auditmod4a.c): Likewise.
27839         [$(subdir) = elf && $(config-cflags-avx) = yes]
27840         (CFLAGS-tst-auditmod4b.c): Likewise.
27841         [$(subdir) = elf && $(config-cflags-avx) = yes]
27842         (CFLAGS-tst-auditmod6b.c): Likewise.
27843         [$(subdir) = elf && $(config-cflags-avx) = yes]
27844         (CFLAGS-tst-auditmod6c.c): Likewise.
27845         [$(subdir) = elf && $(config-cflags-avx) = yes]
27846         (CFLAGS-tst-auditmod7b.c): Likewise.
27847         * elf/tst-audit3.c: Move to ...
27848         * sysdeps/x86_64/tst-audit3.c: ... here.
27849         * elf/tst-audit4.c: Move to ...
27850         * sysdeps/x86_64/tst-audit4.c: ... here.
27851         * elf/tst-audit5.c: Move to ...
27852         * sysdeps/x86_64/tst-audit5.c: ... here.
27853         * elf/tst-audit6.c: Move to ...
27854         * sysdeps/x86_64/tst-audit6.c: ... here.
27855         * elf/tst-audit7.c: Move to ...
27856         * sysdeps/x86_64/tst-audit7.c: ... here.
27857         * elf/tst-auditmod3a.c: Move to ...
27858         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27859         * elf/tst-auditmod3b.c: Move to ...
27860         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27861         * elf/tst-auditmod4a.c: Move to ...
27862         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27863         * elf/tst-auditmod4b.c: Move to ...
27864         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27865         * elf/tst-auditmod5a.c: Move to ...
27866         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27867         * elf/tst-auditmod5b.c: Move to ...
27868         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27869         * elf/tst-auditmod6a.c: Move to ...
27870         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27871         * elf/tst-auditmod6b.c: Move to ...
27872         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27873         * elf/tst-auditmod6c.c: Move to ...
27874         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27875         * elf/tst-auditmod7a.c: Move to ...
27876         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27877         * elf/tst-auditmod7b.c: Move to ...
27878         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27879
27880 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27881
27882         [BZ #15366]
27883         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27884         define unconditionally.
27885         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27886         define unconditionally.
27887         (INT8_C, INT16_C, etc.): Likewise.
27888
27889 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27890
27891         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27892         __ehdr_start with hidden visibility.
27893
27894         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27895
27896 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27897
27898         * math/libm-test.inc (cos_test): Use accurate hex constants.
27899         (sincost_test): Likewise.
27900
27901 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27902
27903         * math/libm-test.inc (catan_test): Add more tests.
27904         (catanh_test): Likewise.
27905
27906         * math/s_catanf.c (__catanf): Use suffixed floating-point
27907         constants.
27908         * math/s_catanhf.c (__catanhf): Likewise.
27909         * math/s_catanhl.c (__catanhl): Likewise.
27910         * math/s_catanl.c (__catanl): Likewise.
27911
27912         [BZ #15394]
27913         * math/s_catan.c (__catan): Calculate imaginary part of result
27914         with log1p not log unless computing log of number close to 0.
27915         * math/s_catanf.c (__catanf): Likewise.
27916         * math/s_catanl.c (__catanl): Likewise.
27917         * math/s_catanh.c (__catanh): Calculate real part of result with
27918         log1p not log unless computing log of number close to 0.
27919         * math/s_catanhf.c (__catanhf): Likewise.
27920         * math/s_catanhl.c (__catanhl): Likewise.
27921         * math/libm-test.inc (catan_test): Add more tests.
27922         (catanh_test): Likewise.
27923         * sysdeps/i386/fpu/libm-test-ulps: Update.
27924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27925
27926 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27927
27928         * benchtests/Makefile: Mention files in which fast and slow
27929         paths of math functions are implemented.
27930
27931 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27932
27933         * sysdeps/posix/timespec_get.c: New file.
27934
27935 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27936
27937         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27938         POWER.
27939         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27940         for POWER.
27941         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27942         powerpc/power5/fpu folders.
27943         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27944         * benchtests/Makefile: Add modf testcase.
27945         * benchtests/bench-modf.c: New file: Benchmark test for mo
27946
27947 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27948
27949         [BZ #14888]
27950         * time/Makefile (tests): Add tst-strptime-whitespace.
27951         * time/strptime_l.c (get_number): Use ISSPACE.
27952         (__strptime_internal): Likewise.
27953         * time/tst-strptime-whitespace.c: New test case.
27954
27955 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27956
27957         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27958         member.
27959         (_nss_files_init): Set it here.
27960
27961 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27962
27963         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27964         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27965         unsigned.
27966
27967 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27968
27969         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27970
27971 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27972
27973         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27974         size just once.
27975
27976 2013-04-21  David S. Miller  <davem@davemloft.net>
27977
27978         * po/ru.po: Update Russion translation from translation project.
27979
27980 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27981
27982         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27983         and setfsgid.
27984
27985 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27986
27987         * configure.in: Remove i386 configure warning. Remove i386 case.
27988         * configure: Regenerate.
27989         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27990         Add example to error message.
27991         * sysdeps/i386/configure: Regenerate.
27992
27993 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27994
27995         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27996         slowtan.
27997         * benchtests/cos-inputs: New file.
27998         * benchtests/slowcos-inputs: New file.
27999         * benchtests/slowcos.c: New file.
28000         * benchtests/slowtan-inputs: New file.
28001         * benchtests/slowtan.c: New file.
28002         * benchtests/tan-inputs: New file.
28003
28004 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28005
28006         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28007         considered kosher.
28008
28009 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28010
28011         * benchtests/Makefile: Include cppflags-iterator.mk to add
28012         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28013
28014         * Makefile.in (bench-clean): New target.
28015         * benchtests/Makefile (bench-clean): Likewise.
28016
28017 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28018
28019         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28020
28021 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28022
28023         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28024
28025 2013-04-15  Andreas Schwab  <schwab@suse.de>
28026
28027         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28028         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28029         * nscd/pwdcache.c (cache_addpw): Likewise.
28030         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28031         more than recsize.
28032
28033 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28034
28035         * benchtests/Makefile (bench): Write all output to
28036         bench-out.tmp together.
28037
28038 2013-04-15  Andreas Schwab  <schwab@suse.de>
28039
28040         * nscd/nscd.c (main): Don't fork again after closing files.
28041
28042 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28043
28044         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28045
28046         * benchtests/Rules (bench-deps): Collect dependencies into a
28047         single variable.  Add Makefile to dependencies.
28048         ($(objpfx)bench-%.c): Depend on bench-deps.
28049
28050 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28051             Xavier Roche  <roche+kml2@exalead.com>
28052
28053         [BZ #15361]
28054         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28055         just that it's a file descriptor.
28056         * manual/llio.texi (Synchronizing AIO Operations): Update description
28057         for EBADF error from aio_fsync.
28058
28059 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28060
28061         * Rules (bench): Move target definition...
28062         * benchtests/Makefile: ... here.
28063
28064 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28065
28066         * math/libm-test.inc (cos_test): Fix PI/2 test.
28067         (sincos_test): Likewise.
28068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28069         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28070
28071 2013-04-11  Andreas Schwab  <schwab@suse.de>
28072
28073         [BZ #13988]
28074         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28075         accept exponent character only when digits were seen.
28076         * stdio-common/Makefile (tests): Add bug26.
28077         * stdio-common/bug26.c: New file.
28078
28079         [BZ #14293]
28080         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28081         non-freeable.
28082
28083 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28084
28085         * Makeconfig (rtld-prefix): Define built linker prefix.
28086         * Rules (run-bench): Use it.
28087         * math/Makefile (run-regen-ulps): Likewise.
28088
28089         * Rules (bench): Remove eval.
28090
28091 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28092             Roland McGrath  <roland@hack.frob.com>
28093             Ondrej Bilka  <neleai@seznam.cz>
28094
28095         [BZ #15346]
28096         * time/getdate.c: Include ctype.h and alloca.h.
28097         (__getdate_r): Trim leading and trailing spaces of input.
28098         * time/tst-getdate.c (tests): Add tests with leading and
28099         trailing spaces.
28100
28101 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28102
28103         [BZ #14280]
28104         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28105         when computing value.
28106
28107 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28108
28109         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28110         Use testrun.sh to run libm tests.
28111
28112         [BZ #15309]
28113         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28114
28115 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28116
28117         [BZ #15264]
28118         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28119
28120 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28121
28122         * Makefile.in (regen-ulps): New target.
28123         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28124         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28125         [ifneq (no,$(PERL)] (regen-ulps): New target.
28126         [ifeq (no,$(PERL)] (regen-ulps): New target.
28127         * math/libm-test.inc (ulps_file_name): Define.
28128         (output_dir): New variable.
28129         (options): Add "output-dir" option.
28130         (parse_opt): Handle 'o' case.
28131         (main): If output_dir is non-NULL use it as a prefix
28132         otherwise use "".
28133         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28134
28135 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28136
28137         [BZ #10060, #10062]
28138         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28139         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28140         fail configure if __sync_val_compare_and_swap is not inlined.
28141         * sysdeps/i386/configure: Regenerate.
28142         * configure.in: Build for i686 when configured for i386.
28143         * configure: Regenerate.
28144         * README: Remove i386 reference.
28145
28146 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28147
28148         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28150
28151 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28152
28153         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28154         (lmsnanval): New variables.
28155         (F): Add conversion tests.
28156         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28157         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28158
28159         * stdio-common/tstdiomisc.c (F): Properly collect individual
28160         tests' results.
28161
28162         [BZ #14686, #15336]
28163         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28164         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28165         Instead, use input NaN values or generate a qNaN by arithmetic
28166         operation.  Also fix bugs to comply with the standard.
28167         * math/libm-test.inc (remainder_test): Add more tests.
28168
28169         [BZ #15335, #15342]
28170         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28172         input NaN values or generate a qNaN by arithmetic operation.
28173
28174         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28175         unreachable code.
28176
28177         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28178         definitions.
28179
28180 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28181
28182         [BZ #14478]
28183         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28184         underflowed result.
28185         * math/s_cexpf.c (__cexpf): Likewise.
28186         * math/s_cexpl.c (__cexpl): Likewise.
28187         * math/libm-test.inc (cexp_test): Add more tests.
28188
28189 2013-04-03  Andreas Schwab  <schwab@suse.de>
28190
28191         [BZ #15330]
28192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28193         order arrays from heap if bigger than alloca cutoff.
28194
28195 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28196
28197         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28198         (SNAN_TESTS_double): Refer to GCC PR56831.
28199         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28200         GCC PR56828.
28201
28202 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28203
28204         * Rules (bench): Move bench.out after the run is complete.
28205
28206         * Rules (bench): Echo currently running benchmark.
28207
28208         * benchtests/Makefile (bench): Add atan and slowatan.
28209         * benchtests/atan-inputs: New file.
28210         * benchtests/slowatan-inputs: New file.
28211         * benchtests/slowatan.c: New file.
28212
28213         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28215         its value.
28216
28217         [BZ #15305]
28218         * sysdeps/unix/sysv/linux/kernel-features.h
28219         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28220         __ASSUME_XFS_RESTRICTED_CHOWN.
28221         * sysdeps/unix/sysv/linux/pathconf.c
28222         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28223         Save and restore errno.
28224
28225 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28226
28227         [BZ #15327]
28228         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28229         arguments using __kernel_casinh.
28230         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28231         arguments using __kernel_casinhf.
28232         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28233         arguments using __kernel_casinhl.
28234         * math/libm-test.inc (cacosh_test): Add more tests.
28235         * sysdeps/i386/fpu/libm-test-ulps: Update.
28236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28237
28238 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28239
28240         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28242
28243         * bench/Makefile (bench): Add sin and slowsin.
28244         * benchtests/sin-inputs: New file.
28245         * benchtests/slowsin-inputs: New file.
28246         * benchtests/slowsin.c: New file.
28247
28248         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28249         (bench): Add slowexp and slowpow.
28250         (exp-ITER): Increase iterations.
28251         (pow-ITER): Likewise.
28252         * benchtests/exp-inputs: Change input.
28253         * benchtests/pow-inputs: Likewise.
28254         * benchtests/slowexp-inputs: New file.
28255         * benchtests/slowexp.c: New file.
28256         * benchtests/slowpow-inputs: New file.
28257         * benchtests/slowpow.c: New file.
28258
28259 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28260
28261         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28262         instructions.
28263         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28264         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28265         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28266         * benchtests/Makefile: Add rint benchtest.
28267         * benchtests/rint-inputs: Input for rint benchtest.
28268
28269 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28270
28271         * Versions.def (libm): Add GLIBC_2.18.
28272         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28273         hidden libm prototypes.
28274         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28275         * math/Makefile (libm-calls): Add s_issignaling.
28276         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28277         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28278         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28279         declaration.
28280         * math/math.h [__USE_GNU] (issignaling): New macro.
28281         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28282         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28283         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28284         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28285         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28286         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28287         * manual/arith.texi (issignaling): New section.
28288         * manual/libm-err-tab.pl (@all_functions): Update comment.
28289         * math/gen-libm-test.pl (parse_args): Apply special handling for
28290         issignaling.
28291         * math/libm-test.inc (print_float, issignaling_test): New
28292         functions.
28293         (check_float_internal): Add issignaling checks.
28294         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28295         default definition.
28296         * sysdeps/powerpc/math-tests.h: New file.
28297         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28298         tests.
28299         * math/test-snan.c (TEST_FUNC): Likewise.
28300
28301 2013-03-30  David S. Miller  <davem@davemloft.net>
28302
28303         * po/de.po: Update from translation team.
28304
28305 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28306
28307         [BZ #10357]
28308         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28309         imaginary part less than 1.0 and real part less than 0.5
28310         specially.
28311         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28312         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28313         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28314         (cacos_test): Add more tests.
28315         (casin_test): Likewise.
28316         (casinh_test): Likewise.
28317         * sysdeps/i386/fpu/libm-test-ulps: Update.
28318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319
28320 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28321
28322         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28323         ONE with its value.
28324
28325         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28326         (__pow_mp): Replace ONE and MONE with their values.
28327         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28329         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28330         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28331         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28332         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28333
28334         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28335
28336         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28337         (__pow_mp): Replace ZERO and MZERO with their values.
28338         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28339         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28342         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28343         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28344         (__sqr): Likewise.
28345
28346         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28347
28348         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28349
28350 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28351
28352         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28353         Declare with __attribute__ ((weak)).
28354         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28355         Call __call_tls_dtors only if it's not NULL.
28356
28357 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28358
28359         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28360         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28361         magic __ehdr_start linker symbol if it's defined.
28362         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28363         them up here if it was already done.
28364
28365         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28366         (_dl_aux_init): Use const in cast when setting it.
28367         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28368         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28369         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28370
28371         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28372         Declare them here.
28373         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28374         * csu/libc-tls.c: Nor here.
28375         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28376
28377         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28378         (__libc_message): Never call vsyslog.
28379
28380 2013-03-28  Alan Modra  <amodra@gmail.com>
28381
28382         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28383         Define as empty.
28384         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28385         Likewise.
28386
28387 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28388
28389         [BZ #15214]
28390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28391         underflow.
28392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28393
28394 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28395
28396         [BZ #15304]
28397         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28398         Don't add gid passed as argument.
28399
28400         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28401
28402 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28403
28404         [BZ #15307]
28405         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28406         imaginary part between 1.0 and 1.5 and real part less than 0.5
28407         specially.
28408         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28409         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28410         * math/libm-test.inc (cacos_test): Add more tests.
28411         (casin_test): Likewise.
28412         (casinh_test): Likewise.
28413         * sysdeps/i386/fpu/libm-test-ulps: Update.
28414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28415
28416 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28417
28418         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28419         constants.
28420         (norm): Likewise.
28421         (denorm): Likewise.
28422         (__dbl_mp): Likewise.
28423         (add_magnitudes): Likewise.
28424         (sub_magnitudes): Likewise.
28425         (__add): Likewise.
28426         (__sub): Likewise.
28427         (__mul): Likewise.
28428         (__sqr): Likewise.
28429         (__inv): Likewise.
28430         (__dvd): Likewise.
28431
28432         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28433         commented code.
28434         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28435         (__dubcos): Likewise.
28436         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28437         (__ieee754_acos): Likewise.
28438         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28439         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28440         (__exp1): Likewise.
28441         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28442         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28443         (log1): Likewise.
28444         (my_log2): Likewise.
28445         (checkint): Likewise.
28446         * sysdeps/ieee754/dbl-64/e_remainder.c
28447         (__ieee754_remainder): Likewise.
28448         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28450         (bsloww): Likewise.
28451         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28452
28453         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28454         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28455         MANTISSA_STORE_T to store computations on mantissa.  Use
28456         macros for rounding and division.
28457         (denorm): Likewise.
28458         (__dbl_mp): Likewise.
28459         (add_magnitudes): Likewise.
28460         (sub_magnitudes): Likewise.
28461         (__mul): Likewise.
28462         (__sqr): Likewise.
28463         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28464         powers of two in terms of TWOPOW macro.
28465         (mp_no): Make type of mantissa as MANTISSA_T.
28466         [!RADIXI]: Define RADIXI.
28467         [!TWO52]: Define TWO52.
28468         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28469
28470 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28471
28472         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28473         llroundl symbol when building for PPC32.
28474
28475 2013-03-24  Mark H Weaver  <mhw@netris.org>
28476
28477         * manual/arith.texi (Normalization Functions): Fix prototypes for
28478         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28479
28480 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28481
28482         [BZ #13889]
28483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28484         high value to check if expl overflow.
28485         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28486         to check for underflow and overflow.
28487         * math/libm-test.inc: Add exp test.
28488
28489 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28490
28491         [BZ #11120]
28492         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28493         with NOT_IN_libc.
28494
28495 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28496
28497         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28498         symbol.
28499
28500 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28501
28502         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28503         wrap blocks consisting of several statements.
28504
28505         * sysdeps/generic/math-tests.h: New file.
28506         * sysdeps/i386/fpu/math-tests.h: Likewise.
28507         * math/test-snan.c: Include it.
28508         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28509
28510 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28511
28512         [BZ #15285]
28513         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28514         (__ieee754_j0l): Do not improve calculations using cos of twice
28515         input for inputs above LDBL_MAX / 2.0L.
28516         (__ieee754_y0l): Likewise.
28517         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28518         (__ieee754_j1l): Do not improve calculations using cos of twice
28519         input for inputs above LDBL_MAX / 2.0L.
28520         (__ieee754_y1l): Likewise.
28521         * math/libm-test.inc (j0_test): Add another test.
28522         (j1_test): Likewise.
28523         (y0_test): Likewise.
28524         (y1_test): Likewise.
28525         * sysdeps/i386/fpu/libm-test-ulps: Update.
28526
28527 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28528
28529         * Rules ($(objpfx)bench-%.c): Include code from a C source
28530         file.
28531
28532 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28533
28534         [BZ #15287]
28535         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28536         imaginary part 1.0 and real part less than 0.5 specially.
28537         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28538         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28539         * math/libm-test.inc (cacos_test): Add more tests.
28540         (casin_test): Likewise.
28541         (casinh_test): Likewise.
28542         * sysdeps/i386/fpu/libm-test-ulps: Update.
28543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28544
28545 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28546
28547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28548         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28549
28550 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28551
28552         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28553         * config.make.in (config-cflags-sse4): Remove variable.
28554         (config-cflags-avx): Likewise.
28555         (config-cflags-sse2avx): Likewise.
28556         (config-cflags-novzeroupper): Likewise.
28557         (config-asflags-i686): Likewise.
28558         (have-mfma4): Likewise.
28559         (have-as-vis3): Likewise.
28560         (MIG): Likewise.
28561         * configure.in (MIG): Do not AC_SUBST.
28562         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28563         (libc_cv_cc_sse4): Do not AC_SUBST.
28564         (libc_cv_cc_avx): Likewise.
28565         (libc_cv_cc_sse2avx): Likewise.
28566         (libc_cv_cc_novzeroupper): Likewise.
28567         (libc_cv_cc_fma4): Likewise.
28568         (libc_cv_as_i686): Likewise.
28569         (libc_cv_sparc_as_vis3): Likewise.
28570         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28571         LIBC_CONFIG_VAR.
28572         (config-asflags-i686): Likewise.
28573         (config-cflags-avx): Likewise.
28574         (config-cflags-sse2avx): Likewise.
28575         (have-mfma4): Likewise.
28576         (config-cflags-novzeroupper): Likewise.
28577         * sysdeps/mach/configure.in (MIG): Likewise.
28578         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28579         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28580         LIBC_CONFIG_VAR.
28581         (config-cflags-avx): Likewise.
28582         (config-cflags-sse2avx): Likewise.
28583         (have-mfma4): Likewise.
28584         (config-cflags-novzeroupper): Likewise.
28585         * configure: Regenerated.
28586         * sysdeps/i386/configure: Likewise.
28587         * sysdeps/mach/configure: Likewise.
28588         * sysdeps/sparc/configure: Likewise.
28589         * sysdeps/x86_64/configure: Likewise.
28590
28591 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28592
28593         [BZ #14812]
28594         * locale/programs/localedef.c (options): Put N_ translation marker
28595         on argument names, not just descriptions.
28596
28597 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28598
28599         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28600
28601 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28602
28603         [BZ #14176]
28604         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28605
28606 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28607
28608         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28609         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28610         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28611         [!BEFORE_ABORT] (before_abort): New function.
28612         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28613         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28614         (writev_for_fatal): New function.
28615         (WRITEV_FOR_FATAL): New macro; call that.
28616         (backtrace_and_maps): New function.
28617         (BEFORE_ABORT): New macro; call that.
28618         (struct str_list): Type removed.
28619         (__libc_message, __libc_fatal): Functions removed.
28620         Include <sysdeps/posix/libc_fatal.c> instead.
28621
28622 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28623
28624         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28625         constants.
28626         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28627         double constants.
28628
28629 2013-03-19  Andreas Schwab  <schwab@suse.de>
28630
28631         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28632         * sysdeps/gnu/configure: Regenerate.
28633
28634         * configure.in: Substitute libc_cv_rtlddir.
28635         * configure: Regenerate.
28636         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28637         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28638         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28639         * elf/Makefile (install-others, CFLAGS-interp.c)
28640         (ldso_install, common-ldd-rewrite): Likewise.
28641         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28642         $(inst_slibdir)/$(rtld-installed-name).
28643         * scripts/rellns-sh: Add -p option.
28644         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28645         for source.
28646
28647 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28648
28649         * manual/nptl.texi: Renamed to ...
28650         * manual/threads.texi: ... this.
28651         * manual/Makefile (chapters): Update.
28652
28653 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28654
28655         [BZ #14812]
28656         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28657         on argument names, not just descriptions.
28658         * malloc/memusagestat.c (options): Likewise.
28659         * nss/getent.c (options): Likewise.
28660
28661 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28662
28663         [BZ #14812]
28664         * iconv/iconv_prog.c (options): Put N_ translation marker
28665         on argument names, not just descriptions.
28666         * iconv/iconvconfig.c (options): Likewise.
28667
28668 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28669
28670         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28671         implementation which is faster on all x86_64 architectures.
28672         Tested on AMD, Intel Nehalem, SNB, IVB.
28673         * sysdeps/x86_64/strnlen.S: Likewise.
28674
28675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28676         Remove all multiarch strlen and strnlen versions.
28677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28678         Remove strlen and strnlen related parts.
28679
28680         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28681         Inline strlen part.
28682         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28683
28684         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28685         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28686         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28687         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28688         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28689         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28690
28691 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28692
28693         * manual/memory.texi (Malloc Tunable Parameters):
28694         Sort parameters alphabetically. Add comments for missing entries.
28695
28696 2013-03-17  David S. Miller  <davem@davemloft.net>
28697
28698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28699
28700 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28701
28702         [BZ #15283]
28703         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28704         for arguments at most half maximum finite value.
28705         * math/libm-test.inc (j0_test): Add more tests.
28706         (j1_test): Likewise.
28707         (y0_test): Likewise.
28708         (y1_test): Likewise.
28709         * sysdeps/i386/fpu/libm-test-ulps: Update.
28710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711
28712         [BZ #14155]
28713         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28714         1 / x and functions P and Q for arguments above 0x1p256L.
28715         (__ieee754_y0l): Likewise.
28716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28717         (__ieee754_y1l): Likewise.
28718         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28719         (j1_test): Likewise.
28720         (y0_test): Likewise.
28721         (y1_test): Likewise.
28722
28723 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28724
28725         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28726         variable.
28727
28728 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28729
28730         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28731         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28732         zero since it's initialized to EXEC_PAGESIZE.
28733
28734         * sysdeps/unix/sysv/linux/ldsodefs.h
28735         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28736         * sysdeps/generic/ldsodefs.h: ... here.
28737
28738 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28739
28740         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28741
28742         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28743         math/test-snan.c.
28744         * math/test-snan.c: Renamed from
28745         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28746         * math/Makefile (tests): Add test-snan.
28747         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28748         test-powerpc-snan.
28749
28750         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28751         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28752         functions.
28753         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28754         __builtin_nan family of functions.
28755         * math/libm-test.inc (initialize): Initialize qnan_value with
28756         __builtin_nan family of functions.
28757         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28758         Remove variables.
28759         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28760         Remove functions.
28761         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28762         storage class.  Initialize qNaN_var and sNaN_var with
28763         __builtin_nan and __builtin_nans families of functions,
28764         respectively.
28765
28766         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28767         (sqrt_test): Remove duplicate test with qNaN input.
28768         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28769         (round_test, signbit_test, significand_test): Note missing +/-Inf
28770         as well as qNaN tests.
28771
28772         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28773         qNaN_var.  Fix a few strings, too.
28774         * math/libm-test.inc (nan_value): Rename to qnan_value.
28775         * math/gen-libm-test.pl (%beautify): Adjust to that.
28776         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28777         * math/test-misc.c (main): Likewise.
28778         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28779         to __qnan_bytes, and __qnan_union, respectively.
28780         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28781         Likewise.
28782         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28783         and lqnanval, respectively.
28784         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28785         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28786         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28787         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28788
28789         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28790         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28791         doubles.
28792
28793         * math/test-misc.c (main): Fix copy'n'pastos.
28794         * misc/tst-efgcvt.c (special): Likewise.
28795
28796         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28797         Remove declarations.
28798
28799 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28800
28801         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28802         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28803         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28804         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28805
28806 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28807
28808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28809         macro to return vdso values correctly in IFUNC implementations.
28810         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28811         Optimization by using IFUNC.
28812
28813 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28814             Richard Henderson  <rth@redhat.com>
28815             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28816
28817         * Makefile.in (bench): New target.
28818         * NEWS: Mention the benchmark framework.
28819         * Rules (bench): Likewise.
28820         (binaries-bench): Generate binaries for functions to
28821         benchmark.
28822         * benchtests/Makefile: New makefile for benchmark tests.
28823         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28824         programs.
28825         * benchtests/exp-inputs: New input file for EXP function.
28826         * benchtests/pow-inputs: New input file for POW function.
28827         * scripts/bench.pl: New script to generate source files for
28828         benchmark programs.
28829
28830 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28831
28832         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28833         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28834         computations on mantissa.  Use macros for rounding and
28835         division.
28836         (denorm): Likewise.
28837         (__dbl_mp): Likewise.
28838         (add_magnitudes): Likewise.
28839         (sub_magnitudes): Likewise.
28840         (__mul): Likewise.
28841         (__sqr): Likewise.
28842         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28843         powers of two in terms of TWOPOW macro.
28844         (mp_no): Make type of mantissa as MANTISSA_T.
28845         [!RADIXI]: Define RADIXI.
28846         [!TWO52]: Define TWO52.
28847         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28848
28849         * manual/nptl.texi (cindex): Modify threads to pthreads.
28850
28851 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28852
28853         * sysdeps/x86_64/preconfigure: Regenerated.
28854
28855 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28856
28857         [BZ #14155]
28858         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28859         0x1p28 and above.
28860         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28861         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28862         0x1p28 and above.
28863         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28864         * math/libm-test.inc (j0_test): Do not allow one spurious
28865         underflow exception.
28866         (y1_test): Likewise.
28867
28868 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28869
28870         * manual/Makefile (chapters): Add nptl.
28871         * manual/debug.texi (Debugging Support): Add link to Threads
28872         chapter.
28873         * manual/nptl.texi: New file.
28874
28875         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28876
28877 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28878
28879         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28880         for non-NULL pointer before the memory validity test. Pointed
28881         out by Holger Brunck <holger.brunck@keymile.com>.
28882
28883 2013-03-13  Andreas Schwab  <schwab@suse.de>
28884
28885         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28886         instead of .os.
28887
28888 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28889
28890         * timezone/zic.c: Update from tzcode 2013b.
28891
28892 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28893
28894         * manual/install.texi (Configuring and compiling):
28895         Mention i686 and i586.
28896         * INSTALL: Regenerate.
28897
28898 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28899
28900         * sysdeps/init_array/elf-init.c: New file.
28901         * csu/elf-init.c
28902         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28903         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28904
28905         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28906         __gmon_start__ as global, but as static with a .preinit_array pointer.
28907         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28908         * sysdeps/init_array/crti.S: New file, empty except for comments.
28909         * sysdeps/init_array/crtn.S: Likewise.
28910
28911 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28912
28913         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28914         definining bcopy.
28915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28916         Remove Prefer_SSE_for_memop.
28917         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28918         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28919         HAS_PREFER_SSE_FOR_MEMOP.
28920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28921         memset-x86-64.
28922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28923         Remove bzero, memset ifunc support.
28924         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28925         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28926         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28927         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28928
28929 2013-03-11  Andreas Schwab  <schwab@suse.de>
28930
28931         [BZ #15234]
28932         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28933         by SHLIB_COMPAT.
28934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28935         (GLIBC_2.16): Remove pthread_atfork.
28936
28937 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28938
28939         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28940         (ptestcases.h): Likewise.
28941
28942 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28943
28944         * Makeconfig ($(common-objpfx)config.status): Depend on
28945         sysdeps/*/preconfigure{,.in} too.
28946
28947 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28948
28949         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28950         (__free_hook): Use void * instead of __malloc_ptr_t.
28951         (__malloc_hook): Likewise.
28952         (__realloc_hook): Likewise.
28953         (__memalign_hook): Likewise.
28954         (__after_morecore_hook): Likewise.
28955         * malloc/arena.c (save_malloc_hook): Likewise.
28956         (save_free_hook): Likewise.
28957         * malloc/hooks.c (malloc_hook_ini): Likewise.
28958         (realloc_hook_ini): Likewise.
28959         (memalign_hook_ini): Likewise.
28960         * malloc/malloc.c (malloc_hook_ini): Likewise.
28961         (realloc_hook_ini): Likewise.
28962         (memalign_hook_ini): Likewise.
28963         (__free_hook): Likewise.
28964         (__malloc_hook): Likewise.
28965         (__realloc_hook): Likewise.
28966         (__memalign_hook): Likewise.
28967         (__libc_malloc): Likewise.
28968         (__libc_free): Likewise.
28969         (__libc_realloc): Likewise.
28970         (__libc_memalign): Likewise.
28971         (__libc_valloc): Likewise.
28972         (__libc_pvalloc): Likewise.
28973         (__libc_calloc): Likewise.
28974         (__posix_memalign): Likewise.
28975         * malloc/morecore.c (__sbrk): Likewise.
28976         (__default_morecore): Likewise.
28977
28978         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28979
28980         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28981         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28982         __malloc_ptrdiff_t.
28983
28984         * malloc/malloc.h (__malloc_size_t): Remove macro.
28985         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28986         __malloc_size_t.
28987         (old_memalign_hook): Likewise.
28988         (old_realloc_hook): Likewise.
28989         (struct hdr): Likewise.
28990         (flood): Likewise.
28991         (mallochook): Likewise.
28992         (memalignhook): Likewise.
28993         (reallochook): Likewise.
28994         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28995         (tr_old_realloc_hook): Likewise.
28996         (tr_old_memalign_hook): Likewise.
28997         (tr_mallochook): Likewise.
28998         (tr_reallochook): Likewise.
28999         (tr_memalignhook): Likewise.
29000
29001 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29002
29003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29004         default_ldbl_pack and using as default implementation.
29005         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29006         implementation.
29007         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29008         redundant definition.
29009         (ldbl_insert_mantissa): Likewise.
29010         (ldbl_canonicalize): Likewise.
29011         (ldbl_nearbyint): Likewise.
29012         (ldbl_pack): Rename to ldbl_pack_ppc.
29013         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29014         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29015         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29016
29017 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29018
29019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29020         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29021         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29022         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29024         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29025         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29026         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29027
29028 2013-03-07  Andreas Jaeger  <aj@suse.de>
29029
29030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29031         bits/mman-linux.h.
29032
29033 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29034
29035         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29036         Include mpa.h and declare __MPEXP.
29037         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29038         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29039         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29040         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29041         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29042         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29043         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29044
29045         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29046         (__slowpow): Use long double EXPL and LOGL functions to
29047         compute POW.
29048         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29049         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29050         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29051         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29052         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29053         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29054
29055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29056         intermediate variable to calculate exponent.
29057         (__sqr): Likewise.
29058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29059         Likewise.
29060         (__sqr): Likewise.
29061
29062         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29063         [!NO__SQR]: Define __sqr.
29064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29065         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29066         sysdeps/ieee754/dbl-64/mpa.c.
29067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29068
29069         [BZ #12723]
29070         * posix/Makefile (tests): Add tst-pathconf.
29071         * posix/tst-pathconf.c: New test case.
29072         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29073         _PC_PIPE_BUF.
29074         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29075
29076 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29077
29078         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29079
29080 2013-03-06  Andreas Jaeger  <aj@suse.de>
29081
29082         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29083         definition via __MAP_ANONYMOUS.
29084
29085         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29086         it's not part of Linux headers.
29087
29088         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29089         (MAP_HUGE_MASK): Define.
29090
29091         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29092         Define.
29093         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29094         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29095         Define.
29096         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29097         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29098         Define.
29099         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29101         Define.
29102         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29103
29104         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29105         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29106         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29107         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29108         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29109         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29110
29111         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29112         Handle f2fs.
29113
29114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29115         Handle f2fs and efivarfs.
29116
29117         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29118         f2fs.
29119
29120         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29121         (EFIVARFS_MAGIC): Add.
29122         (F2FS_LINK_MAX): Add.
29123
29124 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29125
29126         * stdio-common/vfprintf.c: Replace __builtin_expect with
29127         __glibc_unlikely.
29128
29129 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29130
29131         [BZ #13550]
29132         * sysdeps/generic/bp-sym.h: Remove file.
29133         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29135         <bp-sym.h> and <bp-asm.h>.
29136         (__longjmp): Don't use BP_SYM.
29137         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29138         and <bp-asm.h>.
29139         (memcpy): Don't use BP_SYM.
29140         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29141         <bp-sym.h> and <bp-asm.h>.
29142         (memcpy): Don't use BP_SYM.
29143         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29144         <bp-asm.h>.
29145         (memcpy): Don't use BP_SYM.
29146         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29147         <bp-asm.h>.
29148         (memset): Don't use BP_SYM.
29149         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29150         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29151         (__bzero): Don't use BP_SYM.
29152         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29153         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29154         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29155         <bp-sym.h> and <bp-asm.h>.
29156         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29157         pointers.
29158         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29159         <bp-sym.h> and <bp-asm.h>.
29160         (memcpy): Don't use BP_SYM.
29161         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29162         <bp-sym.h> and <bp-asm.h>.
29163         (memset): Don't use BP_SYM.
29164         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29165         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29166         (__bzero): Don't use BP_SYM.
29167         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29168         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29169         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29170         <bp-sym.h> and <bp-asm.h>.
29171         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29172         pointers.
29173         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29174         <bp-sym.h> and <bp-asm.h>.
29175         (memcpy): Don't use BP_SYM.
29176         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29177         <bp-sym.h> and <bp-asm.h>.
29178         (memset): Don't use BP_SYM.
29179         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29180         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29181         (__bzero): Don't use BP_SYM.
29182         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29183         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29184         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29185         <bp-sym.h> and <bp-asm.h>.
29186         (__memchr): Don't use BP_SYM.
29187         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29188         <bp-sym.h> and <bp-asm.h>.
29189         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29190         pointers.
29191         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29192         <bp-sym.h> and <bp-asm.h>.
29193         (memcpy): Don't use BP_SYM.
29194         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29195         <bp-sym.h> and <bp-asm.h>.
29196         (__mempcpy): Don't use BP_SYM.
29197         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29198         <bp-sym.h> and <bp-asm.h>.
29199         (__memrchr): Don't use BP_SYM.
29200         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29201         <bp-sym.h> and <bp-asm.h>.
29202         (memset): Don't use BP_SYM.
29203         (__bzero): Likewise.
29204         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29205         <bp-sym.h> and <bp-asm.h>.
29206         (__rawmemchr): Don't use BP_SYM.
29207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29208         <bp-sym.h> and <bp-asm.h>.
29209         (__STRCMP): Don't use BP_SYM.
29210         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29211         <bp-sym.h> and <bp-asm.h>.
29212         (strchr): Don't use BP_SYM.
29213         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29214         <bp-sym.h> and <bp-asm.h>.
29215         (__strchrnul): Don't use BP_SYM.
29216         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29217         <bp-sym.h> and <bp-asm.h>.
29218         (strlen): Don't use BP_SYM.
29219         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29220         <bp-sym.h> and <bp-asm.h>.
29221         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29222         pointers.
29223         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29224         <bp-sym.h> and <bp-asm.h>.
29225         (__strnlen): Don't use BP_SYM.
29226         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29227         <bp-sym.h> and <bp-asm.h>.
29228         (__GI__setjmp): Don't use BP_SYM.
29229         (_setjmp): Likewise.
29230         (__sigsetjmp): Likewise.
29231         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29232         (L(start_addresses)): Don't use BP_SYM.
29233         (_start): Likewise.
29234         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29235         <bp-asm.h>.
29236         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29237         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29238         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29239         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29240         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29241         <bp-asm.h>.
29242         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29243         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29244         about bounded pointers.
29245         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29246         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29247         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29248         <bp-asm.h>.
29249         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29250         about bounded pointers.  Remove GKM FIXME comments.
29251         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29252         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29253         <bp-asm.h>.
29254         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29255         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29256         Remove GKM FIXME comments.
29257         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29258         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29259         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29260         <bp-asm.h>.
29261         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29262         about bounded pointers.  Remove GKM FIXME comment.
29263         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29264         and <bp-asm.h>.
29265         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29266         pointers.
29267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29268         <bp-sym.h> and <bp-asm.h>.
29269         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29271         <bp-sym.h> and <bp-asm.h>.
29272         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29273         comment.
29274
29275 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29276
29277         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29278         call free(NULL).
29279
29280 2013-03-05  David S. Miller  <davem@davemloft.net>
29281
29282         * po/es.po: Update from translation team.
29283
29284 2013-03-05  Andreas Jaeger  <aj@suse.de>
29285
29286         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29287         <bits/mman-linux.h>.
29288         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29289         is fine.
29290         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29291         <bits/mman-linux.h> to end of file.
29292         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29293         is fine.
29294         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29295         <bits/mman-linux.h> to end of file.
29296         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29297         is fine.
29298         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29299         <bits/mman-linux.h> to end of file.
29300
29301         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29302         (MCL_CURRENT, MCL_FUTURE): Define here.
29303
29304 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29305
29306         [BZ #15232]
29307         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29308         attribute_hidden.
29309         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29310
29311 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29312
29313         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29314         fourth parameter needed for rt_sigprocmask syscall.
29315         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29316         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29317         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29318         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29319         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29320         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29321
29322 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29323
29324         [BZ #13550]
29325         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29326         comment about bounded pointers.
29327         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29328         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29329
29330 2013-03-04  Andreas Jaeger  <aj@suse.de>
29331
29332         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29333         common definitions.
29334
29335         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29336         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29337         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29338         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29339         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29340         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29341
29342 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29343
29344         [BZ #15055]
29345         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29346         __ieee754_sqrl instead of __sqrl.
29347
29348 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29349
29350         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29351         * sysdeps/powerpc/fpu_control.h: ... here.
29352         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29353         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29354         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29355         * sysdeps/powerpc/bits/mathinline.h: ... here.
29356
29357 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29358
29359         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29360         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29361         to just [NEED_DL_SYSINFO_DSO].
29362         * elf/dl-support.c: Likewise.
29363         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29364         * elf/rtld.c (dl_main): Likewise.
29365         * elf/setup-vdso.h (setup_vdso): Likewise.
29366         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29367         * sysdeps/unix/sysv/linux/dl-sysdep.c
29368         (_dl_discover_osversion): Likewise.
29369
29370 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29371
29372         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29373         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29374
29375 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29376
29377         * NEWS: Mention libm performance improvements and non-x86 PI
29378         futex support.
29379
29380         * csu/libc-start.c (__pthread_initialize_minimal): Change
29381         function arguments.
29382         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29383
29384 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29385
29386         [BZ #13550]
29387         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29388         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29389         <bp-sym.h> and <bp-asm.h>.
29390         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29391         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29392         and <bp-asm.h>.
29393         (memcpy): Don't use BP_SYM.
29394         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29395         <bp-asm.h>.
29396         (__mpn_add_n): Don't use BP_SYM.
29397         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29398         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29399         and <bp-asm.h>.
29400         (__mpn_addmul_1): Don't use BP_SYM.
29401         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29402         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29403         <bp-sym.h>.
29404         (_setjmp): Don't use BP_SYM.
29405         (__novmx_setjmp): Likewise.
29406         (__GI__setjmp): Likewise.
29407         (__vmx_setjmp): Likewise.
29408         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29409         <bp-sym.h>.
29410         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29411         (__bzero): Don't use BP_SYM.
29412         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29413         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29414         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29415         <bp-sym.h> and <bp-asm.h>.
29416         (memcpy): Don't use BP_SYM.
29417         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29418         <bp-sym.h> and <bp-asm.h>.
29419         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29420         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29421         <bp-sym.h> and <bp-asm.h>.
29422         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29423         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29424         <bp-asm.h>.
29425         (__mpn_lshift): Don't use BP_SYM.
29426         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29427         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29428         <bp-asm.h>.
29429         (memset): Don't use BP_SYM.
29430         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29431         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29432         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29433         <bp-asm.h>.
29434         (__mpn_mul_1): Don't use BP_SYM.
29435         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29436         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29437         <bp-sym.h> and <bp-asm.h>.
29438         (memcmp): Don't use BP_SYM.
29439         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29440         <bp-sym.h> and <bp-asm.h>.
29441         (memcpy): Don't use BP_SYM.
29442         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29443         <bp-sym.h> and <bp-asm.h>.
29444         (memset): Don't use BP_SYM.
29445         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29446         <bp-sym.h> and <bp-asm.h>.
29447         (strncmp): Don't use BP_SYM.
29448         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29449         <bp-sym.h> and <bp-asm.h>.
29450         (memcpy): Don't use BP_SYM.
29451         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29452         <bp-sym.h> and <bp-asm.h>.
29453         (memset): Don't use BP_SYM.
29454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29455         <bp-sym.h> and <bp-asm.h>.
29456         (__memchr): Don't use BP_SYM.
29457         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29458         <bp-sym.h> and <bp-asm.h>.
29459         (memcmp): Don't use BP_SYM.
29460         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29461         <bp-sym.h> and <bp-asm.h>.
29462         (memcpy): Don't use BP_SYM.
29463         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29464         <bp-sym.h> and <bp-asm.h>.
29465         (__mempcpy): Don't use BP_SYM.
29466         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29467         <bp-sym.h> and <bp-asm.h>.
29468         (__memrchr): Don't use BP_SYM.
29469         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29470         <bp-sym.h> and <bp-asm.h>.
29471         (memset): Don't use BP_SYM.
29472         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29473         <bp-sym.h> and <bp-asm.h>.
29474         (__rawmemchr): Don't use BP_SYM.
29475         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29476         <bp-sym.h> and <bp-asm.h>.
29477         (__STRCMP): Don't use BP_SYM.
29478         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29479         <bp-sym.h> and <bp-asm.h>.
29480         (strchr): Don't use BP_SYM.
29481         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29482         <bp-sym.h> and <bp-asm.h>.
29483         (__strchrnul): Don't use BP_SYM.
29484         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29485         <bp-sym.h> and <bp-asm.h>.
29486         (strlen): Don't use BP_SYM.
29487         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29488         <bp-sym.h> and <bp-asm.h>.
29489         (strncmp): Don't use BP_SYM.
29490         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29491         <bp-sym.h> and <bp-asm.h>.
29492         (__strnlen): Don't use BP_SYM.
29493         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29494         <bp-asm.h>.
29495         (__mpn_rshift): Don't use BP_SYM.
29496         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29497         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29498         <bp-sym.h> and <bp-asm.h>.
29499         (__sigsetjmp): Don't use BP_SYM.
29500         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29501         (L(start_addresses)): Don't use BP_SYM.
29502         (_start): Likewise.
29503         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29504         <bp-asm.h>.
29505         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29506         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29507         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29508         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29509         <bp-asm.h>.
29510         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29511         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29512         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29513         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29514         <bp-asm.h>.
29515         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29516         comments.
29517         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29518         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29519         <bp-asm.h>.
29520         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29521         FIXME comments.
29522         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29523         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29524         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29525         <bp-asm.h>.
29526         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29527         comment.
29528         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29529         and <bp-asm.h>.
29530         (strncmp): Don't use BP_SYM,
29531         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29532         <bp-asm.h>.
29533         (__mpn_sub_n): Don't use BP_SYM.
29534         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29535         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29536         and <bp-asm.h>.
29537         (__mpn_submul_1): Don't use BP_SYM.
29538         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29540         <bp-sym.h> and <bp-asm.h>.
29541         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29543         <bp-sym.h> and <bp-asm.h>.
29544         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29545         comment.
29546
29547 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29548
29549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29550         Use ZK to minimize writes to Z.
29551         (sub_magnitudes): Simplify code a bit.
29552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29553         Use ZK to minimize writes to Z.
29554         (sub_magnitudes): Simplify code a bit.
29555
29556 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29557
29558         * csu/gmon-start.c: Add special exception to license text.
29559
29560 2013-02-27  Richard Henderson  <rth@redhat.com>
29561
29562         * scripts/config.guess: Update from config.git.
29563         * scripts/config.sub: Likewise.
29564
29565 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29566
29567         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29568
29569         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29570
29571         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29572
29573         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29574
29575         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29576
29577 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29578
29579         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29580         [$(build-shared = yes].
29581
29582 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29583
29584         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29585         (__mul): Reduce iterations for calculating mantissa.
29586
29587         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29588         MPTWO.
29589         (__mpranred): Likewise.
29590
29591         [BZ #15160]
29592         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29593         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29594
29595 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29596
29597         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29598         Define __attribute__.
29599
29600 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29601
29602         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29603         unused.
29604         * posix/regex_internal.h (__attribute): Remove.
29605         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29606         (re_string_context_at): Likewise.
29607         (bitset_not): Use __attribute__ and mark function as possibly
29608         unused.
29609         (bitset_merge): Likewise.
29610         (bitset_mask): Likewise.
29611         (re_string_char_size_at): Likewise.
29612         (re_string_wchar_at): Likewise.
29613         (re_string_elem_size_at): Likewise.
29614
29615 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29616
29617         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29618         code.
29619         (cc32): Likewise.
29620
29621         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29622         (__acr): Likewise.
29623         (__cpy): Likewise.
29624         (norm): Likewise.
29625         (denorm): Likewise.
29626         (__dbl_mp): Likewise.
29627         (add_magnitudes): Likewise.
29628         (sub_magnitudes): Likewise.
29629         (__mul): Likewise.
29630         (__inv): Likewise.
29631
29632         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29633         style.
29634
29635         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29636         style.
29637
29638         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29639         code.
29640
29641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29642         up changes with default code.
29643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29644         Likewise.
29645
29646 2013-02-24  Allan McRae  <allan@archlinux.org>
29647
29648         * manual/socket.texi (The Internet Namespace): Order menu items
29649         to match that in the file.
29650
29651         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29652         node listing of the info page menu.
29653
29654 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29655
29656         [BZ #13550]
29657         * sysdeps/i386/bp-asm.h: Remove file.
29658         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29659         (PARMS): Do not use macros from bp-asm.h.
29660         (S1): Likewise.
29661         (S2): Likewise.
29662         (SIZE): Likewise.
29663         (__mpn_add_n): Do not use BP_SYM
29664         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29665         "bp-asm.h".
29666         (PARMS): Do not use macros from bp-asm.h.
29667         (S1): Likewise.
29668         (SIZE): Likewise.
29669         (__mpn_addmul_1): Do not use BP_SYM
29670         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29671         "bp-asm.h".
29672         (PARMS): Do not use macros from bp-asm.h.
29673         (SIGMSK): Likewise.
29674         (_setjmp): Likewise.  Do not use BP_SYM.
29675         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29676         "bp-asm.h".
29677         (PARMS): Do not use macros from bp-asm.h.
29678         (SIGMSK): Likewise.
29679         (setjmp): Likewise.  Do not use BP_SYM.
29680         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29681         "bp-asm.h".
29682         (PARMS): Do not use macros from bp-asm.h.
29683         (__frexp): Do not use BP_SYM.
29684         (frexp): Likewise.
29685         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29686         "bp-asm.h".
29687         (PARMS): Do not use macros from bp-asm.h.
29688         (__frexpf): Do not use BP_SYM.
29689         (frexpf): Likewise.
29690         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29691         "bp-asm.h".
29692         (PARMS): Do not use macros from bp-asm.h.
29693         (__frexpl): Do not use BP_SYM.
29694         (frexpl): Likewise.
29695         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29696         "bp-asm.h".
29697         (PARMS): Do not use macros from bp-asm.h.
29698         (__remquo): Do not use BP_SYM.
29699         (remquo): Likewise.
29700         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29701         "bp-asm.h".
29702         (PARMS): Do not use macros from bp-asm.h.
29703         (__remquof): Do not use BP_SYM.
29704         (remquof): Likewise.
29705         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29706         "bp-asm.h".
29707         (PARMS): Do not use macros from bp-asm.h.
29708         (__remquol): Do not use BP_SYM.
29709         (remquol): Likewise.
29710         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29711         "bp-asm.h".
29712         (PARMS): Do not use macros from bp-asm.h.
29713         (DEST): Likewise.
29714         (SRC): Likewise.
29715         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29716         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29717         "bp-asm.h".
29718         (PARMS): Do not use macros from bp-asm.h.
29719         (strlen): Do not use BP_SYM.
29720         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29721         "bp-asm.h".
29722         (PARMS): Do not use macros from bp-asm.h.
29723         (S1): Likewise.
29724         (S2): Likewise.
29725         (SIZE): Likewise.
29726         (__mpn_add_n): Do not use BP_SYM.
29727         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29728         "bp-asm.h".
29729         (PARMS): Do not use macros from bp-asm.h.
29730         (S1): Likewise.
29731         (SIZE): Likewise.
29732         (__mpn_addmul_1): Do not use BP_SYM.
29733         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29734         weak_alias.
29735         (bzero): Likewise.
29736         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29737         "bp-asm.h".
29738         (PARMS): Do not use macros from bp-asm.h.
29739         (S): Likewise.
29740         (SIZE): Likewise.
29741         (__mpn_lshift): Do not use BP_SYM.
29742         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29743         "bp-asm.h".
29744         (PARMS): Do not use macros from bp-asm.h.
29745         (DEST): Likewise.
29746         (SRC): Likewise.
29747         (LEN): Likewise.
29748         (memcpy): Likewise.  Do not use BP_SYM.
29749         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29750         libc_hidden_def and weak_alias.
29751         (mempcpy): Do not use BP_SYM in weak_alias.
29752         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29753         "bp-asm.h".
29754         (PARMS): Do not use macros from bp-asm.h.
29755         (DEST): Likewise.
29756         (LEN): Likewise.
29757         [!BZERO_P] (CHR): Likewise.
29758         (memset): Likewise.  Do not use BP_SYM.
29759         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29760         "bp-asm.h".
29761         (PARMS): Do not use macros from bp-asm.h.
29762         (S1): Likewise.
29763         (SIZE): Likewise.
29764         (__mpn_mul_1): Do not use BP_SYM.
29765         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29766         "bp-asm.h".
29767         (PARMS): Do not use macros from bp-asm.h.
29768         (S): Likewise.
29769         (SIZE): Likewise.
29770         (__mpn_rshift): Do not use BP_SYM.
29771         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29772         "bp-asm.h".
29773         (PARMS): Do not use macros from bp-asm.h.
29774         (STR): Likewise.
29775         (CHR): Likewise.
29776         (strchr): Likewise.  Do not use BP_SYM.
29777         (index): Do not use BP_SYM in weak_alias.
29778         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29779         "bp-asm.h".
29780         (PARMS): Do not use macros from bp-asm.h.
29781         (DEST): Likewise.
29782         (SRC): Likewise.
29783         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29784         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29785         "bp-asm.h".
29786         (PARMS): Do not use macros from bp-asm.h.
29787         (strlen): Do not use BP_SYM.
29788         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29789         "bp-asm.h".
29790         (PARMS): Do not use macros from bp-asm.h.
29791         (S1): Likewise.
29792         (S2): Likewise.
29793         (SIZE): Likewise.
29794         (__mpn_sub_n): Do not use BP_SYM.
29795         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29796         "bp-asm.h".
29797         (PARMS): Do not use macros from bp-asm.h.
29798         (S1): Likewise.
29799         (SIZE): Likewise.
29800         (__mpn_submul_1): Do not use BP_SYM.
29801         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29802         "bp-asm.h".
29803         (PARMS): Do not use macros from bp-asm.h.
29804         (S1): Likewise.
29805         (S2): Likewise.
29806         (SIZE): Likewise.
29807         (__mpn_add_n): Do not use BP_SYM.
29808         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29809         weak_alias.
29810         (bzero): Likewise.
29811         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29812         "bp-asm.h".
29813         (PARMS): Do not use macros from bp-asm.h.
29814         (BLK2): Likewise.
29815         (LEN): Likewise.
29816         (memcmp): Do not use BP_SYM.
29817         (bcmp): Do not use BP_SYM in weak_alias.
29818         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29819         "bp-asm.h".
29820         (PARMS): Do not use macros from bp-asm.h.
29821         (DEST): Likewise.
29822         (SRC): Likewise.
29823         (LEN): Likewise.
29824         (memcpy): Likewise.  Do not use BP_SYM.
29825         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29826         "bp-asm.h".
29827         (PARMS): Do not use macros from bp-asm.h.
29828         (DEST): Likewise.
29829         (SRC): Likewise.
29830         (LEN): Likewise.
29831         (memmove): Likewise.  Do not use BP_SYM.
29832         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29833         "bp-asm.h".
29834         (PARMS): Do not use macros from bp-asm.h.
29835         (DEST): Likewise.
29836         (SRC): Likewise.
29837         (LEN): Likewise.
29838         (__mempcpy): Likewise.  Do not use BP_SYM.
29839         (mempcpy): Do not use BP_SYM in weak_alias.
29840         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29841         "bp-asm.h".
29842         (PARMS): Do not use macros from bp-asm.h.
29843         (DEST): Likewise.
29844         (LEN): Likewise.
29845         [!BZERO_P] (CHR): Likewise.
29846         (memset): Likewise.  Do not use BP_SYM.
29847         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29848         "bp-asm.h".
29849         (PARMS): Do not use macros from bp-asm.h.
29850         (STR2): Likewise.
29851         (strcmp): Do not use BP_SYM.
29852         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29853         "bp-asm.h".
29854         (PARMS): Do not use macros from bp-asm.h.
29855         (STR): Likewise.
29856         (DELIM): Likewise.
29857         [USE_AS_STRTOK_R] (SAVE): Likewise.
29858         (FUNCTION): Likewise.  Do not use BP_SYM.
29859         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29860         aliases.
29861         (strtok_r): Likewise.
29862         (__GI___strtok_r): Likewise.
29863         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29864         (PARMS): Do not use macros from bp-asm.h.
29865         (S): Likewise.
29866         (SIZE): Likewise.
29867         (__mpn_lshift): Do not use BP_SYM.
29868         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29869         (PARMS): Do not use macros from bp-asm.h.
29870         (STR): Likewise.
29871         (CHR): Likewise.
29872         (__memchr): Do not use BP_SYM.
29873         (memchr): Do not use BP_SYM in weak_alias.
29874         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29875         (PARMS): Do not use macros from bp-asm.h.
29876         (BLK2): Likewise.
29877         (LEN): Likewise.
29878         (memcmp): Do not use BP_SYM.
29879         (bcmp): Do not use BP_SYM in weak_alias.
29880         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29881         (PARMS): Do not use macros from bp-asm.h.
29882         (S1): Likewise.
29883         (SIZE): Likewise.
29884         (__mpn_mul_1): Do not use BP_SYM.
29885         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29886         "bp-asm.h".
29887         (PARMS): Do not use macros from bp-asm.h.
29888         (STR): Likewise.
29889         (CHR): Likewise.
29890         (__rawmemchr): Do not use BP_SYM.
29891         (rawmemchr): Do not use BP_SYM in weak_alias.
29892         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29893         (PARMS): Do not use macros from bp-asm.h.
29894         (S): Likewise.
29895         (SIZE): Likewise.
29896         (__mpn_rshift): Do not use BP_SYM.
29897         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29898         (PARMS): Do not use macros from bp-asm.h.
29899         (SIGMSK): Likewise.
29900         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29901         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29902         (_start): Do not use BP_SYM.
29903         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29904         (PARMS): Do not use macros from bp-asm.h.
29905         (DEST): Likewise.
29906         (SRC): Likewise.
29907         (__stpcpy): Likewise.  Do not use BP_SYM.
29908         (stpcpy): Do not use BP_SYM in weak_alias.
29909         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29910         "bp-asm.h".
29911         (PARMS): Do not use macros from bp-asm.h.
29912         (DEST): Likewise.
29913         (SRC): Likewise.
29914         (LEN): Likewise.
29915         (__stpncpy): Likewise.  Do not use BP_SYM.
29916         (stpncpy): Do not use BP_SYM in weak_alias.
29917         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29918         (PARMS): Do not use macros from bp-asm.h.
29919         (STR): Likewise.
29920         (CHR): Likewise.
29921         (strchr): Likewise.  Do not use BP_SYM.
29922         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29923         "bp-asm.h".
29924         (PARMS): Do not use macros from bp-asm.h.
29925         (STR): Likewise.
29926         (CHR): Likewise.
29927         (__strchrnul): Likewise.  Do not use BP_SYM.
29928         (strchrnul): Do not use BP_SYM in weak_alias.
29929         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29930         "bp-asm.h".
29931         (PARMS): Do not use macros from bp-asm.h.
29932         (STOP): Likewise.
29933         (strcspn): Do not use BP_SYM.
29934         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29935         "bp-asm.h".
29936         (PARMS): Do not use macros from bp-asm.h.
29937         (STR): Likewise.
29938         (STOP): Likewise.
29939         (strpbrk): Likewise.  Do not use BP_SYM.
29940         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29941         "bp-asm.h".
29942         (PARMS): Do not use macros from bp-asm.h.
29943         (STR): Likewise.
29944         (CHR): Likewise.
29945         (strrchr): Likewise.  Do not use BP_SYM.
29946         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29947         (PARMS): Do not use macros from bp-asm.h.
29948         (SKIP): Likewise.
29949         (strspn): Do not use BP_SYM.
29950         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29951         (PARMS): Do not use macros from bp-asm.h.
29952         (STR): Likewise.
29953         (DELIM): Likewise.
29954         (SAVE): Likewise.
29955         (FUNCTION): Likewise.  Do not use BP_SYM.
29956         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29957         aliases.
29958         (strtok_r): Likewise.
29959         (__GI___strtok_r): Likewise.
29960         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29961         (PARMS): Do not use macros from bp-asm.h.
29962         (S1): Likewise.
29963         (S2): Likewise.
29964         (SIZE): Likewise.
29965         (__mpn_sub_n): Do not use BP_SYM.
29966         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29967         "bp-asm.h".
29968         (PARMS): Do not use macros from bp-asm.h.
29969         (S1): Likewise.
29970         (SIZE): Likewise.
29971         (__mpn_submul_1): Do not use BP_SYM.
29972         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29973         <bp-sym.h>.
29974         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29975         and <bp-asm.h>.
29976         (PARMS): Do not use macros from bp-asm.h.
29977         (FLAGS): Likewise.
29978         (PTID): Likewise.
29979         (TLS): Likewise.
29980         (CTID): Likewise.
29981         (__clone): Do not use BP_SYM.
29982         (clone): Do not use BP_SYM in weak_alias.
29983         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29984         and <bp-asm.h>.
29985         (PARMS): Do not use macros from bp-asm.h.
29986         (LEN): Likewise.
29987         (__mmap64): Do not use BP_SYM.
29988         (mmap64): Do not use BP_SYM in weak_alias.
29989         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29990         <bp-sym.h> and <bp-asm.h>.
29991         (PARMS): Do not use macros from bp-asm.h.
29992         (__posix_fadvise64_l64): Do not use BP_SYM.
29993         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29994         (PARMS): Do not use macros from bp-asm.h.
29995         (NSOPS): Likewise.
29996         (semtimedop): Do not use BP_SYM.
29997         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29998         and <bp-asm.h>.
29999
30000 2013-02-21  Allan McRae  <allan@archlinux.org>
30001
30002         * manual/message.texi (Charset conversion in gettext):
30003         Move @end statement to beginning of line.
30004
30005 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30006
30007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30008         static.
30009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30010         Likewise.
30011
30012         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30013         (denorm): Likewise.
30014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30016
30017 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30018
30019         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30020         tail-call to the resolved function if pltexit isn't needed.
30021
30022 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30023
30024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30025         or Y being zero as being unlikely.
30026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30027         Likewise.
30028
30029 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30030
30031         * manual/nss.texi (System Databases and Name Service Switch):
30032         Remove frobnicate @pxref.
30033
30034 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30035
30036         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30037         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30038
30039 2013-02-20  Petr Machata  <pmachata@redhat.com>
30040
30041         * elf/elf.h (R_ARM_TARGET1): New macro.
30042         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30043         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30044         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30045         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30046         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30047         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30048         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30049         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30050         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30051         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30052         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30053         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30054         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30055         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30056         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30057         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30058         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30059         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30060         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30061         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30062         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30063         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30064         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30065         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30066         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30067         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30068         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30069         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30070         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30071         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30072         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30073         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30074         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30075         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30076         (R_ARM_THM_GOT_BREL12): Likewise.
30077         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30078         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30079         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30080         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30081         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30082         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30083         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30084         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30085         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30086
30087 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30088
30089         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30090         __attribute_used__ to __attribute__ ((unused)).
30091
30092 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30093
30094         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30095         powerpc mpa.c.
30096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30097         comment formatting.
30098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30099
30100 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30101
30102         [BZ #13550]
30103         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30104         Remove macro.
30105         (ENTER): Remove both macro definitions.
30106         (LEAVE): Likewise.
30107         (CHECK_BOUNDS_LOW): Likewise.
30108         (CHECK_BOUNDS_HIGH): Likewise.
30109         (CHECK_BOUNDS_BOTH): Likewise.
30110         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30111         (RETURN_BOUNDED_POINTER): Likewise.
30112         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30113         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30114         (POP_ERRNO_LOCATION_RETURN): Likewise.
30115         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30116         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30117         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30118         macros.
30119         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30120         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30121         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30122         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30123         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30124         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30125         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30126         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30127         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30128         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30129         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30130         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30131         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30132         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30133         removed macros.
30134         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30135         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30136         macros.
30137         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30138         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30139         * sysdeps/i386/i586/memset.S (memset): Likewise.
30140         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30141         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30142         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30143         macros.
30144         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30145         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30146         Change uses of L(2) to L(out).
30147         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30148         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30149         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30150         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30151         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30152         removed macros.
30153         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30154         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30155         macros.
30156         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30157         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30158         (RETURN): Do not use macro LEAVE.
30159         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30160         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30161         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30162         * sysdeps/i386/i686/memset.S (memset): Likewise.
30163         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30164         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30165         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30166         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30167         Likewise.
30168         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30169         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30170         L(1_2) and L(1_3) into L(1).
30171         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30172         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30173         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30174         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30175         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30176         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30177         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30178         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30179         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30180         macros.
30181         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30182         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30183         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30184         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30185         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30186         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30187         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30188         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30189         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30190         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30191         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30192         * sysdeps/i386/strspn.S (strspn): Likewise.
30193         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30194         conditional code.
30195         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30196         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30197         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30198         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30199         L(1_3) into L(1_1).
30200         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30201         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30202         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30203         macros.
30204         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30205
30206 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30207
30208         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30209         macro.
30210
30211 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30212
30213         * math/atest-exp.c (exp_mpn): Remove ROUND.
30214         * math/atest-exp2.c (exp_mpn): Likewise.
30215         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30216
30217         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30218         * stdlib/tst-tls-atexit-lib.c: Likewise.
30219         * stdlib/tst-tls-atexit.c: Likewise.
30220
30221 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30222
30223         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30224         and __attribute_alloc_size__.
30225
30226 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30227
30228         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30229         __attribute_alloc_size__.
30230         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30231         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30232
30233 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30234
30235         * include/programs/xmalloc.h: New file.
30236         * catgets/gencat.c: Include it.
30237         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30238         * elf/pldd.c: Likewise.
30239         * iconv/iconv_charmap.c: Likewise.
30240         * iconv/iconvconfig.c: Likewise.
30241         * iconv/strtab.c: Likewise.
30242         * locale/programs/locale.c: Likewise.
30243         * locale/programs/localedef.h: Likewise.
30244         * locale/programs/simple-hash.c: Likewise.
30245         * nscd/nscd.h: Likewise.
30246         * nss/makedb.c: Likewise.
30247         * sysdeps/generic/ldconfig.h: Likewise.
30248
30249 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30250
30251         * Versions.def: Add GLIBC_2.18.
30252         * include/link.h (struct link_map): New member l_tls_dtor_count.
30253         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30254         (__call_tls_dtors): Likewise.
30255         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30256         __cxa_thread_atexit_impl.
30257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30258         Likewise.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30260         Likewise.
30261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30262         Likewise.
30263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30264         Likewise.
30265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30267         Likewise.
30268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30269         Likewise.
30270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30272         Likewise.
30273         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30274         (tests): Add test case tst-tls-atexit.
30275         (modules-names): Add shared library for tst-tls-atexit.
30276         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30277         (GLIBC_PRIVATE): Add __call_tls_dtors.
30278         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30279         for libstdc++.
30280         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30281         * stdlib/tst-tls-atexit.c: New test case.
30282         * stdlib/tst-tls-atexit-lib.c: New test case.
30283
30284         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30285
30286         * elf/Versions (ld): Add _dl_find_dso_for_object.
30287         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30288         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30289         (dl_open_worker): Use _dl_find_dso_for_object.
30290         * elf/dl-sym.c (do_sym): Likewise.
30291         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30292
30293 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30294
30295         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30296         Syntactic changes only.
30297         (_dl_runtime_profile): Do a tail-call to the resolved function.
30298
30299 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30300
30301         [BZ #13550]
30302         * sysdeps/x86_64/bp-asm.h: Remove file.
30303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30304         <bp-sym.h> and <bp-asm.h>.
30305         (__clone): Do not use BP_SYM.
30306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30307         <bp-sym.h> and <bp-asm.h>.
30308         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30309         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30310         "bp-asm.h".
30311         (_setjmp): Do not use BP_SYM.
30312         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30313         "bp-asm.h".
30314         (setjmp): Do not use BP_SYM.
30315         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30316         libc_hidden_def.
30317         (mempcpy): Do not use BP_SYM in weak_alias.
30318         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30319         "bp-asm.h".
30320         (strchr): Do not use BP_SYM.
30321         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30322         "bp-asm.h".
30323         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30324         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30325         (_start): Do not use BP_SYM.
30326         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30327         "bp-asm.h".
30328         (strcat): Do not use BP_SYM.
30329         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30330         "bp-asm.h".
30331         (STRCMP): Do not use BP_SYM.
30332         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30333         "bp-asm.h".
30334         (STRCPY): Do not use BP_SYM.
30335         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30336         "bp-asm.h".
30337         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30338         "bp-asm.h".
30339         (FUNCTION): Do not use BP_SYM.
30340         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30341         weak_alias.
30342         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30343
30344 2013-02-17  Andreas Jaeger  <aj@suse.de>
30345
30346         * time/Versions: Sort entries.
30347         * string/Versions: Likewise.
30348         * resolv/Versions: Likewise.
30349         * posix/Versions: Likewise.
30350         * iconv/Versions: Likewise.
30351         * elf/Versions: Likewise.
30352         * wcsmbs/Versions: Likewise.
30353
30354 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30355
30356         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30357         loop termination condition.
30358
30359         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30360         variable to calculate EZ.
30361         (__sqr): Likewise.
30362
30363         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30364         the lower precision input.
30365
30366 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30367
30368         [BZ #13550]
30369         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30370         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30371         (run-via-rtld-prefix): Do not handle %-bp tests.
30372         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30373         (all-object-suffixes): Remove .ob.
30374         (bppfx): Remove variable.
30375         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30376         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30377         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30378         [$(build-bounded) = yes] (libtype.ob): Likewise.
30379         * Makerules (elide-routines.ob): Remove variable.
30380         (do-tests-clean): Do not handle *-bp.out.
30381         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30382         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30383         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30384         (tests): Do not include $(tests-bp.out).
30385         (xtests): Do not include $(xtests-bp.out).
30386         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30387         [$(build-bounded) = yes] ($(addprefix
30388         $(objpfx),$(binaries-bounded))): Remove rule.
30389         ($(objpfx)%-bp.out): Remove rule.
30390         * config.make.in (build-bounded): Remove variable.
30391         * crypt/Makefile [$(build-bounded) = yes]
30392         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30393         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30394         append to variable.
30395         [$(build-bounded) = yes] (install-lib): Likewise.
30396         [$(build-bounded) = yes] (generated): Likewise.
30397         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30398         Remove rule.
30399         * intl/Makefile [$(build-bounded) = yes]
30400         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30401         * math/Makefile [$(build-bounded) = yes]
30402         ($(tests:%=$(objpfx)%-bp): Likewise.
30403         * misc/Makefile [$(build-bounded) = yes]
30404         ($(objpfx)tst-tsearch-bp): Likewise.
30405         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30406         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30407         Remove dependency.
30408         * string/Makefile (o-objects.ob): Remove variable.
30409         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30410         (CFLAGS-.ob): Remove variable.
30411         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30412         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30413         both definitions of variable.
30414         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30415         (ASFLAGS-.ob): Remove variable.
30416
30417 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30418
30419         [BZ #13550]
30420         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30421         Remove __BOUNDED_POINTERS__ from condition.
30422         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30423         * string/bits/string2.h [!__NO_STRING_INLINES &&
30424         !__BOUNDED_POINTERS__]: Likewise.
30425         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30426         Likewise.
30427         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30428         Remove conditional code.
30429         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30430         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30431         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30432         condition.
30433
30434         [BZ #13550]
30435         * csu/libc-start.c: Do not include <bp-sym.h>.
30436         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30437         * elf/dl-open.c: Do not include <bp-sym.h>.
30438         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30439         * math/fegetenv.c: Do not include <bp-sym.h>.
30440         (fegetenv): Do not use BP_SYM in versioned symbols.
30441         * nptl/sysdeps/pthread/bits/libc-lockP.h
30442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30443         <bp-sym.h>.
30444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30445         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30447         (__pthread_mutex_destroy): Likewise.
30448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30449         (__pthread_mutex_lock): Likewise.
30450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30451         (__pthread_mutex_trylock): Likewise.
30452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30453         (__pthread_mutex_unlock): Likewise.
30454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30455         (__pthread_mutexattr_init): Likewise.
30456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30457         (__pthread_mutexattr_destroy): Likewise.
30458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30459         (__pthread_mutexattr_settype): Likewise.
30460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30461         (__pthread_rwlock_init): Likewise.
30462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30463         (__pthread_rwlock_destroy): Likewise.
30464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30465         (__pthread_rwlock_rdlock): Likewise.
30466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30467         (__pthread_rwlock_tryrdlock): Likewise.
30468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30469         (__pthread_rwlock_wrlock): Likewise.
30470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30471         (__pthread_rwlock_trywrlock): Likewise.
30472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30473         (__pthread_rwlock_unlock): Likewise.
30474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30475         (__pthread_key_create): Likewise.
30476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30477         (__pthread_setspecific): Likewise.
30478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30479         (__pthread_getspecific): Likewise.
30480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30481         Likewise.
30482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30483         (_pthread_cleanup_push_defer): Likewise.
30484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30485         (_pthread_cleanup_pop_restore): Likewise.
30486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30487         (pthread_setcancelstate): Likewise.
30488         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30489         <bp-sym.h>.
30490         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30491         (memchr): Do not use BP_SYM in weak_alias.
30492         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30493         (fegetenv): Do not use BP_SYM in versioned symbols.
30494         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30495         (fesetenv): Do not use BP_SYM in versioned symbols.
30496         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30497         (feupdateenv): Do not use BP_SYM in versioned symbols.
30498         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30499         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30500         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30501         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30502         (open64): Do not use BP_SYM in weak_alias.
30503         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30504         (fegetenv): Do not use BP_SYM in versioned symbols.
30505         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30506         (fesetenv): Do not use BP_SYM in versioned symbols.
30507         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30508         (feupdateenv): Do not use BP_SYM in versioned symbols.
30509         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30510         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30511         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30512         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30513         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30514         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30515         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30516         <bp-sym.h>.
30517         (__libc_start_main): Do not use BP_SYM.
30518
30519 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30520
30521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30522         redundant return line.
30523         (norm): Likewise.
30524         (denorm): Likewise.
30525         (dbl_mp): Likewise.
30526         (sub_magnitudes): Likewise.
30527         (__add): Likewise.
30528         (__sub): Likewise.
30529         (__mul): Likewise.
30530         (__inv): Likewise.
30531         (__dvd): Likewise.
30532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30533         (norm): Likewise.
30534         (denorm): Likewise.
30535         (dbl_mp): Likewise.
30536         (sub_magnitudes): Likewise.
30537         (__add): Likewise.
30538         (__sub): Likewise.
30539         (__mul): Likewise.
30540         (__inv): Likewise.
30541         (__dvd): Likewise.
30542
30543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30544         instead of __mul.
30545         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30546         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30547         (cc32): Likewise.
30548
30549         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30550         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30552         of __mul for squares.
30553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30554         function
30555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30556         Likewise.
30557         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30558         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30559
30560 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30561
30562         [BZ #13550]
30563         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30564         code.
30565         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30566         prototype or function definition.  Rename ubp_* variables and
30567         parameters.  Remove argv definitions conditional on
30568         [__BOUNDED_POINTERS__].
30569         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30570         * elf/dl-runtime.c (_dl_fixup): Likewise.
30571         * include/set-hooks.h (RUN_HOOK): Likewise.
30572         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30573         definition.
30574         * string/strcpy.c (strcpy): Do not use __unbounded.
30575         * sysdeps/generic/frame.h (struct layout): Likewise.
30576         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30577         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30578         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30579         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30580         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30581         (__backtrace): Likewise.
30582         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30583         use __ptrvalue.
30584         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30585         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30586         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30587         Likewise.
30588         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30589         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30590         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30591         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30592         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30593         Do not use __unbounded.
30594         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30595         Rename __unboundedrlimits parameter to rlimits in prototype.
30596         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30597         Do not use __unbounded.
30598         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30599         not use __ptrvalue.
30600         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30601         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30602         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30603         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30604         __ptrvalue or __unbounded.
30605         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30606         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30607         use __unbounded.
30608         (__new_msgctl): Do not use __ptrvalue.
30609         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30610         __unbounded.
30611         (__libc_msgrcv): Do not use __ptrvalue.
30612         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30613         startup_info): Do not use __unbounded.
30614         (__libc_start_main): Likewise.  Rename ubp_* variables and
30615         parameters.  Remove argv definitions conditional on
30616         [__BOUNDED_POINTERS__].
30617         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30618         __ptrvalue.
30619         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30620         use __unbounded.
30621         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30622         or __ptrvalue.
30623         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30624         use __unbounded.
30625         (__new_shmctl): Do not use __ptrvalue.
30626         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30627         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30628         Likewise.
30629         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30631         (__libc_sigaction): Likewise.
30632         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30633         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30634         Likewise.
30635         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30636
30637 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30638
30639         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30640
30641         * string/mempcpy.c: Implement by calling memcpy.
30642
30643 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30644
30645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30646
30647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30648         evaluation.
30649
30650         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30651         values in the mantissa.
30652
30653         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30654         minimize writes to Z.
30655         (sub_magnitudes): Simplify code a bit.
30656
30657 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30658
30659         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30660         from the message.  The linker prefixes all warnings with that already.
30661
30662 2013-02-12  Andreas Schwab  <schwab@suse.de>
30663
30664         [BZ #15078]
30665         * posix/regexec.c (extend_buffers): Add parameter min_len.
30666         (check_matching): Pass minimum needed length.
30667         (clean_state_log_if_needed): Likewise.
30668         (get_subexp): Likewise.
30669         * posix/Makefile (tests): Add bug-regex34.
30670         (bug-regex34-ENV): Define.
30671         * posix/bug-regex34.c: New file.
30672
30673         [BZ #11561]
30674         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30675         elements compare against the byte sequence of it, not its name.
30676         * posix/Makefile (tests): Add bug-regex35.
30677         (bug-regex35-ENV): Define.
30678         * posix/bug-regex35.c: New file.
30679
30680 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30681
30682         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30683         comment.
30684         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30685         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30686         (CHECK_EOL): Add undef.
30687
30688 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30689
30690         * bits/stdlib-bsearch.h: New file.
30691         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30692         * stdlib/stdlib.h: Likewise.
30693
30694 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30695
30696         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30697         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30698         declaration.
30699         * manual/search.texi (Array Search Function): Add missing const in
30700         lfind prototype.
30701         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30702         declaration to use rlim_t.
30703         (Basic Scheduling Functions): Remove erroneous const from
30704         sched_getparam prototype.  Remove erroneous * from
30705         sched_get_priority_max and sched_get_priority_min prototypes.
30706         (Resource Usage): Fix summary @comment on vtimes to refer to
30707         sys/vtimes.h rather than vtimes.h.
30708         Add missing *s in vtimes prototype.
30709         (Limits on Resources): Fix ulimit prototype to return long int.
30710         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30711         prototypes to use long int rather than double.
30712         (BSD Random): Fix initstate and setstate to use char *, not void *.
30713         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30714         prototype to make second argument 'struct aiocb64 *const[]'.
30715         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30716         (Status of AIO Operations): Remove erroneous const in aio_return and
30717         aio_return64 prototypes.
30718         (Synchronizing I/O): Fix sync prototype to return void.
30719         * manual/startup.texi (Suboptions): Remove an erroneous const in
30720         getsubopt prototype.
30721         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30722         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30723         use size_t rather than int.
30724         (Scanning All Users): Likewise for getpwent_r.
30725         (Setting Groups): Add missing const to setgroups prototype.
30726         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30727         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30728         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30729         'const void *' rather than 'const char *'.
30730         (Host Address Functions): Likewise for inet_ntop.
30731         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30732         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30733         ssize_t for return value.
30734         (Sending Data): Likewise for send, sendto, sendmsg.
30735         (Socket Option Functions): Add a missing const in setsockopt prototype.
30736         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30737         use wchar_t for the argument.
30738         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30739         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30740         take no arguments.
30741         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30742         double/float/long double for second argument.
30743         Fix return types of significand, significandf, significandl.
30744         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30745         argument in fchmod prototype.
30746         (File Owner): Use uid_t and gid_t in fchown prototype.
30747         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30748         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30749         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30750         use 'const struct dirent **' as argument types to CMP function pointer
30751         argument.
30752         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30753         (File Times): Fix summary magic @comment for struct utimbuf and utime
30754         to refer to utime.h, not time.h.
30755         * manual/string.texi (Argz Functions): Add missing const in
30756         argz_extract and argz_next prototypes.
30757         (Finding Tokens in a String): Likewise for basename.
30758         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30759         (Copying and Concatenation): Fix typo in wmemmove prototype.
30760         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30761         (Signal Stack): Remove erroneous const in sigstack prototype.
30762         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30763         prototype.
30764         (Simple Calendar Time): Likewise for stime.
30765         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30766         prototype.
30767         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30768         say sys/sysctl.h instead.
30769         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30770         and vsyslog prototypes.
30771
30772 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30773
30774         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30775         Remove.
30776
30777 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30778
30779         * misc/sys/mman.h: Fix typo in mremap comment.
30780
30781 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30782
30783         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30784         the '\0' terminator.
30785
30786 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30787
30788         [BZ #13550]
30789         * debug/segfault.c: Don't include <bp-checks.h>.
30790         * sysdeps/generic/bp-checks.h: Remove file.
30791         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30792         (__GETDENTS): Don't use CHECK_N.
30793         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30794         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30795         (__getgroups): Don't use CHECK_N.
30796         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30797         (setgroups): Don't use CHECK_N.
30798         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30799         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30800         (__libc_msgrcv): Don't use CHECK_N.
30801         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30802         (__libc_msgsnd): Don't use CHECK_N.
30803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30804         <bp-checks.h>.
30805         (__libc_pread): Don't use CHECK_N.
30806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30807         include <bp-checks.h>.
30808         (__libc_pread64): Don't use CHECK_N.
30809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30810         include <bp-checks.h>.
30811         (__libc_pwrite): Don't use CHECK_N.
30812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30813         include <bp-checks.h>.
30814         (__libc_pwrite64): Don't use CHECK_N.
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30816         <bp-checks.h>.
30817         (__libc_pread): Don't use CHECK_N.
30818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30819         include <bp-checks.h>.
30820         (__libc_pread64): Don't use CHECK_N.
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30822         include <bp-checks.h>.
30823         (__libc_pwrite): Don't use CHECK_N.
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30825         include <bp-checks.h>.
30826         (__libc_pwrite64): Don't use CHECK_N.
30827         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30828         (do_pread): Don't use CHECK_N.
30829         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30830         (do_pread64): Don't use CHECK_N.
30831         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30832         (do_pwrite): Don't use CHECK_N.
30833         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30834         (do_pwrite64): Don't use CHECK_N.
30835         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30836         (__libc_readv): Don't use CHECK_N.
30837         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30838         (semop): Don't use CHECK_N.
30839         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30840         <bp-checks.h>.
30841         (semtimedop): Don't use CHECK_N.
30842         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30843         (__libc_pread): Don't use CHECK_N.
30844         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30845         <bp-checks.h>.
30846         (__libc_pread64): Don't use CHECK_N.
30847         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30848         <bp-checks.h>.
30849         (__libc_pwrite): Don't use CHECK_N.
30850         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30851         <bp-checks.h>.
30852         (__libc_pwrite64): Don't use CHECK_N.
30853         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30854         <bp-checks.h>.
30855         (__libc_msgrcv): Don't use CHECK_N.
30856         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30857         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30858         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30859         (__libc_writev): Don't use CHECK_N.
30860
30861 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30862
30863         * string/strcpy.c: Removed unused variable.
30864
30865         * Makeconfig (+sysdep-includes): Define with := rather than =.
30866         Use an existing include/ subdir of each sysdeps dir before it.
30867
30868 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30869
30870         * nscd/connection.c (register_traced_file): Comment function.
30871         [HAVE_INOTIFY] (union __inev): Define.
30872         [HAVE_INOTIFY] (inotify_check_files): New function.
30873         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30874         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30875         clear_db_cache.
30876         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30877
30878 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30879
30880         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30881         loaded if not already and that a failure is permanent.
30882
30883 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30884
30885         [BZ #15006]
30886         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30887         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30888
30889 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30890
30891         [BZ #13550]
30892         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30893         (CHECK_1_NULL_OK): Likewise.
30894         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30895         (__fxstat): Do not use CHECK_1.
30896         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30897         <bp-checks.h>.
30898         (___fxstat64): Do not use CHECK_1.
30899         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30900         <bp-checks.h>.
30901         (__fxstatat): Do not use CHECK_1.
30902         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30903         <bp-checks.h>.
30904         (__fxstatat64): Do not use CHECK_1.
30905         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30906         <bp-checks.h>.
30907         (__fxstat): Do not use CHECK_1.
30908         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30909         <bp-checks.h>.
30910         (__fxstatat): Do not use CHECK_1.
30911         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30912         <bp-checks.h>.
30913         (__getresgid): Do not use CHECK_1.
30914         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30915         <bp-checks.h>.
30916         (__getresuid): Do not use CHECK_1.
30917         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30918         <bp-checks.h>.
30919         (__lxstat): Do not use CHECK_1.
30920         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30921         <bp-checks.h>.
30922         (__old_msgctl): Do not use CHECK_1.
30923         (__new_msgctl): Likewise.
30924         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30925         <bp-checks.h>.
30926         (__new_setrlimit): Do not use CHECK_1.
30927         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30928         <bp-checks.h>.
30929         (__old_shmctl): Do not use CHECK_1.
30930         (__new_shmctl): Likewise.
30931         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30932         <bp-checks.h>.
30933         (__xstat): Do not use CHECK_1.
30934         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30935         (__lxstat): Do not use CHECK_1.
30936         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30937         <bp-checks.h>.
30938         (___lxstat64): Do not use CHECK_1.
30939         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30940         (__old_msgctl): Do not use CHECK_1.
30941         (__new_msgctl): Likewise.
30942         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30943         <bp-checks.h>.
30944         (__gettimeofday): Do not use CHECK_1.
30945         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30946         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30947         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30948         <bp-checks.h>.
30949         (__gettimeofday): Do not use CHECK_1.
30950         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30951         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30952         (__new_shmctl): Do not use CHECK_1.
30953         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30954         <bp-checks.h>.
30955         (do_sigtimedwait): Do not use CHECK_1.
30956         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30957         <bp-checks.h>.
30958         (do_sigwaitinfo): Do not use CHECK_1.
30959         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30960         <bp-checks.h>.
30961         (msgctl): Do not use CHECK_1.
30962         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30963         <bp-checks.h>.
30964         (shmctl): Do not use CHECK_1.
30965         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30966         (ustat): Do not use CHECK_1.
30967         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30968         <bp-checks.h>.
30969         (__fxstat): Do not use CHECK_1.
30970         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30971         <bp-checks.h>.
30972         (__fxstatat): Do not use CHECK_1.
30973         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30974         <bp-checks.h>.
30975         (__lxstat): Do not use CHECK_1.
30976         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30977         <bp-checks.h>.
30978         (__xstat): Do not use CHECK_1.
30979         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30980         (__xstat): Do not use CHECK_1.
30981         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30982         (___xstat64): Do not use CHECK_1.
30983
30984         [BZ #13550]
30985         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30986         definitions.
30987         (CHECK_BOUNDS_HIGH): Likewise.
30988         * string/strcpy.c: Do not include <bp-checks.h>.
30989         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30990
30991 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30992
30993         * nscd/nscd-client.h (__nscd_drop_map_ref):
30994         Add __attribute__ ((unused)).
30995         * nis/nss-nisplus.h (niserr2nss): Likewise.
30996
30997         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30998         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30999
31000         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31001         Remove inline keyword.
31002         * include/rounding-mode.h (round_away): Likewise.
31003         * libio/wfileops.c (adjust_wide_data): Likewise.
31004         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31005         (__m128i_strloadu_tolower): Likewise.
31006         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31007         (__m128i_strloadu_tolower): Likewise.
31008         * time/mktime.c (ydhms_diff): Likewise.
31009         * locale/elem-hash.h (elem_hash): Likewise.
31010         * locale/setlocale.c (setdata): Likewise.
31011         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31012         (re_string_wchar_at): Likewise.
31013         (bitset_not, bitset_merge, bitset_mask): Likewise.
31014         [!(__GNUC__ > 3)] (inline): Remove macro.
31015         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31016         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31017         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31018         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31019         * string/memcmp.c (memcmp_bytes): Likewise.
31020         * locale/programs/locarchive.c (compute_hashval): Likewise.
31021         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31022         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31023         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31024         * nss/getent.c (print_rpc, print_protocols): Likewise.
31025         (print_passwd, print_group, print_aliases): Likewise.
31026         * nis/nss-nisplus.h (niserr2nss): Likewise.
31027         * nscd/connections.c (restart_p): Likewise.
31028         Change return type to bool.
31029
31030 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31031
31032         * Makeconfig (all-Depend-files): Add existing
31033         $(sorted-subdirs:=/Depend) files.
31034         (all-subdirs): Remove nss.
31035         * sysdeps/unix/inet/Subdirs: Add it here instead.
31036         * hesiod/Depend: New file.
31037
31038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31039         instead of calling alloca.
31040
31041         * io/lseek.c (__lseek): Rename to __libc_lseek.
31042         Define __lseek as an alias.
31043
31044         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31045
31046 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31047
31048         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31049         else clause and remove check for non-standard endianness.
31050
31051 2013-02-04  David S. Miller  <davem@davemloft.net>
31052
31053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31054
31055 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31056
31057         [BZ #13550]
31058         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31059         (__ubp_memchr): Remove prototype.
31060         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31061         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31062         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31063         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31064         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31065         Remove alias.
31066         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31067         (__ubp_memchr): Likewise.
31068         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31069         (__ubp_memchr): Likewise.
31070         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31071         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31072         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31073         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31074         CHECK_STRING.
31075         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31076         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31077         (__getcwd): Do not use CHECK_STRING.
31078         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31079         <bp-checks.h>.
31080         (__real_chown): Do not use CHECK_STRING.
31081         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31082         <bp-checks.h>.
31083         (fchownat): Do not use CHECK_STRING.
31084         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31085         CHECK_STRING.
31086         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31087         <bp-checks.h>.
31088         (__lchown): Do not use CHECK_STRING.
31089         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31090         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31091         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31092         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31094         include <bp-checks.h>.
31095         (truncate64): Do not use CHECK_STRING.
31096         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31097         <bp-checks.h>.
31098         (__real_chown): Do not use CHECK_STRING.
31099         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31100         <bp-checks.h>.
31101         (__lchown): Do not use CHECK_STRING.
31102         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31103         <bp-checks.h>.
31104         (__chown): Do not use CHECK_STRING.
31105         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31106         <bp-checks.h>.
31107         (truncate64): Do not use CHECK_STRING.
31108         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31109         Likewise.
31110         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31111         (__xmknod): Do not use CHECK_STRING.
31112         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31113         <bp-checks.h>.
31114         (__xmknodat): Do not use CHECK_STRING.
31115         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31116         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31117
31118 2013-02-04  Andreas Schwab  <schwab@suse.de>
31119
31120         [BZ #14142]
31121         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31122         * include/netdb.h: Likewise for h_errno.
31123         * elf/tst-stackguard1.c: Include <tls.h>.
31124
31125 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31126
31127         * elf/link.h (struct link_map): Extend the l_addr comment.
31128         * include/link.h (struct link_map): Likewise.
31129
31130 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31131
31132         [BZ #13550]
31133         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31134         (BOUNDED_1): Remove macro.
31135         * debug/backtrace.c: Don't include <bp-checks.h>.
31136         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31137         (__backtrace): Likewise.
31138         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31139         <bp-checks.h>.
31140         (__backtrace): Don't use BOUNDED_1.
31141         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31142         <bp-checks.h>.
31143         (__backtrace): Don't use BOUNDED_1.
31144         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31145         (__backtrace): Don't use BOUNDED_1.
31146         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31147         (shmat): Don't use BOUNDED_N.
31148
31149 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31150
31151         [BZ #13550]
31152         * sysdeps/generic/bp-start.h: Remove file.
31153         * csu/libc-start.c: Don't include <bp-start.h>.
31154         (LIBC_START_MAIN): Set up __environ directly instead of using
31155         INIT_ARGV_and_ENVIRON.
31156         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31157         <bp-start.h>.
31158
31159         [BZ #13550]
31160         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31161         definitions.
31162         (CHECK_FCNTL): Likewise.
31163         (CHECK_N_PAGES): Likewise.
31164
31165         [BZ #13550]
31166         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31167         definitions.
31168         (CHECK_SIGSET_NULL_OK): Likewise.
31169         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31170         <bp-checks.h>.
31171         (sigpending): Don't use CHECK_SIGSET.
31172         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31173         <bp-checks.h>.
31174         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31175         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31176         <bp-checks.h>.
31177         (do_sigsuspend): Don't use CHECK_SIGSET.
31178         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31179         use CHECK_SIGSET.
31180         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31181         (do_sigwait): Don't use CHECK_SIGSET.
31182         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31183         use CHECK_SIGSET.
31184         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31185         include <bp-checks.h>.
31186         (sigpending): Don't use CHECK_SIGSET.
31187         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31188         include <bp-checks.h>.
31189         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31190         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31191         <bp-checks.h>.
31192         (sigpending): Don't use CHECK_SIGSET.
31193         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31194         <bp-checks.h>.
31195         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31196
31197         [BZ #13550]
31198         * sysdeps/generic/bp-semctl.h: Remove file.
31199         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31200         <bp-checks.h> and <bp-semctl.h>.
31201         (__old_semctl): Don't use CHECK_SEMCTL.
31202         (__new_semctl): Likewise.
31203         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31204         and <bp-semctl.h>.
31205         (__old_semctl): Don't use CHECK_SEMCTL.
31206         (__new_semctl): Likewise.
31207         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31208         <bp-checks.h> and <bp-semctl.h>.
31209         (__old_semctl): Don't use CHECK_SEMCTL.
31210         (__new_semctl): Likewise.
31211         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31212         <bp-checks.h> and <bp-semctl.h>.
31213         (semctl): Don't use CHECK_SEMCTL.
31214
31215         [BZ #13550]
31216         * Makerules (elide-bp-thunks): Remove variable.
31217         (elide-routines.oS): Don't use $(elide-bp-thunks).
31218         (elide-routines.os): Likewise.
31219         (elide-routines.o): Likewise.
31220         (elide-routines.op): Likewise.
31221         (elide-routines.og): Likewise.
31222         (objects): Don't use $(bp-thunks).
31223         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31224         include.
31225         (common-generated): Do not add s-proto-bp.d.
31226         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31227         (int): Likewise.
31228         (typ): Likewise.
31229         Do not generate makefile rules for bounded-pointer thunks.
31230         * sysdeps/generic/bp-thunks.h: Remove file.
31231         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31232         * sysdeps/unix/s-proto-bp.S: Likewise.
31233
31234         [BZ #15062]
31235         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31236         parts of result separately when argument is not close to line from
31237         -i to i and one part of argument is small.
31238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31240         * math/libm-test.inc (cacos_test): Add more tests.
31241         (casin_test): Likewise.
31242         (casinh_test): Likewise.
31243         * sysdeps/i386/fpu/libm-test-ulps: Update.
31244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31245
31246 2013-01-31  David S. Miller  <davem@davemloft.net>
31247
31248         * po/de.po: Update from translation team.
31249
31250 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31251
31252         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31253
31254 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31255
31256         * configure.in (_AC_PROG_CC_C89): New definition.
31257         * configure: Regenerate.
31258
31259         * configure.in (AC_PROG_CPP): New definition.
31260         * configure: Regenerate.
31261
31262 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31263
31264         * debug/tst-backtrace.h: New file.
31265         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31266         (ret): Remove variable.
31267         (x): Likewise.
31268         (FAIL): Remove macro.
31269         (NO_INLINE): Likewise.
31270         (fn1): Use match function instead of strstr.
31271         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31272         (ret): Remove variable.
31273         (x): Likewise.
31274         (FAIL): Remove macro.
31275         (NO_INLINE): Likewise.
31276         (fn): Use match function instead of strstr.
31277         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31278         (ret): Remove variable.
31279         (x): Likewise.
31280         (FAIL): Remove macro.
31281         (NO_INLINE): Likewise.
31282         (handle_signal): Use match function instead of strstr.
31283         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31284         (ret): Remove variable.
31285         (x): Likewise.
31286         (FAIL): Remove macro.
31287         (NO_INLINE): Likewise.
31288         (handle_signal): Use match function instead of strstr.
31289
31290 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31291
31292         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31293
31294 2013-01-23  David S. Miller  <davem@davemloft.net>
31295
31296         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31297         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31298         argument of CAS if possible.
31299         * sysdeps/sparc/sparc64/bits/atomic.h
31300         (__arch_compare_and_exchange_val_32_acq): Likewise.
31301         (__arch_compare_and_exchange_val_64_acq): Likewise.
31302
31303 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31304
31305         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31306         * sysdeps/posix/ulimit.c: ... this.
31307         Include <limits.h>.
31308         * sysdeps/unix/bsd/ulimit.c: Remove file.
31309
31310 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31311
31312         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31313         (LDFLAGS-tst-array5): Likewise.
31314
31315 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31316
31317         [BZ #15036]
31318         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31319         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31320         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31321         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31322
31323 2013-01-21  David S. Miller  <davem@davemloft.net>
31324
31325         * sysdeps/sparc/backtrace.c: New file.
31326         * sysdeps/sparc/sparc32/backtrace.h: New file.
31327         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31328         * sysdeps/sparc/sparc64/backtrace.h: New file.
31329         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31330         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31331         -funwind-tables.
31332
31333 2013-01-21  Andreas Schwab  <schwab@suse.de>
31334
31335         [BZ #15020]
31336         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31337         closed its stdout.
31338
31339 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31340
31341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31342         "mpa2.h".
31343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31344
31345 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31346             Mark Mitchell  <mark@codesourcery.com>
31347             Tom de Vries  <tom@codesourcery.com>
31348             Paul Pluzhnikov  <ppluzhnikov@google.com>
31349
31350         * debug/tst-backtrace2.c: New file.
31351         * debug/tst-backtrace3.c: Likewise.
31352         * debug/tst-backtrace4.c: Likewise.
31353         * debug/tst-backtrace5.c: Likewise.
31354         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31355         (CFLAGS-tst-backtrace3.c): Likewise.
31356         (CFLAGS-tst-backtrace4.c): Likewise.
31357         (CFLAGS-tst-backtrace5.c): Likewise.
31358         (LDFLAGS-tst-backtrace2): Likewise.
31359         (LDFLAGS-tst-backtrace3): Likewise.
31360         (LDFLAGS-tst-backtrace4): Likewise.
31361         (LDFLAGS-tst-backtrace5): Likewise.
31362         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31363         tst-backtrace4 and tst-backtrace5.
31364
31365 2013-01-18  Anton Blanchard  <anton@samba.org>
31366             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31367
31368         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31369         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31370         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31371         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31373         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31374         "+r" and remove output regs list as redundant.  Add explicit inline
31375         asm to specify register of return val to work around compiler codegen
31376         bug.  Remove (int) cast on return value.  Add return type parameter to
31377         use in macro so that this macro does not truncate return value for
31378         64-bit values.
31379         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31380         pass to INTERNAL_VSYSCALL_NCS.
31381         (INLINE_VSYSCALL): Add 'long int' as return type to
31382         INTERNAL_VSYSCALL_NCS macro invocation.
31383         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31384         INTERNAL_VSYSCALL_NCS macro invocation.
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31386
31387 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31388
31389         [BZ #14496]
31390         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31391         Fix application of SIMD FP exception mask.
31392
31393         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31394         mp_no from a power of two.
31395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31396         __mpexp_twomm1.  Use __pow_mp.
31397
31398         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31399         multiplication.
31400
31401 2013-01-17  David S. Miller  <davem@davemloft.net>
31402
31403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31404
31405 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31406
31407         [BZ #15023]
31408         * include/complex.h: Condition contents on [!_COMPLEX_H].
31409         (__kernel_casinhf): New prototype.
31410         (__kernel_casinh): Likewise.
31411         (__kernel_casinhl): Likewise.
31412         * math/Makefile (libm_calls): Add k_casinh.
31413         * math/k_casinh.c: New file.
31414         * math/k_casinhf.c: Likewise.
31415         * math/k_casinhl.c: Likewise.
31416         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31417         finite nonzero arguments.
31418         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31419         finite nonzero arguments.
31420         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31421         finite nonzero arguments.
31422         * math/s_casinh.c: Do not include <float.h>.
31423         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31424         * math/s_casinhf.c: Do not include <float.h>.
31425         (__casinhf): Move code for finite nonzero arguments to
31426         k_casinhf.c.
31427         * math/s_casinhl.c: Do not include <float.h>.
31428         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31429         redefine.
31430         (__casinhl): Move code for finite nonzero arguments to
31431         k_casinhl.c.
31432         * math/libm-test.inc (cacos_test): Add more tests.
31433         * sysdeps/i386/fpu/libm-test-ulps: Update.
31434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31435
31436 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31437
31438         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31439         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31440         [!HAVE_MREMAP]: Remove [defined linux] case.
31441         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31442
31443 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31444
31445         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31446
31447 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31448
31449         * elf/elf.h (R_386_SIZE32): New relocation.
31450         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31451         R_386_SIZE32.
31452         (elf_machine_rela): Likewise.
31453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31454         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31455
31456 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31457
31458         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31459         (FP_FAST_FMA): Do not define.
31460         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31461         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31462         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31463         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31464         !_SOFT_FLOAT]: Likewise.
31465         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31466         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31467         value.
31468         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31469         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31470         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31471         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31472         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31473         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31474         file.
31475
31476 2013-01-16  Andreas Schwab  <schwab@suse.de>
31477
31478         [BZ #14327]
31479         * include/stdlib.h (__mktemp): Add declaration.
31480         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31481         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31482
31483 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31484
31485         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31486         definitions.
31487         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31488         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31489         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31490         definitions here.
31491         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31492         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31493         definitions.
31494         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31495         and ONE.
31496         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31497         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31498         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31499         definitions.
31500         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31501         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31502         definitions.
31503         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31504
31505         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31506
31507 2013-01-15  David S. Miller  <davem@davemloft.net>
31508
31509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31510         trunc{,f} to libm-sysdep_routes.
31511         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31513         file.
31514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31516         file.
31517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31518         file.
31519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31521         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31522         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31523         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31524         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31525         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31526         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31527
31528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31529         nearbyint{,f} to libm-sysdep_routes.
31530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31532         New file.
31533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31534         file.
31535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31536         New file.
31537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31538         file.
31539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31541         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31542         file.
31543         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31544         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31545         file.
31546         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31547         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31548         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31549
31550         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31551         libc_feholdexcept and libc_fesetenv.
31552
31553 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31554
31555         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31556
31557 2013-01-14  David S. Miller  <davem@davemloft.net>
31558
31559         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31560         (SPARC_ASM_VIS2_IFUNC): Likewise.
31561         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31563         use of 'siam' instruction.
31564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31565         Likewise.
31566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31567         Likewise.
31568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31569         Likewise.
31570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31575         file.
31576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31577         file.
31578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31579         file.
31580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31581         file.
31582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31587         new VIS2 routines.
31588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31591         Likewise.
31592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31597         routines to libm-sysdep_routines.
31598         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31599
31600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31601         fdim/fdimf to libm-sysdep_routines.
31602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31603         file.
31604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31606         file.
31607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31610         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31611         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31612         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31613         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31614
31615 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31616
31617         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31618         to optimize copies.
31619
31620         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31623
31624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31625         local variable MPTWO.
31626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31627         Likewise.
31628
31629 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31630
31631         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31632         GLOB_NOESCAPE.
31633
31634 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31635
31636         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31637
31638 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31639
31640         * manual/pattern.texi (glob_t): Document gl_flags.
31641         (glob64_t): Likewise.
31642
31643 2013-01-11  David S. Miller  <davem@davemloft.net>
31644
31645         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31646         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31647         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31648         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31649         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31650         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31651         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31652         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31653         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31654         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31655         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31656         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31657         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31658
31659         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31660         sparc V9 rather than using V8 code.
31661         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31662         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31663
31664         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31665         Move to...
31666         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31667         Here.
31668
31669 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31670
31671         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31672         not in the main loop.
31673         * configure: Regenerated.
31674
31675 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31676
31677         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31678         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31679         to just #else.
31680         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31681         [!__GLIBC_HAVE_LONG_LONG] case.
31682         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31683         condition to just #else.
31684         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31685         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31686         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31687         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31688         unconditional.
31689         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31690         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31691         #elif condition to just #else.
31692         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31693         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31694         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31695         #elif condition to just #else.
31696
31697 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31698
31699         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31700         (EF_MIPS_ARCH_64): Fix value.
31701         (EF_MIPS_ARCH_32R2): New.
31702         (EF_MIPS_ARCH_64R2): New.
31703
31704 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31705
31706         * Makeconfig (+link-pie-before-libc): New.
31707         (+link-pie-after-libc): Likewise.
31708         (+link-pie-tests): Likewise.
31709         (+link-pie): Rewritten.
31710         (link-before-libc): Remove $(config-LDFLAGS).
31711         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31712         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31713         (config-LDFLAGS): Renamed to ...
31714         (rtld-LDFLAGS): This.
31715         (rtld-tests-LDFLAGS): New macro.
31716         (link-libc-rpath-link): Likewise.
31717         (link-libc-tests-rpath-link): Likewise.
31718         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31719         (link-libc): Prepand $(link-libc-rpath-link).
31720         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31721         (test-program-prefix): New macro.
31722         (test-via-rtld-prefix): Likewise.
31723         (test-program-cmd): Likewise.
31724         (host-test-program-cmd): Likewise.
31725         * Makefile ($(common-objpfx)testrun.sh): Replace
31726         $(run-program-prefix) with $(test-program-prefix).
31727         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31728         $(rtld-LDFLAGS).
31729         ($(common-objpfx)shlib.lds): Likewise.
31730         (build-module-helper): Likewise.
31731         ($(common-objpfx)format.lds): Likewise.
31732         * Rules (binaries-pie-tests): New.
31733         (binaries-pie-notests): Likewise.
31734         (binaries-pie): Rewritten.
31735         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31736         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31737         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31738         (make-test-out): Replace $(host-built-program-cmd) with
31739         $(host-test-program-cmd).
31740         * config.make.in (build-hardcoded-path-in-tests): New variable.
31741         * configure.in (--enable-hardcoded-path-in-tests): New configure
31742         option.
31743         (hardcoded_path_in_tests): New AC_SUBST.
31744         * configure: Regenerated.
31745         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31746         $(built-program-cmd) with $(test-program-cmd).
31747         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31748         (test_program_cmd): This.
31749         * elf/Makefile ($(objpfx)order.out): Run test with
31750         $(test-program-prefix).
31751         ($(objpfx)order2.out): Likewise.
31752         ($(objpfx)tst-initorder.out): Likewise.
31753         ($(objpfx)tst-initorder2.out): Likewise.
31754         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31755         $(test-program-cmd).
31756         ($(objpfx)tst-array1-static.out): Likewise.
31757         ($(objpfx)tst-array2.out): Likewise.
31758         ($(objpfx)tst-array3.out): Likewise.
31759         ($(objpfx)tst-array4.out): Likewise.
31760         ($(objpfx)tst-array5.out): Likewise.
31761         ($(objpfx)tst-array5-static.out): Likewise.
31762         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31763         $(test-program-cmd).
31764         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31765         $(run-program-prefix) with $(test-program-prefix).
31766         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31767         (test_program_prefix): This.
31768         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31769         $(run-program-prefix) with $(test-program-prefix).
31770         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31771         (test_program_prefix): This.
31772         * iconvdata/tst-tables.sh: Likewise.
31773         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31774         $(run-program-prefix) with $(test-program-prefix).
31775         ($(objpfx)tst-translit.out): Likewise.
31776         ($(objpfx)tst-gettext2.out): Likewise.
31777         ($(objpfx)tst-gettext4.out): Likewise.
31778         ($(objpfx)tst-gettext6.out): Likewise.
31779         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31780         (test_program_prefix): This.
31781         * intl/tst-gettext2.sh: Likewise.
31782         * intl/tst-gettext4.sh  Likewise.
31783         * intl/tst-gettext6.sh: Likewise.
31784         * intl/tst-translit.sh: Likewise.
31785         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31786         with $(test-program-cmd).
31787         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31788         $(run-program-prefix) with $(test-program-prefix).
31789         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31790         (test_program_prefix): This.
31791         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31792         $(run-program-prefix) with $(test-program-prefix).
31793         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31794         (test_program_prefix): This.
31795         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31796         * posix/Makefile ($(objpfx)globtest.out): Replace
31797         $(run-via-rtld-prefix) and $(test-wrapper) with
31798         $(test-program-prefix) and $(test-via-rtld-prefix).
31799         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31800         $(test-program-prefix).
31801         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31802         $(host-test-program-cmd).
31803         (tst-spawn-ARGS): Likewise.
31804         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31805         $(test-program-prefix).
31806         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31807         (test_via_rtld_prefix): This.
31808         (test_wrapper): Renamed to ...
31809         (test_program_prefix): This.
31810         (run_program_prefix): Replaced by test_program_prefix.
31811         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31812         (test_program_prefix): This.
31813         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31814         with $(host-test-program-cmd).
31815         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31816         $(run-program-prefix) with $(test-program-prefix).
31817         ($(objpfx)tst-printf.out): Likewise.
31818         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31819         $(test-program-cmd).
31820         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31821         (test_program_prefix): This.
31822         * stdio-common/tst-unbputc.sh: Likewise.
31823         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31824         $(run-program-prefix) with $(test-program-prefix).
31825         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31826         (test_program_prefix): This.
31827         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31828         $(built-program-cmd) with $(test-program-cmd).
31829
31830 2013-01-11  Andreas Jaeger  <aj@suse.de>
31831
31832         [BZ #15003]
31833         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31834         value. Sync with Linux 3.7.
31835
31836 2013-01-10  David S. Miller  <davem@davemloft.net>
31837
31838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31839         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31840         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31841
31842 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31843
31844         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31845         never set.
31846         * configure: Regenerated.
31847
31848 2013-01-10  David S. Miller  <davem@davemloft.net>
31849
31850         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31851         sparc V9 rather than using V8 code.
31852         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31853         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31854
31855 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31856
31857         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31858         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31859         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31860         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31861         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31862         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31863         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31864         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31865         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31866         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31867         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31868         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31869         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31870         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31871         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31872         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31873         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31874         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31875         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31876         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31877         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31878         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31879         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31880         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31881         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31882         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31883         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31884
31885 2013-01-10  David S. Miller  <davem@davemloft.net>
31886
31887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31888
31889 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31890
31891         * posix/Makefile (tests-static): New variable.
31892         (tests): Add $(tests-static).
31893         (tst-exec-static-ARGS): New variable.
31894         (tst-spawn-static-ARGS): Likewise.
31895         * posix/tst-exec-static.c: New file.
31896         * posix/tst-spawn-static.c: Likewise.
31897         * posix/tst-exec.c: Support run directly.
31898         * posix/tst-spawn.c: Likewise.
31899
31900 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31901
31902         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31903         long.
31904         * math/bits/mathcalls.h (llrint): Likewise.
31905         (llround): Likewise.
31906         * stdlib/stdlib.h (struct drand48_data): Likewise.
31907         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31908         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31909         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31910         Likewise.
31911         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31912         Likewise.
31913         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31914         (elf_greg_t): Likewise.
31915         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31916         (__jmp_buf): Likewise.
31917         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31918         definitions.
31919         (llrint): Likewise, for all definitions.
31920         (llrintl): Likewise.
31921
31922         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31923         Remove [__GNUC__] condition.
31924         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31925         condition to just [__USE_ISOC99].
31926         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31927
31928 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31929
31930         [BZ #14200]
31931         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31932         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31933         defined.
31934         (_POSIX_V6_ILP32_OFF32): Likewise.
31935         (_XBS5_ILP32_OFF32): Likewise.
31936         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31937         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31938
31939 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31940
31941         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31942
31943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31944         doubles __mpexp_twomm1.  Adjust usage.
31945         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31946         Remove.
31947
31948 2013-01-10  Andreas Schwab  <schwab@suse.de>
31949
31950         [BZ #14964]
31951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31952         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31953
31954 2013-01-09  David S. Miller  <davem@davemloft.net>
31955
31956         [BZ #15003]
31957         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31958         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31959         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31960         (TCP_FASTOPEN): Define.
31961         (tcp_repair_opt): New structure.
31962         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31963         enum values.
31964         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31965         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31966         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31967         (tcp_cookie_transactions): New structure.
31968
31969 2013-01-09  Anton Blanchard  <anton@samba.org>
31970
31971         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31972         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31973         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31974         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31975
31976 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31977
31978         * include/features.h (__USE_ANSI): Remove.
31979
31980 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31981
31982         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31983
31984         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31985
31986 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31987
31988         * sysdeps/s390/fpu/libm-test-ulps: Update.
31989
31990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31991
31992         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31993         (__acr): Likewise.
31994         (__cpy): Likewise.
31995         (norm): Likewise.
31996         (denorm): Likewise.
31997         (__mp_dbl): Likewise.
31998         (__dbl_mp): Likewise.
31999         (add_magnitudes): Likewise.
32000         (sub_magnitudes): Likewise.
32001         (__add): Likewise.
32002         (__sub): Likewise.
32003         (__mul): Likewise.
32004         (__inv): Likewise.
32005         (__dvd): Likewise.
32006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32007         (__acr): Likewise.
32008         (__cpy): Likewise.
32009         (norm): Likewise.
32010         (denorm): Likewise.
32011         (__mp_dbl): Likewise.
32012         (__dbl_mp): Likewise.
32013         (add_magnitudes): Likewise.
32014         (sub_magnitudes): Likewise.
32015         (__add): Likewise.
32016         (__sub): Likewise.
32017         (__mul): Likewise.
32018         (__inv): Likewise.
32019         (__dvd): Likewise.
32020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32021         (__acr): Likewise.
32022         (__cpy): Likewise.
32023         (norm): Likewise.
32024         (denorm): Likewise.
32025         (__mp_dbl): Likewise.
32026         (__dbl_mp): Likewise.
32027         (add_magnitudes): Likewise.
32028         (sub_magnitudes): Likewise.
32029         (__add): Likewise.
32030         (__sub): Likewise.
32031         (__mul): Likewise.
32032         (__inv): Likewise.
32033         (__dvd): Likewise.
32034
32035 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32036
32037         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32038         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32039         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32040         2 && __USE_EXTERN_INLINES]: Likewise.
32041
32042 2013-01-08  Andreas Jaeger  <aj@suse.de>
32043
32044         [BZ# 14985]
32045         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32046         Remove.
32047         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32048         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32049
32050 2013-01-07  Anton Blanchard  <anton@samba.org>
32051
32052         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32053         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32054         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32055         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32056         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32057         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32058         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32059         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32061         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32062         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32063         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32064         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32065         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32066         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32067         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32068         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32069         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32070         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32071         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32072         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32073         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32075         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32076         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32077         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32078         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32079         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32080         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32081         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32082         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32084         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32085         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32086         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32088         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32089         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32090         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32092         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32094         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32095
32096 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32097
32098         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32099         (__MALLOC_PMT): Likewise.
32100         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32101         [__GNUC__], only on [_LIBC].
32102         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32103         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32104         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32105         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32106         forward declaration.
32107         (realloc_hook_ini): Likewise.
32108         (memalign_hook_ini): Likewise.
32109         (__libc_memalign): Do not use __MALLOC_PMT in variable
32110         declaration.
32111         (__libc_valloc): Likewise.
32112         (__libc_pvalloc): Likewise.
32113         (__libc_calloc): Likewise.
32114         (__posix_memalign): Likewise.
32115
32116         [BZ #14996]
32117         * math/s_casinh.c: Include <float.h>.
32118         (__casinh): Do not do computation with squaring and square root
32119         for large arguments.
32120         * math/s_casinhf.c: Include <float.h>.
32121         (__casinhf): Do not do computation with squaring and square root
32122         for large arguments.
32123         * math/s_casinhl.c: Include <float.h>.
32124         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32125         (__casinhl): Do not do computation with squaring and square root
32126         for large arguments.
32127         * math/libm-test.inc (casin_test): Add more tests.
32128         (casinh_test): Likewise.
32129         * sysdeps/i386/fpu/libm-test-ulps: Update.
32130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32131
32132 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32133
32134         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32135         (__x86_64_raw_data_cache_size): Likewise.
32136         (__x86_64_data_cache_size_half): Likewise.
32137         (__x86_64_raw_data_cache_size_half): Likewise.
32138         (__x86_64_shared_cache_size): Likewise.
32139         (__x86_64_raw_shared_cache_size): Likewise.
32140         (__x86_64_shared_cache_size_half): Likewise.
32141         (__x86_64_raw_shared_cache_size_half): Likewise.
32142         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32143         to ...
32144         (__x86_data_cache_size): This.
32145         (__x86_64_raw_data_cache_size): Renamed to ...
32146         (__x86_raw_data_cache_size): This.
32147         (__x86_64_data_cache_size_half): Renamed to ...
32148         (__x86_data_cache_size_half): This.
32149         (__x86_64_raw_data_cache_size_half): Renamed to ...
32150         (__x86_raw_data_cache_size_half): This.
32151         (__x86_64_shared_cache_size): Renamed to ...
32152         (__x86_shared_cache_size): This.
32153         (__x86_64_raw_shared_cache_size): Renamed to ...
32154         (__x86_raw_shared_cache_size): This.
32155         (__x86_64_shared_cache_size_half): Renamed to ...
32156         (__x86_shared_cache_size_half): This.
32157         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32158         (__x86_raw_shared_cache_size_half): This.
32159         * sysdeps/x86_64/memcpy.S: Updated.
32160         * sysdeps/x86_64/memset.S: Likewise.
32161         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32164
32165 2013-01-04  David S. Miller  <davem@davemloft.net>
32166
32167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32168
32169 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32170
32171         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32172         1 to avoid redefinition warning.
32173         (__USE_GNU): Don't define.
32174         (init_signaling_nan): Protoize.
32175
32176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32177
32178 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32179
32180         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32182         (__cpymn): Likewise.
32183         (norm): Remove commented code.
32184         (denorm): Likewise.
32185         (__mp_dbl): Likewise.
32186         (__inv): Likewise.
32187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32188         (__cpymn): Likewise.
32189         (norm): Remove commented code.
32190         (denorm): Likewise.
32191         (__mp_dbl): Likewise.
32192         (__inv): Likewise.
32193
32194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32195         mp_no value for 1.0 and 2.0.
32196         (norm): Use RADIXI instead of radixi.d.
32197         (denorm): Likewise.
32198         (__mul): Use 0.0 instead of zero.d.
32199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32200         mp_no value for 1.0 and 2.0.
32201         (norm): Use RADIXI instead of radixi.d.
32202         (denorm): Likewise.
32203         (__mul): Use 0.0 instead of zero.d.
32204
32205 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32206
32207         [BZ #14994]
32208         * math/s_casinh.c (__casinh): Reduce finite argument to first
32209         quadrant then set signs of results at the end.
32210         * math/s_casinhf.c (__casinhf): Likewise.
32211         * math/s_casinhl.c (__casinhl): Likewise.
32212         * math/libm-test.inc (casin_test): Add more tests.
32213         (casinh_test): Likewise.
32214         * sysdeps/i386/fpu/libm-test-ulps: Update.
32215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32216
32217 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32218
32219         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32220
32221         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32222
32223         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32224         declarations.
32225         (denorm): Likewise.
32226         (__mp_dbl): Likewise.
32227         (__inv): Likewise.
32228
32229         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32230         and adjust the header comment.
32231
32232         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32233         variable name from declaration.
32234
32235 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32236
32237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32238         Initialize COMMON_CPUID_INDEX_7 element.
32239         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32240         (CPUID_RTM): Likewise.
32241         (HAS_RTM): Likewise.
32242         (COMMON_CPUID_INDEX_7): New enum.
32243
32244 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32245
32246         [BZ #14981]
32247         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32248         size is zero, record memory as freed.
32249
32250 2013-01-03  Andreas Jaeger  <aj@suse.de>
32251
32252         * po/ia.po: Add new Interlingua translation.
32253
32254 2012-01-03  Allan McRae  <allan@archlinux.org>
32255
32256         * locale/programs/localedef.c: Fix description of '--posix' flag.
32257
32258 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32259
32260         * NEWS: Update dates in second copyright notice.
32261         * README: Update copyright dates in example.
32262         * manual/libc.texinfo: Update copyright dates.
32263         * scripts/test-installation.pl: Update copyright date in --version
32264         output.
32265
32266         * hurd/ctty-input.c: Fix copyright notice formatting.
32267         * hurd/ctty-output.c: Likewise.
32268         * hurd/dtable.c: Likewise.
32269         * hurd/hurd-raise.c: Likewise.
32270         * hurd/hurdprio.c: Likewise.
32271         * hurd/msgportdemux.c: Likewise.
32272         * misc/sys/file.h: Likewise.
32273         * misc/sys/ioctl.h: Likewise.
32274         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32275         * sysdeps/mach/hurd/chdir.c: Likewise.
32276         * sysdeps/mach/hurd/fchdir.c: Likewise.
32277         * sysdeps/mach/hurd/rename.c: Likewise.
32278         * sysdeps/mach/hurd/rmdir.c: Likewise.
32279         * sysdeps/mach/hurd/seekdir.c: Likewise.
32280         * sysdeps/mach/hurd/setsid.c: Likewise.
32281         * sysdeps/posix/wait3.c: Likewise.
32282
32283         * All files with FSF copyright notices: Update copyright dates
32284         using scripts/update-copyrights.
32285         * intl/plural.c: Regenerated.
32286         * locale/programs/charmap-kw.h: Likewise.
32287         * locale/programs/locfile-kw.h: Likewise.
32288
32289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32290
32291         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32292         four values.
32293
32294         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32295         calculation loop and add branch prediction.
32296
32297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32298         check access beyond bounds of m1np.
32299
32300         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32301         MPTWO.
32302         (__inv): Remove local variable MPTWO to use the global
32303         constant.
32304         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32305         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32306         variable MPTWO.
32307         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32308         MP3HALFS static const.
32309
32310 2013-01-01  David S. Miller  <davem@davemloft.net>
32311
32312         * po/ca.po: Update from translation team.
32313
32314 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32315
32316         * scripts/update-copyrights: New file.
32317         * Makeconfig: Reformat copyright notice.
32318         * ctype/ctype.h: Likewise.
32319         * debug/swprintf_chk.c: Likewise.
32320         * elf/dl-cache.c: Likewise.
32321         * elf/dl-debug.c: Likewise.
32322         * elf/dl-object.c: Likewise.
32323         * grp/initgroups.c: Likewise.
32324         * hurd/Makefile: Likewise.
32325         * hurd/hurd/signal.h: Likewise.
32326         * hurd/hurdfault.c: Likewise.
32327         * hurd/hurdioctl.c: Likewise.
32328         * hurd/hurdlookup.c: Likewise.
32329         * hurd/intr-msg.c: Likewise.
32330         * iconv/gconv_open.c: Likewise.
32331         * libio/swprintf.c: Likewise.
32332         * locale/lc-ctype.c: Likewise.
32333         * locale/nl_langinfo.c: Likewise.
32334         * mach/Machrules: Likewise.
32335         * mach/Makefile: Likewise.
32336         * malloc/obstack.h: Likewise.
32337         * manual/Makefile: Likewise.
32338         * manual/tsort.awk: Likewise.
32339         * misc/bits/stab.def: Likewise.
32340         * nis/nis_print_group_entry.c: Likewise.
32341         * nis/nis_table.c: Likewise.
32342         * nis/nss_compat/compat-pwd.c: Likewise.
32343         * nis/nss_compat/compat-spwd.c: Likewise.
32344         * po/Makefile: Likewise.
32345         * posix/fnmatch.c: Likewise.
32346         * posix/regex.h: Likewise.
32347         * resolv/Makefile: Likewise.
32348         * resolv/nss_dns/dns-network.c: Likewise.
32349         * resolv/res_hconf.c: Likewise.
32350         * scripts/gen-sorted.awk: Likewise.
32351         * soft-fp/soft-fp.h: Likewise.
32352         * stdio-common/printf.h: Likewise.
32353         * stdlib/monetary.h: Likewise.
32354         * stdlib/random.c: Likewise.
32355         * stdlib/random_r.c: Likewise.
32356         * sysdeps/generic/Makefile: Likewise.
32357         * sysdeps/gnu/Makefile: Likewise.
32358         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32360         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32362         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32365         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32367         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32368         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32375         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32376         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32378         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32379         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32380         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32381         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32382         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32383         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32385         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32386         * sysdeps/mach/hurd/errnos.awk: Likewise.
32387         * sysdeps/mach/hurd/fork.c: Likewise.
32388         * sysdeps/mach/hurd/getcwd.c: Likewise.
32389         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32390         * sysdeps/mach/hurd/mmap.c: Likewise.
32391         * sysdeps/mach/hurd/utimes.c: Likewise.
32392         * sysdeps/mach/hurd/xmknod.c: Likewise.
32393         * sysdeps/posix/profil.c: Likewise.
32394         * sysdeps/posix/readdir_r.c: Likewise.
32395         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32396         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32397         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32398         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32401         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32402         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32404         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32405         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32406         * sysdeps/pthread/lio_listio.c: Likewise.
32407         * sysdeps/sparc/dl-procinfo.h: Likewise.
32408         * sysdeps/unix/i386/sysdep.S: Likewise.
32409         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32410         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32411         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32412         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32414         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32415         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32416         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32417         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32418         * sysdeps/wordsize-32/divdi3.c: Likewise.
32419         * time/sys/time.h: Likewise.
32420         * wcsmbs/Makefile: Likewise.
32421
32422 2013-01-01  David S. Miller  <davem@davemloft.net>
32423
32424         * po/fr.po: Update from translation team.
32425
32426         * catgets/gencat.c: Update copyright year.
32427         * csu/version.c: Likewise.
32428         * debug/catchsegv.sh: Likewise.
32429         * debug/pcprofiledump.c: Likewise.
32430         * debug/xtrace.sh: Likewise.
32431         * elf/ldconfig.c: Likewise.
32432         * elf/ldd.bash.in: Likewise.
32433         * elf/pldd.c: Likewise.
32434         * elf/sotruss.ksh: Likewise.
32435         * elf/sprof.c: Likewise.
32436         * iconv/iconv_prog.c: Likewise.
32437         * iconv/iconvconfig.c: Likewise.
32438         * locale/programs/locale.c: Likewise.
32439         * locale/programs/localedef.c: Likewise.
32440         * login/programs/pt_chown.c: Likewise.
32441         * malloc/memusage.sh: Likewise.
32442         * malloc/memusagestat.c: Likewise.
32443         * malloc/mtrace.pl: Likewise.
32444         * nscd/nscd.c: Likewise.
32445         * nss/getent.c: Likewise.
32446         * nss/makedb.c: Likewise.
32447         * posix/getconf.c: Likewise.
32448
32449 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32450
32451         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32452         numbers.
32453
32454 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32455
32456         * math/bits/mathcalls.h (modf): Use __nonnull.
32457
32458 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32459
32460         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32461         (split): Use macro CN instead of the bare value.
32462         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32463         could be used.
32464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32465         instead of the bare value.
32466         (power1): Likewise.
32467
32468 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32469
32470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32471         __ATAN_TWOM.
32472         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32473
32474         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32475         their values.
32476         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32477         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32478         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32479         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32480
32481 2012-12-28  Andreas Jaeger  <aj@suse.de>
32482
32483         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32484         values are from Linux 3.7.
32485
32486         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32487         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32488
32489 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32490
32491         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32492         TRUE case.
32493
32494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32495         (norm): Likewise.
32496         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32497         variables with preprocessor constants.
32498         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32499         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32500         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32501
32502 2012-12-27  Bruno Haible  <bruno@clisp.org>
32503
32504         [BZ #14317]
32505         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32506         only if needed.
32507
32508 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32509
32510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32511         and use variable directly.
32512         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32513
32514         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32515         MPONE.
32516         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32517         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32518         variable MPONE.
32519         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32521         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32522         include directive.  Remove local variable MPONE.
32523         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32524         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32526
32527 2012-12-25  David S. Miller  <davem@davemloft.net>
32528
32529         * version.h (RELEASE): Set to "development".
32530         (VERSION): Set to "2.17.90".
32531         * NEWS: Add 2.18 section.
32532
32533 2012-12-21  David S. Miller  <davem@davemloft.net>
32534
32535         * po/hr.po: Update from translation team.
32536
32537 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32538
32539         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32540
32541 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32542
32543         * NEWS:  Mention new memcpy for MIPS.
32544
32545 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32546
32547         * manual/contrib.texi (Contributors): Spelling correction.
32548
32549 2012-12-15  David S. Miller  <davem@davemloft.net>
32550
32551         * po/ru.po: Update from translation team.
32552
32553 2012-12-13  David S. Miller  <davem@davemloft.net>
32554
32555         * NEWS: Mention IFUNC testsuite enhancements.
32556
32557         * po/pl.po: Update from translation team.
32558         * po/bg.po: Likewise.
32559
32560         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32561         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32562
32563 2012-12-11  David S. Miller  <davem@davemloft.net>
32564
32565         * po/sv.po: Update from translation team.
32566
32567         * po/vi.po: Update from translation team.
32568
32569         * po/cs.po: Update from translation team.
32570
32571         * po/de.po: Update from translation team.
32572         * po/eo.po: Likewise.
32573         * po/nl.po: Likewise.
32574
32575 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32576
32577         [BZ #14246]
32578         * manual/argp.texi (Argp Helper Functions): Move node to follow
32579         Argp Parsing State.
32580
32581         [BZ #14872]
32582         * manual/conf.texi (Limits on File System Capacity): Mention if
32583         terminating null is included in the max size.
32584
32585 2012-12-10  Andreas Jaeger  <aj@suse.de>
32586
32587         * po/cs.po: Update from translation team.
32588
32589 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32590
32591         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32592         void pointer and cast to uintptr_t.
32593         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32594         path.
32595         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32596         * sysdeps/s390/s390-64/memset.S: Likewise.
32597
32598 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32599
32600         [BZ #14833]
32601         * menual/message.texi (Message Translation): Fix typos.
32602         (Helper programs for gettext): Likewise.
32603
32604 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32605
32606         [BZ #14898]
32607         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32608         Change to -1.
32609
32610 2012-12-07  David S. Miller  <davem@davemloft.net>
32611
32612         * po/libc.pot: Update.
32613
32614 2012-12-07  Richard Henderson  <rth@redhat.com>
32615
32616         [BZ #10114]
32617         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32618         normal/normal case to before the switch.
32619         (_FP_DIV): Likewise.
32620
32621 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32622             Mike Frysinger  <vapier@gentoo.org>
32623
32624         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32625         check for __NR_fadvise64_64.
32626
32627 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32628
32629         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32630         0, not just to plain "0" as a statement.
32631         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32632         with cw.
32633
32634 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32635
32636         * NEWS: Use sourceware.org in Bugzilla URL.
32637
32638 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32639
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32641         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32642
32643         * stdio-common/tst-put-error.c (do_test): Add newline to the
32644         padded test to ensure flush.
32645
32646 2012-12-05  Jeff Law  <law@redhat.com>
32647
32648         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32649
32650 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32651
32652         * README: Don't refer to ports add-on as distributed separately.
32653         Mention AArch64 in list of systems supported in the ports add-on.
32654
32655         * LICENSES: Add more non-FSF copyright and license notices.
32656
32657         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32658         ((unused)).
32659
32660         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32661
32662         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32663         10000 as width of padded output.
32664
32665 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32666
32667         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32668
32669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32670         variable LX with __attribute__ ((unused)).
32671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32672         Likewise.
32673         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32676         with __attribute__ ((unused)).
32677
32678 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32679
32680         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32681
32682 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32683
32684         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32685         (CFLAGS-nldbl-acos.c): New variable.
32686         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32687         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32688         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32689         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32690         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32691         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32692         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32693         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32694         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32695         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32696         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32697         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32698         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32699         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32700         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32701         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32702         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32703         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32704         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32705         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32706         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32707         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32708         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32709         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32710         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32711         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32712         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32713         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32714         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32715         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32716         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32717         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32718         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32719         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32720         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32721         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32722         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32723         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32724         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32725         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32726         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32727         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32728         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32729         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32730         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32731         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32732         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32733         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32734         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32735         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32736         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32737         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32738         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32739         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32740         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32741         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32742         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32743         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32744         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32745         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32746         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32747         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32748         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32749         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32750         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32751         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32752         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32753         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32754         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32755         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32756         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32757         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32758         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32759         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32760         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32761         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32762         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32763         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32764         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32765         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32766         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32767         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32768         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32769         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32770         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32771         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32772         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32773         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32774         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32775         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32776         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32777         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32778         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32779         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32780         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32781         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32782         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32783
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32785         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32786
32787         [BZ #14914]
32788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32789         whole low double instead of just low 47 bits when splitting values
32790         into two parts.
32791
32792 2012-12-03  Allan McRae  <allan@archlinux.org>
32793
32794         * manual/stdio.texi (Predefined Printf Handlers): Remove
32795         @hsep and @vsep usage.
32796
32797 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32798
32799         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32800         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32801
32802 2012-12-03  Jeff Law  <law@redhat.com>
32803
32804         * time/sys/time.h (settimeofday): Do not mark TV argument
32805         as __nonnull.
32806
32807 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32808
32809         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32810         when currently writing and seek to current position when not.
32811         * libio/Makefile (tests): Remove bug-fclose1.
32812         * libio/bug-fclose1.c: Delete.
32813
32814 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32815
32816         * manual/arith.texi (feenableexcept): Fix typo.
32817         (fedisableexcept): Likewise.
32818
32819 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32820
32821         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32822         second, differently-typed declaration, rather than a cast.
32823
32824 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32825
32826         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32827         * include/rpc/svc.h: ... here.
32828
32829 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32830
32831         [BZ #13013]
32832         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32833         depending n and resplen2 to catch cases where answer
32834         equals answerp2.
32835
32836 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32837
32838         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32839         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32840
32841 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32842
32843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32844
32845 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32846
32847         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32848
32849 2012-11-28  Jeff Law  <law@redhat.com>
32850
32851         [BZ #13761]
32852         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32853         dataset_temporary.  Track alloca usage into alloca_used.
32854         If dataset is large allocate and release it via malloc/free.
32855
32856 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32857
32858         [BZ #14197]
32859         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32860
32861 2012-11-28  David S. Miller  <davem@davemloft.net>
32862
32863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864
32865 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32866
32867         [BZ #14803]
32868         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32869         of pi/2 rounded to nearest to 64 bits.
32870         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32871         nearest to 64 bits.
32872         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32873         bits.
32874
32875 2012-11-28  Jeff Law <law@redhat.com>
32876             Martin Osvald <mosvald@redhat.com>
32877
32878         [BZ #14889]
32879         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32880         * sunrpc/svc.c: Include time.h.
32881         (__svc_accept_failed): New function.
32882         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32883         any reason other than EINTR, call __svc_accept_failed.
32884         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32885         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32886
32887 2012-11-28  Andreas Schwab  <schwab@suse.de>
32888
32889         * scripts/abilist.awk: Also handle indirect functions in .opd
32890         section.
32891
32892 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32893
32894         [BZ #13881]
32895         * sysdeps/x86/fpu/powl_helper.c: New file.
32896         * sysdeps/x86/fpu/Makefile: Likewise.
32897         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32898         (p3): New object.
32899         (__ieee754_powl): Use __powl_helper for finite arguments except
32900         integer exponents below 8.
32901         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32902         (p3): New object.
32903         (__ieee754_powl): Use __powl_helper for finite arguments except
32904         integer exponents below 8.
32905         * math/libm-test.inc (pow_test): Add more tests and enable some
32906         previously disabled tests.
32907         * sysdeps/i386/fpu/libm-test-ulps: Update.
32908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32909
32910 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32911             Carlos O'Donell  <carlos_odonell@mentor.com>
32912
32913         * nss/makedb.c (is_prime): Assert that input is odd and greater
32914         than 4.  Note that fact in a comment too.
32915         (next_prime): Add 4 to input.
32916
32917 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32918
32919         [BZ #11741]
32920         * libio/Makefile (tests): Add test case tst-fwrite-error.
32921         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32922         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32923         * libio/tst-fwrite-error.c: New test case.
32924
32925 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32926
32927         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32928         before casting to void *.
32929         * include/libc-internal.h (__pointer_type): New macro.
32930         (__integer_if_pointer_type_sub): Likewise.
32931         (__integer_if_pointer_type): Likewise.
32932         (cast_to_integer): Likewise.
32933         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32934         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32935         before casting to atomic64_t.
32936         (atomic_exchange_acq): Likewise.
32937         (__arch_exchange_and_add_body): Likewise.
32938         (__arch_add_body): Likewise.
32939         (atomic_add_negative): Likewise.
32940         (atomic_add_zero): Likewise.
32941
32942 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32943
32944         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32945         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32946         (add_fdes): Likewise.
32947         (linear_search_fdes): Likewise.
32948         (binary_search_unencoded_fdes): Likewise.
32949
32950 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32951
32952         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32953
32954 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32955
32956         * configure.in: Autodetect C++ header directories.
32957         * configure: Regenerated.
32958
32959 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32960
32961         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32962
32963 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32964
32965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32966
32967 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32968
32969         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32970         LDBL_MANT_DIG == 106]: Disable some tests.
32971         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32972         Likewise.
32973         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32974         Likewise.
32975
32976         [BZ #14871]
32977         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32978         input for small inputs.  Return +/- pi/2 for large inputs.
32979         * math/libm-test.inc (atan_test): Add more tests.
32980
32981         * sysdeps/generic/unwind-dw2-fde-glibc.c
32982         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32983         __attribute__ ((unused)).
32984
32985         [BZ #14645]
32986         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32987         x * y if x and y are nonzero and z is zero.
32988
32989         [BZ #14811]
32990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32991         nonzero exponents with absolute value below 0x1p-117 to +/-
32992         0x1p-117.
32993
32994         [BZ #14869]
32995         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32996         up arguments below 2**-450, not just those below 2**-500.
32997         * math/libm-test.inc (hypot_test): Add another test.
32998
32999         [BZ #14868]
33000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33001         Return a+b for ratio over 2**120, not 2**60.
33002         * math/libm-test.inc (hypot_test): Add another test.
33003
33004         * math/libm-test.inc (clog_test): Use
33005         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33006         (clog10_test): Likewise.
33007
33008         [BZ #6778]
33009         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33010
33011 2012-11-22  Andreas Schwab  <schwab@suse.de>
33012
33013         * sysdeps/i386/fpu/libm-test-ulps: Update.
33014
33015 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33016
33017         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33018         printf output with newline.
33019
33020 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33021
33022         [BZ #14865]
33023         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33024         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33025         -z nodlopen, -z initfirst and -z execstack support.
33026         * configure: Regenerated.
33027
33028         * elf/elf.h (DF_1_NODIRECT): New macro.
33029         (DF_1_IGNMULDEF): Likewise.
33030         (DF_1_NOKSYMS): Likewise.
33031         (DF_1_NOHDR): Likewise.
33032         (DF_1_EDITED): Likewise.
33033         (DF_1_NORELOC): Likewise.
33034         (DF_1_SYMINTPOSE): Likewise.
33035         (DF_1_GLOBAUDIT): Likewise.
33036         (DF_1_SINGLETON): Likewise.
33037         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33038         DT_1_SUPPORTED_MASK bits.
33039         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33040
33041 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33042
33043         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33044
33045 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33046
33047         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33048         macro.
33049
33050         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33051         (sendmmsg): Move declarations...
33052         * socket/sys/socket.h: ... here.
33053         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33054         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33055         include it from...
33056         * socket/recvmmsg.c: ... this new file.
33057         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33058         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33059         definition of __sendmmsg hidden.
33060         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33061         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33062         Move ENOSYS stub into and include it from...
33063         * socket/sendmmsg.c: ... this new file.
33064         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33065         (sysdep_routines): Move recvmmsg and sendmmsg...
33066         * socket/Makefile (routines): ... here.
33067         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33068         (GLIBC_PRIVATE): Add __sendmmsg.
33069         * include/sys/socket.h (__sendmmsg): Add declarations.
33070         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33071         sendmmsg.
33072
33073 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33074
33075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33076         variable I1 with __attribute__ ((unused)).
33077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33078
33079 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33080
33081         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33082         DUMMY variables with __attribute__ ((unused)).
33083
33084         * bits/byteswap.h: Include <bits/types.h>.
33085         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33086
33087 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33088
33089         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33090         string_t.  Do not manually set errno.
33091         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33092         length with __strnlen.  Make sure to both set errno and return it on
33093         failure.
33094
33095 2012-11-19  David S. Miller  <davem@davemloft.net>
33096
33097         With help from Joseph Myers.
33098         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33099         very large arguments properly.
33100         * math/libm-test.inc (atan_test): New tests.
33101         (atan2_test): New tests.
33102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33104
33105 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33106
33107         [BZ #14856]
33108         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33109         Define to 3.
33110
33111         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33112         [POSIX] (EADDRNOTAVAIL): Likewise.
33113         [POSIX] (EAFNOSUPPORT): Likewise.
33114         [POSIX] (EALREADY): Likewise.
33115         [POSIX] (ECONNABORTED): Likewise.
33116         [POSIX] (ECONNREFUSED): Likewise.
33117         [POSIX] (ECONNRESET): Likewise.
33118         [POSIX] (EDESTADDRREQ): Likewise.
33119         [POSIX] (EDQUOT): Likewise.
33120         [POSIX] (EHOSTUNREACH): Likewise.
33121         [POSIX] (EIDRM): Likewise.
33122         [POSIX] (EISCONN): Likewise.
33123         [POSIX] (ELOOP): Likewise.
33124         [POSIX] (EMULTIHOP): Likewise.
33125         [POSIX] (ENETDOWN): Likewise.
33126         [POSIX] (ENETUNREACH): Likewise.
33127         [POSIX] (ENOBUFS): Likewise.
33128         [POSIX] (ENODATA): Likewise.
33129         [POSIX] (ENOLINK): Likewise.
33130         [POSIX] (ENOMSG): Likewise.
33131         [POSIX] (ENOPROTOOPT): Likewise.
33132         [POSIX] (ENOSR): Likewise.
33133         [POSIX] (ENOSTR): Likewise.
33134         [POSIX] (ENOTCONN): Likewise.
33135         [POSIX] (ENOTSOCK): Likewise.
33136         [POSIX] (EOPNOTSUPP): Likewise.
33137         [POSIX] (EOVERFLOW): Likewise.
33138         [POSIX] (EPROTO): Likewise.
33139         [POSIX] (EPROTONOSUPPORT): Likewise.
33140         [POSIX] (EPROTOTYPE): Likewise.
33141         [POSIX] (ESTALE): Likewise.
33142         [POSIX] (ETIME): Likewise.
33143         [POSIX] (ETXTBSY): Likewise.
33144         [POSIX] (EWOULDBLOCK): Likewise.
33145         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33146         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33147         [POSIX] (SEEK_CUR): Likewise.
33148         [POSIX] (SEEK_END): Likewise.
33149         [POSIX || UNIX98] (mode_t): Do not require.
33150         [POSIX] (off_t): Likewise.
33151         [POSIX] (pid_t): Likewise.
33152         [POSIX] (sys/stat.h): Do not allow header.
33153         [POSIX] (unistd.h): Likewise.
33154         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33155         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33156         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33157         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33158         require.
33159         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33160         sigevent): Specify elements.
33161         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33162         entry.
33163         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33164         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33165
33166         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33167         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33168         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33169         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33170         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33171         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33172         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33173         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33174         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33175         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33176         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33177         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33178         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33179         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33180         Likewise.
33181         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33182         Likewise.
33183         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33184         Likewise.
33185         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33186         Likewise.
33187         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33188         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33189         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33190         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33191         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33192         Specify lower bound on value.
33193         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33194         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33195         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33196         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33197         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33198         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33199         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33200         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33201         value.
33202         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33203         as optional.
33204         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33205         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33206         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33207         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33208         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33209         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33210         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33211         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33212         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33213         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33214         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33215         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33216         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33217         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33218         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33219         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33220         entry.
33221         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33222         optional.
33223         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33224         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33225         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33226         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33227         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33228         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33229         Likewise.
33230         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33231         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33232         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33233         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33234         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33235         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33236         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33237         as optional.
33238         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33239         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33240         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33241         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33242         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33243         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33244         specify as optional.
33245         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33246         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33247         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33248         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33249         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33250         [XPG3] (NL_LANGMAX): Likewise.
33251         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33252         [POSIX || XPG3] (NL_NMAX): Likewise.
33253         [POSIX || XPG3] (NL_SETMAX): Likewise.
33254         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33255         [XPG3] (NZERO): Likewise.
33256         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33257         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33258         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33259         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33260         (REG_ERANGE): Expect.
33261         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33262         optional-constant.
33263         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33264         Use (void) in prototype.
33265         [POSIX] (*_t): Allow.
33266         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33267         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33268         (WRDE_BADVAL): Expect.
33269
33270         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33271         expect.
33272         [XPG3 || XPG4] (O_RSYNC): Likewise.
33273         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33274         Likewise.
33275         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33276         [XPG3 || XPG4] (sigqueue): Likewise.
33277         [XPG3 || XPG4] (sigtimedwait): Likewise.
33278         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33279         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33280         [XPG3 || XPG4] (vsnprintf): Likewise.
33281         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33282         Likewise.
33283         [XPG3 || XPG4] (blksize_t): Likewise.
33284         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33285         Likewise.
33286         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33287         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33288         [XPG3 || XPG4] (struct itimerspec): Likewise.
33289         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33290         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33291         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33292         [XPG3 || XPG4] (clockid_t): Likewise.
33293         [XPG3 || XPG4] (timer_t): Likewise.
33294         [XPG3 || XPG4] (clock_getres): Likewise.
33295         [XPG3 || XPG4] (clock_gettime): Likewise.
33296         [XPG3 || XPG4] (clock_settime): Likewise.
33297         [XPG3 || XPG4] (nanosleep): Likewise.
33298         [XPG3 || XPG4] (timer_create): Likewise.
33299         [XPG3 || XPG4] (timer_delete): Likewise.
33300         [XPG3 || XPG4] (timer_gettime): Likewise.
33301         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33302         [XPG3 || XPG4] (timer_settime): Likewise.
33303         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33304         [XPG3 || XPG4] (getlogin_r): Likewise.
33305         [XPG3 || XPG4] (pread): Likewise.
33306         [XPG3 || XPG4] (pthread_atfork): Likewise.
33307         [XPG3 || XPG4] (pwrite): Likewise.
33308
33309         [BZ #14835]
33310         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33311         <bits/siginfo.h>.
33312
33313 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33314
33315         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33316         finalizing MALLSTREAM.
33317
33318         * sysdeps/mach/hurd/syncfs.c: New file.
33319
33320 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33321
33322         [BZ #14719]
33323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33324         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33325         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33326         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33327         (_nss_dns_gethostbyname4_r): Likewise.
33328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33329         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33330
33331 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33332
33333         [BZ #13763]
33334         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33335
33336 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33337
33338         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33339         * elf/cache.c (print_entry): Print ",AArch64" for
33340         FLAG_AARCH64_LIB64
33341
33342         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33343         * elf/cache.c (print_entry): Print ",hard-float" for
33344         FLAG_ARM_LIBHF.
33345
33346 2012-11-18  David S. Miller  <davem@davemloft.net>
33347
33348         With help from Joseph Myers.
33349         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33350         cutoff to 2**-13.
33351         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33352         cutoff to 2**-25.
33353         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33354         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33355         small.
33356         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33357         * math/libm-test.inc (y0_test): New tests.
33358         (y1_test): New tests.
33359         * sysdeps/i386/fpu/libm-test-ulps: Update.
33360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33362
33363 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33364
33365         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33366         64-bit targets.
33367         * configure: Regenerated.
33368
33369 2012-11-17  David S. Miller  <davem@davemloft.net>
33370
33371         [BZ #14811]
33372         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33373         nonzero exponents with absolute value below 0x1p-128 to +/-
33374         0x1p-128.
33375
33376 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33377
33378         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33379
33380         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33381
33382         * posix/getconf-speclist.c: New file.
33383         * posix/posix-envs.def: Likewise.
33384         * posix/confstr.c (START_ENV_GROUP): New macro.
33385         (END_ENV_GROUP): Likewise.
33386         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33387         (KNOWN_PRESENT_ENV_STRING): Likewise.
33388         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33389         (UNKNOWN_ENVIRONMENT): Likewise.
33390         (confstr): Include posix-envs.def instead of handling
33391         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33392         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33393         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33394         (END_ENV_GROUP): Likewise.
33395         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33396         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33397         (UNKNOWN_ENVIRONMENT): Likewise.
33398         (__sysconf): Include posix-envs.def instead of handling associated
33399         cases directly here.
33400         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33401         preprocessing getconf-speclist.c rather than running getconf or
33402         generating empty file.
33403
33404 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33405
33406         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33407
33408 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33409
33410         [BZ #14672]
33411         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33412
33413 2012-11-16  David S. Miller  <davem@davemloft.net>
33414
33415         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33416         smaller than LDBL_EPSILON/2.0L, just return xm1.
33417
33418 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33419
33420         * elf/tst-array1.c (init): Set constructor priority to 1000.
33421         (fini): Set destructor priority to 1000.
33422         * elf/tst-array2dep.c: Likewise.
33423
33424 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33425
33426         [BZ #11741]
33427         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33428         (_IO_new_file_xsputn): Also return EOF if none of the input
33429         data was written when overflow failed.
33430         * libio/iopadn.c (_IO_padn): Likewise.
33431         * libio/iowpadn.c (_IO_wpadn): Likewise.
33432         * stdio-common/tst-put-error.c: Add copyright notice.
33433         (do_test): Add case for printing padded string.
33434         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33435         _IO_padn returned error.
33436         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33437         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33438         return EOF.
33439
33440 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33441
33442         * libio/libioP.h: Add comment note that the references to C++
33443         bits are now obsolete.
33444
33445 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33446
33447         * math/libm-test.inc (check_complex): Use asprintf.
33448
33449 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33450
33451         * debug/pcprofiledump.c (print_version): Update copyright year.
33452         * malloc/memusagestat.c (print_version): Likewise.
33453
33454 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33455
33456         [BZ #14831]
33457         * elf/Makefile (tests): Add tst-audit8.
33458         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33459         ($(objpfx)tst-audit8.out): New target.
33460         (tst-audit8-ENV): New variable.
33461         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33462         audit if l_reloc_result is NULL.
33463         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33464         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33465         * elf/tst-audit8.c: New file.
33466
33467 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33468
33469         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33470         * misc/Makefile (CFLAGS-select.c): Define.
33471         * posix/Makefile (CFLAGS-pause.c): Define.
33472
33473 2012-11-13  David S. Miller  <davem@davemloft.net>
33474
33475         * crypt/Makefile: Move test targets after toplevel Rules
33476         inclusion.  Grab any necessary sysdep routines when linking.
33477         * crypt/md5.c (md5_process_block): Remove define, we will always
33478         name it __md5_process_block.
33479         (md5_finish_ctx): Update md5_process_block call.
33480         (md5_stream): Likewise.
33481         (md5_process_bytes): Likewise.
33482         (md5_process_block): Rename to __md5_process_block and move to ...
33483         * crypt/md5-block.c: ... here.
33484         * crypt/sha256.c (sha256_process_block): Move to ...
33485         * crypt/sha256-block.c: ... here.
33486         * crypt/sha512.c (sha512_process_block): Move to ...
33487         * crypt/sha512-block.c: ... here.
33488         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33489         path.
33490         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33491         * sysdeps/sparc/sparc64/multiarch/Makefile
33492         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33493         crypt subdir.
33494         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33495         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33496         multiarch changes.
33497         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33498         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33499         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33500         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33501         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33502         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33503         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33504         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33505         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33506         file.
33507         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33508         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33509         file.
33510         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33511
33512 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33513
33514         * timezone/tzselect.ksh: Update from tzcode git revision
33515         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33516         * timezone/zdump.c: Likewise.
33517         * timezone/zic.c: Likewise.
33518         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33519         in TZVERSION setting, not $(PKGVERSION).
33520         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33521         REPORT_BUGS_TO settings.
33522
33523         [BZ #14838]
33524         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33525         macro.
33526
33527 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33528
33529         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33530         detection to immediately after _FP_ROUND().
33531         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33532         bits are 0.
33533
33534 2012-11-11  David S. Miller  <davem@davemloft.net>
33535
33536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33537         inttypes.h
33538         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33539         __close rather than their public counterparts.
33540
33541 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33542
33543         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33544         file.
33545         [UNIX98] (sem_timedwait): Do not expect.
33546         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33547         [XPG4 || UNIX98] (sockatmark): Do not expect.
33548         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33549         (clock_getcpuclockid): Do not expect.
33550         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33551         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33552         Do not expect.
33553         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33554         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33555         [UNIX98] (vwscanf): Likewise.
33556         [UNIX98] (vswscanf): Likewise.
33557
33558 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33559
33560         * timezone/version.h: Remove file.
33561         * timezone/README: Do not refer to version.h.
33562         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33563         $(objpfx)version.h.
33564         ($(objpfx)zdump.o): Likewise.
33565         ($(objpfx)version.h): New target.
33566
33567         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33568         2012i.
33569         * timezone/README: Don't mention modification to tzselect.ksh.
33570         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33571         work on unmodified tzselect.ksh.  Substitute version numbers in
33572         tzselect.ksh.
33573
33574         * Makefile (format-me): Remove.
33575         (INSTALL): Adjust indentation.  Use commands directly instead of
33576         using $(format-me).
33577
33578         * aclocal.m4 (ACX_PKGVERSION): New macro.
33579         (ACX_BUGURL): Likewise.
33580         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33581         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33582         (REPORT_BUGS_TO): Likewise.
33583         * configure: Regenerated.
33584         * config.h.in (PKGVERSION): New macro.
33585         (REPORT_BUGS_TO): Likewise.
33586         * config.make.in (PKGVERSION): New variable.
33587         (PKGVERSION_TEXI): Likewise.
33588         (REPORT_BUGS_TO): Likewise.
33589         (REPORT_BUGS_TEXI): Likewise.
33590         * Makefile (format-me): Use -I$(common-objpfx)manual.
33591         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33592         ($(common-objpfx)manual/%): New target.
33593         (manual/%): Remove target.
33594         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33595         (print_version): Use PKGVERSION.
33596         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33597         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33598         and REPORT_BUGS_TO.
33599         ($(objpfx)xtrace): Likewise.
33600         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33601         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33602         (print_version): Use PKGVERSION.
33603         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33604         (do_version): Use PKGVERSION.
33605         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33606         REPORT_BUGS_TO.
33607         (common-ldd-rewrite): Likewise.
33608         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33609         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33610         (print_version): Use PKGVERSION.
33611         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33612         * elf/pldd.c (argp_program_bug_address): Remove variable.
33613         (more_help): New function.
33614         (argp): Use more_help.
33615         (print_version): Use PKGVERSION.
33616         * elf/sln.c (main): Use PKGVERSION.
33617         (usage): Use REPORT_BUGS_TO.
33618         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33619         (top level): Use PKGVERSION.
33620         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33621         (print_version): Use PKGVERSION.
33622         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33623         (print_version): Use PKGVERSION.
33624         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33625         (print_version): Use PKGVERSION.
33626         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33627         (print_version): Use PKGVERSION.
33628         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33629         (print_version): Use PKGVERSION.
33630         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33631         (print_version): Use PKGVERSION.
33632         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33633         and BUGURL.
33634         ($(objpfx)memusage): Likewise.
33635         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33636         (do_version): Use PKGVERSION.
33637         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33638         (print_version): Use PKGVERSION.
33639         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33640         ($PKGVERSION): New variable.
33641         ($REPORT_BUGS_TO): Likewise.
33642         (usage): Use $REPORT_BUGS_TO.
33643         (top level): Use $PKGVERSION.
33644         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33645         ($(objpfx)pkgvers.texi): New rule.
33646         ($(objpfx)stamp-pkgvers): Likewise.
33647         * manual/install.texi: Include pkgvers.texi.
33648         (--with-pkgversion): Document new configure option.
33649         (--with-bugurl): Likewise.
33650         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33651         than necessarily for this particular distribution.  Use
33652         REPORT_BUGS_TO for where to report bugs.
33653         * INSTALL: Regenerated.
33654         * manual/libc.texinfo: Include pkgvers.texi.
33655         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33656         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33657         (print_version): Use PKGVERSION.
33658         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33659         (print_version): Use PKGVERSION.
33660         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33661         (print_version): Use PKGVERSION.
33662         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33663         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33664         macro.
33665         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33666         (print_version): Use PKGVERSION.
33667         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33668         (print_version): Use PKGVERSION.
33669         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33670         and PKGVERSION.
33671
33672         * timezone/checktab.awk: Update from tzcode 2012i.
33673         * timezone/ialloc.c: Likewise.
33674         * timezone/private.h: Likewise.
33675         * timezone/scheck.c: Likewise.
33676         * timezone/tzfile.h: Likewise.
33677         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33678         (TZVERSION): Hardcode tzcode version number.
33679         * timezone/zdump.c: Update from tzcode 2012i.
33680         * timezone/zic.c: Likewise.
33681         * timezone/version.h: New file.
33682         * timezone/README: Describe version.h.  Update upstream location.
33683
33684         [BZ #14824]
33685         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33686         (mktemp): Enable declaration.
33687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33691         Likewise.
33692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33693         Likewise.
33694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33695         Likewise.
33696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33697         Likewise.
33698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33699         Likewise.
33700         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33701         Likewise.
33702
33703         [BZ #14821]
33704         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33705         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33706         for copies of such integer values.
33707         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33708         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33709
33710 2012-11-09  Andreas Jaeger  <aj@suse.de>
33711
33712         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33713         definitions and declarations that are provided by
33714         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33715
33716 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33717
33718         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33719         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33720         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33721         definition.
33722
33723 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33724
33725         * elf/elf.h: Update comment before AArch64 relocations.
33726
33727 2012-11-07  David S. Miller  <davem@davemloft.net>
33728
33729         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33730         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33731         (__start_context): Declare.
33732         (__makecontext_ret): Delete.
33733         (__makecontext): Hook up __start_context instead of
33734         __makecontext_ret.
33735         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33736         (sysdep_routines): Add __start_context when in stdlib.
33737
33738 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33739
33740         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33741         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33742         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33743         hardcoded "nm".
33744         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33745         (READELF): New variable.  Use it instead of hardcoded "readelf".
33746
33747 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33748
33749         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33750         * sysdeps/x86/Makefile: Here.
33751         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33752         * sysdeps/x86/tst-xmmymm.sh: This.
33753
33754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33755
33756         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33757         expectations.
33758         [UNIX98] (pthread_barrier_t): Do not expect.
33759         [UNIX98] (pthread_barrierattr_t): Likewise.
33760         [UNIX98] (pthread_spinlock_t): Likewise.
33761         [UNIX98] (pthread_barrier_destroy): Likewise.
33762         [UNIX98] (pthread_barrier_init): Likewise.
33763         [UNIX98] (pthread_barrier_wait): Likewise.
33764         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33765         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33766         [UNIX98] (pthread_barrierattr_init): Likewise.
33767         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33768         [UNIX98] (pthread_getcpuclockid): Likewise.
33769         [UNIX98] (pthread_mutex_timedlock): Likewise.
33770         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33771         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33772         [UNIX98] (pthread_sigmask): Likewise.
33773         [UNIX98] (pthread_spin_destroy): Likewise.
33774         [UNIX98] (pthread_spin_init): Likewise.
33775         [UNIX98] (pthread_spin_lock): Likewise.
33776         [UNIX98] (pthread_spin_trylock): Likewise.
33777         [UNIX98] (pthread_spin_unlock): Likewise.
33778         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33779         Do not expect.
33780         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33782         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33783         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33784         [XPG3 || XPG4] (pthread_key_t): Likewise.
33785         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33786         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33787         [XPG3 || XPG4] (pthread_once_t): Likewise.
33788         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33789         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33791         [XPG3 || XPG4] (pthread_t): Likewise.
33792
33793         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33794         not expect.
33795         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33796
33797         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33798         Change function return type to int.
33799
33800         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33801         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33802         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33803         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33804         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33805         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33806         [!POSIX] (posix_madvise): Likewise.
33807         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33808         && !UNIX98].
33809         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33810         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33811         (mode_t): Likewise.
33812         (posix_mem_offset): Likewise.
33813         (posix_typed_mem_get_info): Likewise.
33814         (posix_typed_mem_open): Likewise.
33815
33816         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33817         Change condition to [XOPEN2K8].
33818
33819         * conform/conformtest.pl: Preprocess allow-header data with -x c
33820         instead of from stdin.
33821         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33822         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33823         [C99-based standards] (cerfc): Likewise.
33824         [C99-based standards] (cexp2): Likewise.
33825         [C99-based standards] (cexpm1): Likewise.
33826         [C99-based standards] (clog10): Likewise.
33827         [C99-based standards] (clog1p): Likewise.
33828         [C99-based standards] (clog2): Likewise.
33829         [C99-based standards] (clgamma): Likewise.
33830         [C99-based standards] (ctgamma): Likewise.
33831         [C99-based standards] (cerff): Likewise.
33832         [C99-based standards] (cerfcf): Likewise.
33833         [C99-based standards] (cexp2f): Likewise.
33834         [C99-based standards] (cexpm1f): Likewise.
33835         [C99-based standards] (clog10f): Likewise.
33836         [C99-based standards] (clog1pf): Likewise.
33837         [C99-based standards] (clog2f): Likewise.
33838         [C99-based standards] (clgammaf): Likewise.
33839         [C99-based standards] (ctgammaf): Likewise.
33840         [C99-based standards] (cerfl): Likewise.
33841         [C99-based standards] (cerfcl): Likewise.
33842         [C99-based standards] (cexp2l): Likewise.
33843         [C99-based standards] (cexpm1l): Likewise.
33844         [C99-based standards] (clog10l): Likewise.
33845         [C99-based standards] (clog1pl): Likewise.
33846         [C99-based standards] (clog2l): Likewise.
33847         [C99-based standards] (clgammal): Likewise.
33848         [C99-based standards] (ctgammal): Likewise.
33849         * conform/data/inttypes.h-data [C99-based standards]: Include
33850         stdint.h-data.  Remove all expectations for stdint.h contents.
33851         [C99-based standards] (PRI*): Do not allow.
33852         [C99-based standards] (SCN*): Likewise.
33853         [C99-based standards] (*_t): Likewise.
33854         [C99-based-standards] (PRId8): Expect macro.
33855         [C99-based-standards] (PRIi8): Likewise.
33856         [C99-based-standards] (PRIo8): Likewise.
33857         [C99-based-standards] (PRIu8): Likewise.
33858         [C99-based-standards] (PRIx8): Likewise.
33859         [C99-based-standards] (PRIX8): Likewise.
33860         [C99-based-standards] (SCNd8): Likewise.
33861         [C99-based-standards] (SCNi8): Likewise.
33862         [C99-based-standards] (SCNo8): Likewise.
33863         [C99-based-standards] (SCNu8): Likewise.
33864         [C99-based-standards] (SCNx8): Likewise.
33865         [C99-based-standards] (PRIdLEAST8): Likewise.
33866         [C99-based-standards] (PRIiLEAST8): Likewise.
33867         [C99-based-standards] (PRIoLEAST8): Likewise.
33868         [C99-based-standards] (PRIuLEAST8): Likewise.
33869         [C99-based-standards] (PRIxLEAST8): Likewise.
33870         [C99-based-standards] (PRIXLEAST8): Likewise.
33871         [C99-based-standards] (SCNdLEAST8): Likewise.
33872         [C99-based-standards] (SCNiLEAST8): Likewise.
33873         [C99-based-standards] (SCNoLEAST8): Likewise.
33874         [C99-based-standards] (SCNuLEAST8): Likewise.
33875         [C99-based-standards] (SCNxLEAST8): Likewise.
33876         [C99-based-standards] (PRIdFAST8): Likewise.
33877         [C99-based-standards] (PRIiFAST8): Likewise.
33878         [C99-based-standards] (PRIoFAST8): Likewise.
33879         [C99-based-standards] (PRIuFAST8): Likewise.
33880         [C99-based-standards] (PRIxFAST8): Likewise.
33881         [C99-based-standards] (PRIXFAST8): Likewise.
33882         [C99-based-standards] (SCNdFAST8): Likewise.
33883         [C99-based-standards] (SCNiFAST8): Likewise.
33884         [C99-based-standards] (SCNoFAST8): Likewise.
33885         [C99-based-standards] (SCNuFAST8): Likewise.
33886         [C99-based-standards] (SCNxFAST8): Likewise.
33887         [C99-based-standards] (PRId16): Likewise.
33888         [C99-based-standards] (PRIi16): Likewise.
33889         [C99-based-standards] (PRIo16): Likewise.
33890         [C99-based-standards] (PRIu16): Likewise.
33891         [C99-based-standards] (PRIx16): Likewise.
33892         [C99-based-standards] (PRIX16): Likewise.
33893         [C99-based-standards] (SCNd16): Likewise.
33894         [C99-based-standards] (SCNi16): Likewise.
33895         [C99-based-standards] (SCNo16): Likewise.
33896         [C99-based-standards] (SCNu16): Likewise.
33897         [C99-based-standards] (SCNx16): Likewise.
33898         [C99-based-standards] (PRIdLEAST16): Likewise.
33899         [C99-based-standards] (PRIiLEAST16): Likewise.
33900         [C99-based-standards] (PRIoLEAST16): Likewise.
33901         [C99-based-standards] (PRIuLEAST16): Likewise.
33902         [C99-based-standards] (PRIxLEAST16): Likewise.
33903         [C99-based-standards] (PRIXLEAST16): Likewise.
33904         [C99-based-standards] (SCNdLEAST16): Likewise.
33905         [C99-based-standards] (SCNiLEAST16): Likewise.
33906         [C99-based-standards] (SCNoLEAST16): Likewise.
33907         [C99-based-standards] (SCNuLEAST16): Likewise.
33908         [C99-based-standards] (SCNxLEAST16): Likewise.
33909         [C99-based-standards] (PRIdFAST16): Likewise.
33910         [C99-based-standards] (PRIiFAST16): Likewise.
33911         [C99-based-standards] (PRIoFAST16): Likewise.
33912         [C99-based-standards] (PRIuFAST16): Likewise.
33913         [C99-based-standards] (PRIxFAST16): Likewise.
33914         [C99-based-standards] (PRIXFAST16): Likewise.
33915         [C99-based-standards] (SCNdFAST16): Likewise.
33916         [C99-based-standards] (SCNiFAST16): Likewise.
33917         [C99-based-standards] (SCNoFAST16): Likewise.
33918         [C99-based-standards] (SCNuFAST16): Likewise.
33919         [C99-based-standards] (SCNxFAST16): Likewise.
33920         [C99-based-standards] (PRId32): Likewise.
33921         [C99-based-standards] (PRIi32): Likewise.
33922         [C99-based-standards] (PRIo32): Likewise.
33923         [C99-based-standards] (PRIu32): Likewise.
33924         [C99-based-standards] (PRIx32): Likewise.
33925         [C99-based-standards] (PRIX32): Likewise.
33926         [C99-based-standards] (SCNd32): Likewise.
33927         [C99-based-standards] (SCNi32): Likewise.
33928         [C99-based-standards] (SCNo32): Likewise.
33929         [C99-based-standards] (SCNu32): Likewise.
33930         [C99-based-standards] (SCNx32): Likewise.
33931         [C99-based-standards] (PRIdLEAST32): Likewise.
33932         [C99-based-standards] (PRIiLEAST32): Likewise.
33933         [C99-based-standards] (PRIoLEAST32): Likewise.
33934         [C99-based-standards] (PRIuLEAST32): Likewise.
33935         [C99-based-standards] (PRIxLEAST32): Likewise.
33936         [C99-based-standards] (PRIXLEAST32): Likewise.
33937         [C99-based-standards] (SCNdLEAST32): Likewise.
33938         [C99-based-standards] (SCNiLEAST32): Likewise.
33939         [C99-based-standards] (SCNoLEAST32): Likewise.
33940         [C99-based-standards] (SCNuLEAST32): Likewise.
33941         [C99-based-standards] (SCNxLEAST32): Likewise.
33942         [C99-based-standards] (PRIdFAST32): Likewise.
33943         [C99-based-standards] (PRIiFAST32): Likewise.
33944         [C99-based-standards] (PRIoFAST32): Likewise.
33945         [C99-based-standards] (PRIuFAST32): Likewise.
33946         [C99-based-standards] (PRIxFAST32): Likewise.
33947         [C99-based-standards] (PRIXFAST32): Likewise.
33948         [C99-based-standards] (SCNdFAST32): Likewise.
33949         [C99-based-standards] (SCNiFAST32): Likewise.
33950         [C99-based-standards] (SCNoFAST32): Likewise.
33951         [C99-based-standards] (SCNuFAST32): Likewise.
33952         [C99-based-standards] (SCNxFAST32): Likewise.
33953         [C99-based-standards] (PRId64): Likewise.
33954         [C99-based-standards] (PRIi64): Likewise.
33955         [C99-based-standards] (PRIo64): Likewise.
33956         [C99-based-standards] (PRIu64): Likewise.
33957         [C99-based-standards] (PRIx64): Likewise.
33958         [C99-based-standards] (PRIX64): Likewise.
33959         [C99-based-standards] (SCNd64): Likewise.
33960         [C99-based-standards] (SCNi64): Likewise.
33961         [C99-based-standards] (SCNo64): Likewise.
33962         [C99-based-standards] (SCNu64): Likewise.
33963         [C99-based-standards] (SCNx64): Likewise.
33964         [C99-based-standards] (PRIdLEAST64): Likewise.
33965         [C99-based-standards] (PRIiLEAST64): Likewise.
33966         [C99-based-standards] (PRIoLEAST64): Likewise.
33967         [C99-based-standards] (PRIuLEAST64): Likewise.
33968         [C99-based-standards] (PRIxLEAST64): Likewise.
33969         [C99-based-standards] (PRIXLEAST64): Likewise.
33970         [C99-based-standards] (SCNdLEAST64): Likewise.
33971         [C99-based-standards] (SCNiLEAST64): Likewise.
33972         [C99-based-standards] (SCNoLEAST64): Likewise.
33973         [C99-based-standards] (SCNuLEAST64): Likewise.
33974         [C99-based-standards] (SCNxLEAST64): Likewise.
33975         [C99-based-standards] (PRIdFAST64): Likewise.
33976         [C99-based-standards] (PRIiFAST64): Likewise.
33977         [C99-based-standards] (PRIoFAST64): Likewise.
33978         [C99-based-standards] (PRIuFAST64): Likewise.
33979         [C99-based-standards] (PRIxFAST64): Likewise.
33980         [C99-based-standards] (PRIXFAST64): Likewise.
33981         [C99-based-standards] (SCNdFAST64): Likewise.
33982         [C99-based-standards] (SCNiFAST64): Likewise.
33983         [C99-based-standards] (SCNoFAST64): Likewise.
33984         [C99-based-standards] (SCNuFAST64): Likewise.
33985         [C99-based-standards] (SCNxFAST64): Likewise.
33986         [C99-based-standards] (PRIdMAX): Likewise.
33987         [C99-based-standards] (PRIiMAX): Likewise.
33988         [C99-based-standards] (PRIoMAX): Likewise.
33989         [C99-based-standards] (PRIuMAX): Likewise.
33990         [C99-based-standards] (PRIxMAX): Likewise.
33991         [C99-based-standards] (PRIXMAX): Likewise.
33992         [C99-based-standards] (SCNdMAX): Likewise.
33993         [C99-based-standards] (SCNiMAX): Likewise.
33994         [C99-based-standards] (SCNoMAX): Likewise.
33995         [C99-based-standards] (SCNuMAX): Likewise.
33996         [C99-based-standards] (SCNxMAX): Likewise.
33997         [C99-based-standards] (PRIdPTR): Likewise.
33998         [C99-based-standards] (PRIiPTR): Likewise.
33999         [C99-based-standards] (PRIoPTR): Likewise.
34000         [C99-based-standards] (PRIuPTR): Likewise.
34001         [C99-based-standards] (PRIxPTR): Likewise.
34002         [C99-based-standards] (PRIXPTR): Likewise.
34003         [C99-based-standards] (SCNdPTR): Likewise.
34004         [C99-based-standards] (SCNiPTR): Likewise.
34005         [C99-based-standards] (SCNoPTR): Likewise.
34006         [C99-based-standards] (SCNuPTR): Likewise.
34007         [C99-based-standards] (SCNxPTR): Likewise.
34008         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34009         allow.
34010         * conform/data/stdint.h-data: Update comments to clarify
34011         requirements.
34012         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34013         type.
34014         [C99-based standards] (INT8_MAX): Likewise.
34015         [C99-based standards] (INT16_MIN): Likewise.
34016         [C99-based standards] (INT16_MAX): Likewise.
34017         [C99-based standards] (INT32_MIN): Likewise.
34018         [C99-based standards] (INT32_MAX): Likewise.
34019         [C99-based standards] (INT64_MIN): Likewise.
34020         [C99-based standards] (INT64_MAX): Likewise.
34021         [C99-based standards] (UINT8_MAX): Likewise.
34022         [C99-based standards] (UINT16_MAX): Likewise.
34023         [C99-based standards] (UINT32_MAX): Likewise.
34024         [C99-based standards] (UINT64_MAX): Likewise.
34025         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34026         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34027         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34028         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34029         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34030         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34031         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34032         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34033         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34034         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34035         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34036         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34037         [C99-based standards] (INT_FAST8_MIN): Likewise.
34038         [C99-based standards] (INT_FAST8_MAX): Likewise.
34039         [C99-based standards] (INT_FAST16_MIN): Likewise.
34040         [C99-based standards] (INT_FAST16_MAX): Likewise.
34041         [C99-based standards] (INT_FAST32_MIN): Likewise.
34042         [C99-based standards] (INT_FAST32_MAX): Likewise.
34043         [C99-based standards] (INT_FAST64_MIN): Likewise.
34044         [C99-based standards] (INT_FAST64_MAX): Likewise.
34045         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34046         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34047         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34048         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34049         [C99-based standards] (INTPTR_MIN): Likewise.
34050         [C99-based standards] (INTPTR_MAX): Likewise.
34051         [C99-based standards] (UINTPTR_MAX): Likewise.
34052         [C99-based standards] (INTMAX_MIN): Likewise.
34053         [C99-based standards] (INTMAX_MAX): Likewise.
34054         [C99-based standards] (UINTMAX_MAX): Likewise.
34055         [C99-based standards] (PTRDIFF_MIN): Likewise.
34056         [C99-based standards] (PTRDIFF_MAX): Likewise.
34057         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34058         [C99-based standards] (SIZE_MAX): Likewise.
34059         [C99-based standards] (WCHAR_MAX): Likewise.
34060         [C99-based standards] (WINT_MAX): Likewise.
34061         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34062         constraint on value.
34063         [C99-based standards] (WCHAR_MIN): Likewise.
34064         [C99-based standards] (WINT_MIN): Likewise.
34065         [C99-based standards] (*_t): Allow.
34066         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34067         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34068         Include math.h-data and complex.h-data.  Remove all expectations
34069         of math.h and complex.h contents.
34070         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34071         at end of line.
34072         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34073         (struct tm): Expect tag.
34074         [C99-based-standards] (wcstof): Expect function.
34075         [C99-based-standards] (wcstold): Likewise.
34076         [C99-based-standards] (wcstoll): Likewise.
34077         [C99-based-standards] (wcstoull): Likewise.
34078         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34079         macro-int-constant.  Specify type.
34080         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34081         constraint on value.
34082         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34083         Specify type.
34084         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34085         Specify value.
34086         [ISO C standards]: Do not allow headers.
34087         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34088         wcs[abcdefghijklmnopqrstuvwxyz]*.
34089         [ISO C standards] (*_t): Do not allow.
34090         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34091         Expect function.
34092         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34093         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34094         Specify type.
34095         [ISO C standards]: Do not allow headers.
34096         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34097         is[abcdefghijklmnopqrstuvwxyz]*.
34098         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34099         to[abcdefghijklmnopqrstuvwxyz]*.
34100         [ISO C standards] (*_t): Do not allow.
34101         * conform/data/stdalign.h-data: New file.
34102         * conform/data/stdbool.h-data: Likewise.
34103         * conform/data/stdnoreturn.h-data: Likewise.
34104
34105 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34106
34107         [BZ #14815]
34108         * manual/filesys.texi (Directory Entries): Typo fix.
34109         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34110
34111 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34112
34113         * elf/elf.h (EM_AARCH64): New macro.
34114         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34115         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34116         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34117         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34118         (R_AARCH64_TLSDESC): Likewise.
34119         (NT_ARM_TLS): Likewise.
34120         (NT_ARM_HW_BREAK): Likewise.
34121         (NT_ARM_HW_WATCH): Likewise.
34122
34123 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34124
34125         [BZ #14811]
34126         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34127         (__ieee754_powl): Saturate nonzero exponents with absolute value
34128         below 0x1p-79 to +/- 0x1p-79.
34129         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34130         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34131         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34132         nonzero exponents with absolute value below 0x1p-32 to +/-
34133         0x1p-32.
34134         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34135         (__ieee754_powl): Saturate nonzero exponents with absolute value
34136         below 0x1p-79 to +/- 0x1p-79.
34137         * math/libm-test.inc (pow_test): Add more tests.
34138
34139 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34140
34141         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34142         _dl_s390_cap_flags with kernel. Increase string length.
34143         (_dl_s390_platforms): Add z196 and zEC12.
34144
34145 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34146
34147         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34148         Change XOPEN21K to XOPEN2K.
34149
34150 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34151
34152         * string/memmove.c: Use memcpy when possible.
34153
34154 2012-11-06  Andreas Jaeger  <aj@suse.de>
34155
34156         * po/eo.po: Update from translation team.
34157
34158 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34159
34160         [BZ #14793]
34161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34162         exponent and small x and y exponents, scale x or y up.  Increase
34163         by 2 the exponent used in scaling up.
34164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34166         * math/libm-test.inc (fma_test): Add more tests.
34167         (fma_test_towardzero): Likewise.
34168         (fma_test_downward): Likewise.
34169         (fma_test_upward): Likewise.
34170
34171 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34172
34173         [BZ #14805]
34174         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34175         fenv_t *.
34176
34177         [BZ #14801]
34178         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34179         namespace for names of struct fields.
34180         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34181         fenv_t fields.
34182         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34183         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34184
34185 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34186
34187         [BZ #3665]
34188         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34189
34190 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34191
34192         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34193         PTR_DEMANGLE.
34194
34195         [BZ #5246]
34196         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34197         PTR_DEMANGLE.
34198
34199 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34200
34201         [BZ #14797]
34202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34203         definitely overflow as x * y not x * y + z.
34204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34206         * math/libm-test.inc (fma_test): Add more tests.
34207         (fma_test_towardzero): Likewise.
34208         (fma_test_downward): Likewise.
34209         (fma_test_upward): Likewise.
34210
34211 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34212
34213         [BZ #157]
34214
34215         * include/stub-tag.h: Remove file.
34216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34217         '#include' of it.
34218         * manual/maint.texi (Porting): Don't reference it.
34219         * Makerules ($(objpfx)stubs): Likewise.
34220         * dirent/closedir.c: Don't include <stub-tag.h>.
34221         * dirent/dirfd.c: Likewise.
34222         * dirent/fdopendir.c: Likewise.
34223         * dirent/getdents.c: Likewise.
34224         * dirent/getdents64.c: Likewise.
34225         * dirent/opendir.c: Likewise.
34226         * dirent/readdir.c: Likewise.
34227         * dirent/readdir64.c: Likewise.
34228         * dirent/readdir64_r.c: Likewise.
34229         * dirent/readdir_r.c: Likewise.
34230         * dirent/rewinddir.c: Likewise.
34231         * dirent/seekdir.c: Likewise.
34232         * dirent/telldir.c: Likewise.
34233         * gmon/profil.c: Likewise.
34234         * grp/setgroups.c: Likewise.
34235         * inet/if_index.c: Likewise.
34236         * io/access.c: Likewise.
34237         * io/chdir.c: Likewise.
34238         * io/chmod.c: Likewise.
34239         * io/chown.c: Likewise.
34240         * io/close.c: Likewise.
34241         * io/dup.c: Likewise.
34242         * io/dup2.c: Likewise.
34243         * io/dup3.c: Likewise.
34244         * io/euidaccess.c: Likewise.
34245         * io/faccessat.c: Likewise.
34246         * io/fchdir.c: Likewise.
34247         * io/fchmod.c: Likewise.
34248         * io/fchmodat.c: Likewise.
34249         * io/fchown.c: Likewise.
34250         * io/fchownat.c: Likewise.
34251         * io/fcntl.c: Likewise.
34252         * io/flock.c: Likewise.
34253         * io/fstatfs.c: Likewise.
34254         * io/fstatfs64.c: Likewise.
34255         * io/fstatvfs.c: Likewise.
34256         * io/fstatvfs64.c: Likewise.
34257         * io/futimens.c: Likewise.
34258         * io/fxstat.c: Likewise.
34259         * io/fxstat64.c: Likewise.
34260         * io/fxstatat.c: Likewise.
34261         * io/fxstatat64.c: Likewise.
34262         * io/getcwd.c: Likewise.
34263         * io/isatty.c: Likewise.
34264         * io/lchmod.c: Likewise.
34265         * io/lchown.c: Likewise.
34266         * io/link.c: Likewise.
34267         * io/linkat.c: Likewise.
34268         * io/lseek.c: Likewise.
34269         * io/lseek64.c: Likewise.
34270         * io/lxstat64.c: Likewise.
34271         * io/mkdir.c: Likewise.
34272         * io/mkdirat.c: Likewise.
34273         * io/mkfifo.c: Likewise.
34274         * io/mkfifoat.c: Likewise.
34275         * io/open.c: Likewise.
34276         * io/open64.c: Likewise.
34277         * io/openat.c: Likewise.
34278         * io/openat64.c: Likewise.
34279         * io/pipe.c: Likewise.
34280         * io/pipe2.c: Likewise.
34281         * io/poll.c: Likewise.
34282         * io/posix_fadvise.c: Likewise.
34283         * io/posix_fadvise64.c: Likewise.
34284         * io/posix_fallocate.c: Likewise.
34285         * io/posix_fallocate64.c: Likewise.
34286         * io/read.c: Likewise.
34287         * io/readlink.c: Likewise.
34288         * io/readlinkat.c: Likewise.
34289         * io/rmdir.c: Likewise.
34290         * io/sendfile.c: Likewise.
34291         * io/sendfile64.c: Likewise.
34292         * io/statfs.c: Likewise.
34293         * io/statfs64.c: Likewise.
34294         * io/statvfs.c: Likewise.
34295         * io/statvfs64.c: Likewise.
34296         * io/symlink.c: Likewise.
34297         * io/symlinkat.c: Likewise.
34298         * io/ttyname.c: Likewise.
34299         * io/ttyname_r.c: Likewise.
34300         * io/umask.c: Likewise.
34301         * io/unlink.c: Likewise.
34302         * io/unlinkat.c: Likewise.
34303         * io/utime.c: Likewise.
34304         * io/utimensat.c: Likewise.
34305         * io/write.c: Likewise.
34306         * io/xmknod.c: Likewise.
34307         * io/xmknodat.c: Likewise.
34308         * io/xstat.c: Likewise.
34309         * io/xstat64.c: Likewise.
34310         * login/getpt.c: Likewise.
34311         * login/grantpt.c: Likewise.
34312         * login/unlockpt.c: Likewise.
34313         * math/e_acoshl.c: Likewise.
34314         * math/e_acosl.c: Likewise.
34315         * math/e_asinl.c: Likewise.
34316         * math/e_atan2l.c: Likewise.
34317         * math/e_atanhl.c: Likewise.
34318         * math/e_coshl.c: Likewise.
34319         * math/e_expl.c: Likewise.
34320         * math/e_fmodl.c: Likewise.
34321         * math/e_gammal_r.c: Likewise.
34322         * math/e_hypotl.c: Likewise.
34323         * math/e_j0l.c: Likewise.
34324         * math/e_j1l.c: Likewise.
34325         * math/e_jnl.c: Likewise.
34326         * math/e_lgammal_r.c: Likewise.
34327         * math/e_log10l.c: Likewise.
34328         * math/e_log2l.c: Likewise.
34329         * math/e_logl.c: Likewise.
34330         * math/e_powl.c: Likewise.
34331         * math/e_rem_pio2l.c: Likewise.
34332         * math/e_sinhl.c: Likewise.
34333         * math/e_sqrtl.c: Likewise.
34334         * math/fclrexcpt.c: Likewise.
34335         * math/fedisblxcpt.c: Likewise.
34336         * math/feenablxcpt.c: Likewise.
34337         * math/fegetenv.c: Likewise.
34338         * math/fegetexcept.c: Likewise.
34339         * math/fegetround.c: Likewise.
34340         * math/feholdexcpt.c: Likewise.
34341         * math/fesetenv.c: Likewise.
34342         * math/fesetround.c: Likewise.
34343         * math/feupdateenv.c: Likewise.
34344         * math/fgetexcptflg.c: Likewise.
34345         * math/fraiseexcpt.c: Likewise.
34346         * math/fsetexcptflg.c: Likewise.
34347         * math/ftestexcept.c: Likewise.
34348         * math/k_cosl.c: Likewise.
34349         * math/k_rem_pio2l.c: Likewise.
34350         * math/k_sinl.c: Likewise.
34351         * math/k_tanl.c: Likewise.
34352         * math/s_asinhl.c: Likewise.
34353         * math/s_atanl.c: Likewise.
34354         * math/s_cbrtl.c: Likewise.
34355         * math/s_erfl.c: Likewise.
34356         * math/s_expm1l.c: Likewise.
34357         * math/s_log1pl.c: Likewise.
34358         * math/s_tanhl.c: Likewise.
34359         * misc/acct.c: Likewise.
34360         * misc/brk.c: Likewise.
34361         * misc/chflags.c: Likewise.
34362         * misc/chroot.c: Likewise.
34363         * misc/fchflags.c: Likewise.
34364         * misc/fgetxattr.c: Likewise.
34365         * misc/flistxattr.c: Likewise.
34366         * misc/fremovexattr.c: Likewise.
34367         * misc/fsetxattr.c: Likewise.
34368         * misc/fsync.c: Likewise.
34369         * misc/ftruncate.c: Likewise.
34370         * misc/futimes.c: Likewise.
34371         * misc/futimesat.c: Likewise.
34372         * misc/getdomain.c: Likewise.
34373         * misc/getdtsz.c: Likewise.
34374         * misc/gethostid.c: Likewise.
34375         * misc/gethostname.c: Likewise.
34376         * misc/getloadavg.c: Likewise.
34377         * misc/getpagesize.c: Likewise.
34378         * misc/getsysstats.c: Likewise.
34379         * misc/getxattr.c: Likewise.
34380         * misc/gtty.c: Likewise.
34381         * misc/ioctl.c: Likewise.
34382         * misc/lgetxattr.c: Likewise.
34383         * misc/listxattr.c: Likewise.
34384         * misc/llistxattr.c: Likewise.
34385         * misc/lremovexattr.c: Likewise.
34386         * misc/lsetxattr.c: Likewise.
34387         * misc/lutimes.c: Likewise.
34388         * misc/madvise.c: Likewise.
34389         * misc/mincore.c: Likewise.
34390         * misc/mlock.c: Likewise.
34391         * misc/mlockall.c: Likewise.
34392         * misc/mmap.c: Likewise.
34393         * misc/mprotect.c: Likewise.
34394         * misc/msync.c: Likewise.
34395         * misc/munlock.c: Likewise.
34396         * misc/munlockall.c: Likewise.
34397         * misc/munmap.c: Likewise.
34398         * misc/preadv.c: Likewise.
34399         * misc/preadv64.c: Likewise.
34400         * misc/ptrace.c: Likewise.
34401         * misc/pwritev.c: Likewise.
34402         * misc/pwritev64.c: Likewise.
34403         * misc/readv.c: Likewise.
34404         * misc/reboot.c: Likewise.
34405         * misc/remap_file_pages.c: Likewise.
34406         * misc/removexattr.c: Likewise.
34407         * misc/revoke.c: Likewise.
34408         * misc/select.c: Likewise.
34409         * misc/setdomain.c: Likewise.
34410         * misc/setegid.c: Likewise.
34411         * misc/seteuid.c: Likewise.
34412         * misc/sethostid.c: Likewise.
34413         * misc/sethostname.c: Likewise.
34414         * misc/setregid.c: Likewise.
34415         * misc/setreuid.c: Likewise.
34416         * misc/setxattr.c: Likewise.
34417         * misc/sstk.c: Likewise.
34418         * misc/stty.c: Likewise.
34419         * misc/swapoff.c: Likewise.
34420         * misc/swapon.c: Likewise.
34421         * misc/sync.c: Likewise.
34422         * misc/syncfs.c: Likewise.
34423         * misc/syscall.c: Likewise.
34424         * misc/truncate.c: Likewise.
34425         * misc/ualarm.c: Likewise.
34426         * misc/usleep.c: Likewise.
34427         * misc/ustat.c: Likewise.
34428         * misc/utimes.c: Likewise.
34429         * misc/vhangup.c: Likewise.
34430         * misc/writev.c: Likewise.
34431         * posix/_exit.c: Likewise.
34432         * posix/alarm.c: Likewise.
34433         * posix/execve.c: Likewise.
34434         * posix/fexecve.c: Likewise.
34435         * posix/fork.c: Likewise.
34436         * posix/fpathconf.c: Likewise.
34437         * posix/getaddrinfo.c: Likewise.
34438         * posix/getegid.c: Likewise.
34439         * posix/geteuid.c: Likewise.
34440         * posix/getgid.c: Likewise.
34441         * posix/getgroups.c: Likewise.
34442         * posix/getlogin.c: Likewise.
34443         * posix/getlogin_r.c: Likewise.
34444         * posix/getpgid.c: Likewise.
34445         * posix/getpid.c: Likewise.
34446         * posix/getppid.c: Likewise.
34447         * posix/getresgid.c: Likewise.
34448         * posix/getresuid.c: Likewise.
34449         * posix/getsid.c: Likewise.
34450         * posix/getuid.c: Likewise.
34451         * posix/glob64.c: Likewise.
34452         * posix/nanosleep.c: Likewise.
34453         * posix/pathconf.c: Likewise.
34454         * posix/pause.c: Likewise.
34455         * posix/posix_madvise.c: Likewise.
34456         * posix/pread.c: Likewise.
34457         * posix/pread64.c: Likewise.
34458         * posix/pwrite.c: Likewise.
34459         * posix/pwrite64.c: Likewise.
34460         * posix/sched_getaffinity.c: Likewise.
34461         * posix/sched_getp.c: Likewise.
34462         * posix/sched_gets.c: Likewise.
34463         * posix/sched_primax.c: Likewise.
34464         * posix/sched_primin.c: Likewise.
34465         * posix/sched_rr_gi.c: Likewise.
34466         * posix/sched_setaffinity.c: Likewise.
34467         * posix/sched_setp.c: Likewise.
34468         * posix/sched_sets.c: Likewise.
34469         * posix/sched_yield.c: Likewise.
34470         * posix/setgid.c: Likewise.
34471         * posix/setlogin.c: Likewise.
34472         * posix/setpgid.c: Likewise.
34473         * posix/setresgid.c: Likewise.
34474         * posix/setresuid.c: Likewise.
34475         * posix/setsid.c: Likewise.
34476         * posix/setuid.c: Likewise.
34477         * posix/sleep.c: Likewise.
34478         * posix/spawni.c: Likewise.
34479         * posix/sysconf.c: Likewise.
34480         * posix/times.c: Likewise.
34481         * posix/wait.c: Likewise.
34482         * posix/wait3.c: Likewise.
34483         * posix/wait4.c: Likewise.
34484         * posix/waitpid.c: Likewise.
34485         * resolv/gai_sigqueue.c: Likewise.
34486         * resource/getpriority.c: Likewise.
34487         * resource/getrlimit.c: Likewise.
34488         * resource/getrusage.c: Likewise.
34489         * resource/nice.c: Likewise.
34490         * resource/setpriority.c: Likewise.
34491         * resource/setrlimit.c: Likewise.
34492         * resource/ulimit.c: Likewise.
34493         * rt/aio_cancel.c: Likewise.
34494         * rt/aio_fsync.c: Likewise.
34495         * rt/aio_read.c: Likewise.
34496         * rt/aio_sigqueue.c: Likewise.
34497         * rt/aio_suspend.c: Likewise.
34498         * rt/aio_write.c: Likewise.
34499         * rt/clock_getres.c: Likewise.
34500         * rt/clock_gettime.c: Likewise.
34501         * rt/clock_nanosleep.c: Likewise.
34502         * rt/clock_settime.c: Likewise.
34503         * rt/lio_listio.c: Likewise.
34504         * rt/mq_close.c: Likewise.
34505         * rt/mq_getattr.c: Likewise.
34506         * rt/mq_notify.c: Likewise.
34507         * rt/mq_open.c: Likewise.
34508         * rt/mq_receive.c: Likewise.
34509         * rt/mq_send.c: Likewise.
34510         * rt/mq_setattr.c: Likewise.
34511         * rt/mq_timedreceive.c: Likewise.
34512         * rt/mq_timedsend.c: Likewise.
34513         * rt/mq_unlink.c: Likewise.
34514         * rt/shm_open.c: Likewise.
34515         * rt/shm_unlink.c: Likewise.
34516         * rt/timer_create.c: Likewise.
34517         * rt/timer_delete.c: Likewise.
34518         * rt/timer_getoverr.c: Likewise.
34519         * rt/timer_gettime.c: Likewise.
34520         * rt/timer_settime.c: Likewise.
34521         * setjmp/__longjmp.c: Likewise.
34522         * setjmp/setjmp.c: Likewise.
34523         * signal/kill.c: Likewise.
34524         * signal/killpg.c: Likewise.
34525         * signal/raise.c: Likewise.
34526         * signal/sigaction.c: Likewise.
34527         * signal/sigaltstack.c: Likewise.
34528         * signal/sigblock.c: Likewise.
34529         * signal/sigignore.c: Likewise.
34530         * signal/sigintr.c: Likewise.
34531         * signal/signal.c: Likewise.
34532         * signal/sigpause.c: Likewise.
34533         * signal/sigpending.c: Likewise.
34534         * signal/sigqueue.c: Likewise.
34535         * signal/sigreturn.c: Likewise.
34536         * signal/sigset.c: Likewise.
34537         * signal/sigsetmask.c: Likewise.
34538         * signal/sigstack.c: Likewise.
34539         * signal/sigsuspend.c: Likewise.
34540         * signal/sigtimedwait.c: Likewise.
34541         * signal/sigvec.c: Likewise.
34542         * signal/sigwait.c: Likewise.
34543         * signal/sigwaitinfo.c: Likewise.
34544         * signal/sysv_signal.c: Likewise.
34545         * socket/accept.c: Likewise.
34546         * socket/accept4.c: Likewise.
34547         * socket/bind.c: Likewise.
34548         * socket/connect.c: Likewise.
34549         * socket/getpeername.c: Likewise.
34550         * socket/getsockname.c: Likewise.
34551         * socket/getsockopt.c: Likewise.
34552         * socket/isfdtype.c: Likewise.
34553         * socket/listen.c: Likewise.
34554         * socket/recv.c: Likewise.
34555         * socket/recvfrom.c: Likewise.
34556         * socket/recvmsg.c: Likewise.
34557         * socket/send.c: Likewise.
34558         * socket/sendmsg.c: Likewise.
34559         * socket/sendto.c: Likewise.
34560         * socket/setsockopt.c: Likewise.
34561         * socket/shutdown.c: Likewise.
34562         * socket/sockatmark.c: Likewise.
34563         * socket/socket.c: Likewise.
34564         * socket/socketpair.c: Likewise.
34565         * stdio-common/ctermid.c: Likewise.
34566         * stdio-common/cuserid.c: Likewise.
34567         * stdio-common/remove.c: Likewise.
34568         * stdio-common/rename.c: Likewise.
34569         * stdio-common/renameat.c: Likewise.
34570         * stdio-common/tempname.c: Likewise.
34571         * stdlib/getcontext.c: Likewise.
34572         * stdlib/makecontext.c: Likewise.
34573         * stdlib/setcontext.c: Likewise.
34574         * stdlib/swapcontext.c: Likewise.
34575         * stdlib/system.c: Likewise.
34576         * streams/fattach.c: Likewise.
34577         * streams/fdetach.c: Likewise.
34578         * streams/getmsg.c: Likewise.
34579         * streams/getpmsg.c: Likewise.
34580         * streams/putmsg.c: Likewise.
34581         * streams/putpmsg.c: Likewise.
34582         * sysdeps/unix/bsd/getpt.c: Likewise.
34583         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34584         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34585         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34587         Likewise.
34588         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34589         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34590         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34591         * sysvipc/msgctl.c: Likewise.
34592         * sysvipc/msgget.c: Likewise.
34593         * sysvipc/msgrcv.c: Likewise.
34594         * sysvipc/msgsnd.c: Likewise.
34595         * sysvipc/semctl.c: Likewise.
34596         * sysvipc/semget.c: Likewise.
34597         * sysvipc/semop.c: Likewise.
34598         * sysvipc/semtimedop.c: Likewise.
34599         * sysvipc/shmat.c: Likewise.
34600         * sysvipc/shmctl.c: Likewise.
34601         * sysvipc/shmdt.c: Likewise.
34602         * sysvipc/shmget.c: Likewise.
34603         * termios/tcdrain.c: Likewise.
34604         * termios/tcflow.c: Likewise.
34605         * termios/tcflush.c: Likewise.
34606         * termios/tcgetattr.c: Likewise.
34607         * termios/tcgetpgrp.c: Likewise.
34608         * termios/tcsendbrk.c: Likewise.
34609         * termios/tcsetattr.c: Likewise.
34610         * termios/tcsetpgrp.c: Likewise.
34611         * time/adjtime.c: Likewise.
34612         * time/clock.c: Likewise.
34613         * time/getitimer.c: Likewise.
34614         * time/gettimeofday.c: Likewise.
34615         * time/setitimer.c: Likewise.
34616         * time/settimeofday.c: Likewise.
34617         * time/stime.c: Likewise.
34618         * time/time.c: Likewise.
34619
34620 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34621
34622         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34623         /usr/old/bin.
34624
34625         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34626         instead of spaces.
34627         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34628
34629 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34630
34631         [BZ #14796]
34632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34633         FE_TONEAREST before applying Dekker multiplication and Knuth
34634         addition.  Clear inexact exceptions and check for exact zero
34635         results afterwards.
34636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34637         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34639         * math/libm-test.inc (fma_test): Add more tests.
34640         (fma_test_towardzero): Likewise.
34641         (fma_test_downward): Likewise.
34642         (fma_test_upward): Likewise.
34643         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34644         function.
34645         (libc_fesetround): New macro.
34646         (libc_fesetroundf): Likewise.
34647         (libc_fesetroundl): Likewise.
34648         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34649         function.
34650         (libc_fesetround_387): Likewise.
34651         (libc_fesetroundf): New macro.
34652         (libc_fesetround): Likewise.
34653         (libc_fesetroundl): Likewise.
34654         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34655         function.
34656         (libc_fesetroundf): New macro.
34657         (libc_fesetround): Likewise.
34658         (libc_fesetroundl): Likewise.
34659         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34660         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34661         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34662         libm_hidden_ver.
34663         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34664         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34665         libm_hidden_def.
34666         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34667         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34668         libm_hidden_ver.
34669         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34670         libm_hidden_def.
34671
34672         [BZ #3439]
34673         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34674         integer constant usable in #if and use that to give value to enum
34675         constant.
34676         (FE_DIVBYZERO): Likewise.
34677         (FE_UNDERFLOW): Likewise.
34678         (FE_OVERFLOW): Likewise.
34679         (FE_INVALID): Likewise.
34680         (FE_INVALID_SNAN): Likewise.
34681         (FE_INVALID_ISI): Likewise.
34682         (FE_INVALID_IDI): Likewise.
34683         (FE_INVALID_ZDZ): Likewise.
34684         (FE_INVALID_IMZ): Likewise.
34685         (FE_INVALID_COMPARE): Likewise.
34686         (FE_INVALID_SOFTWARE): Likewise.
34687         (FE_INVALID_SQRT): Likewise.
34688         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34689         (FE_TONEAREST): Likewise.
34690         (FE_TOWARDZERO): Likewise.
34691         (FE_UPWARD): Likewise.
34692         (FE_DOWNWARD): Likewise.
34693         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34694         (FE_DIVBYZERO): Likewise.
34695         (FE_OVERFLOW): Likewise.
34696         (FE_UNDERFLOW): Likewise.
34697         (FE_INEXACT): Likewise.
34698         (FE_TONEAREST): Likewise.
34699         (FE_DOWNWARD): Likewise.
34700         (FE_UPWARD): Likewise.
34701         (FE_TOWARDZERO): Likewise.
34702         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34703         (FE_UNDERFLOW): Likewise.
34704         (FE_OVERFLOW): Likewise.
34705         (FE_DIVBYZERO): Likewise.
34706         (FE_INVALID): Likewise.
34707         (FE_TONEAREST): Likewise.
34708         (FE_TOWARDZERO): Likewise.
34709         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34710         (FE_OVERFLOW): Likewise.
34711         (FE_UNDERFLOW): Likewise.
34712         (FE_DIVBYZERO): Likewise.
34713         (FE_INEXACT): Likewise.
34714         (FE_TONEAREST): Likewise.
34715         (FE_TOWARDZERO): Likewise.
34716         (FE_UPWARD): Likewise.
34717         (FE_DOWNWARD): Likewise.
34718         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34719         (FE_DIVBYZERO): Likewise.
34720         (FE_OVERFLOW): Likewise.
34721         (FE_UNDERFLOW): Likewise.
34722         (FE_INEXACT): Likewise.
34723         (FE_TONEAREST): Likewise.
34724         (FE_DOWNWARD): Likewise.
34725         (FE_UPWARD): Likewise.
34726         (FE_TOWARDZERO): Likewise.
34727
34728 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34729
34730         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34731
34732 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34733
34734         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34735         commands.  Quote $PWD.
34736         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34737         -x" by "export".
34738         (remove_newlines): Remove.
34739
34740 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34741
34742         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34743         * stdlib/stdlib.h (atof): Moved to ...
34744         * include/bits/stdlib-float.h: Here.  New file.
34745         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34746         * stdlib/bits/stdlib-float.h: New file.
34747         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34748         -mno-sse -mno-mmx.
34749         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34750         <xmmintrin.h>.
34751
34752 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34753
34754         * conform/conformtest.pl (@headers): Add fenv.h.
34755         * conform/data/fenv.h-data: New file.
34756         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34757         include of <math/fenv.h>.
34758
34759         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34760         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34761         && !UNIX98].  Enables tests for XOPEN2K8.
34762         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34763         POSIX2008]: Likewise.
34764
34765         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34766         (struct rusage): Do not expect type or its members.
34767
34768         [BZ #3439]
34769         * math/math.h (FP_NAN): Define macro to integer constant usable in
34770         #if and use that to give value to enum constant.
34771         (FP_INFINITE): Likewise.
34772         (FP_ZERO): Likewise.
34773         (FP_SUBNORMAL): Likewise.
34774         (FP_NORMAL): Likewise.
34775
34776 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34777
34778         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34779         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34780         arguments.
34781
34782 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34783
34784         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34785         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34786         autoconf-time if not.
34787         * configure.in: Remove AC_PREREQ.
34788
34789 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34790
34791         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34792         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34793         of the internal implementation.
34794
34795 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34796
34797         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34798         except include of <misc/sys/syslog.h>.
34799
34800 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34801
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34803         function returns with a NULL context exit with zero.
34804
34805 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34806
34807         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34808
34809 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34810
34811         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34812         (run_program_cmd): This.
34813         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34814         (tst_langinfo): New variable.  Use it.
34815
34816 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34817
34818         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34819         floating point opcodes.
34820
34821 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34822
34823         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34824         variable.
34825
34826         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34827
34828         * sysdeps/mach/hurd/powerpc: Remove directory.
34829         * sysdeps/mach/powerpc: Likewise.
34830
34831 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34832
34833         * scripts/check-local-headers.sh: Ignore c++ headers.
34834
34835 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34836
34837         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34838         __libc_cleanup_region_start argument.
34839
34840 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34841
34842         [BZ #14784]
34843         [BZ #14785]
34844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34845         x * y using scaling, not as x * y + z.
34846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34847         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34848         * math/libm-test.inc (fma_test): Add more tests.
34849         (fma_test_towardzero): Likewise.
34850         (fma_test_downward): Likewise.
34851         (fma_test_upward): Likewise.
34852
34853 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34854
34855         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34856
34857 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34858
34859         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34860         New variable.
34861
34862 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34863
34864         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34865
34866 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34867
34868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34869         Fix sort order.
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34871         Likewise.
34872
34873 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34874
34875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34876         Fix the order of the list for glibc 2.17.
34877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34878         Likewise.
34879
34880 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34881
34882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34883
34884 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34885
34886         [BZ #14610]
34887         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34888         for low part of x being zero before using __atanl (y).
34889         * math/libm-test.inc (atan2_test): Add another test.
34890
34891         * manual/install.texi (Configuring and compiling): Document
34892         general use of test-wrapper and test-wrapper-env.
34893         * INSTALL: Regenerated.
34894
34895         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34896         (__fma): Do not extract and scale down low bits on after-rounding
34897         systems when result rounded to normal precision would have normal
34898         exponent.
34899         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34900         (__fmal): Do not extract and scale down low bits on after-rounding
34901         systems when result rounded to normal precision would have normal
34902         exponent.
34903         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34904         (__fmal): Do not extract and scale down low bits on after-rounding
34905         systems when result rounded to normal precision would have normal
34906         exponent.
34907         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34908         macro.
34909         (fma_test): Add more tests.
34910         (fma_test_towardzero): Likewise.
34911         (fma_test_downward): Likewise.
34912         (fma_test_upward): Likewise.
34913
34914 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34915
34916         * sysdeps/i386/tininess.h: Renamed to ...
34917         * sysdeps/x86/tininess.h: This.
34918         * sysdeps/x86_64/tininess.h: Removed.
34919
34920 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34921
34922         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34923         input.  Use $(build-program-cmd).
34924         ($(objpfx)tst-array1-static.out): Likewise.
34925         ($(objpfx)tst-array2.out): Likewise.
34926         ($(objpfx)tst-array3.out): Likewise.
34927         ($(objpfx)tst-array4.out): Likewise.
34928         ($(objpfx)tst-array5.out): Likewise.
34929         ($(objpfx)tst-array5-static.out): Likewise.
34930
34931 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34932
34933         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34934         if defined.
34935
34936         * nss/nsswitch.h (nss_interface_function): Provide new
34937         macro for use with NSS functions.
34938         * grp/initgroups.c: Use new macro.
34939         * nss/getXXbyYY.c: Likewise.
34940         * nss/getXXbyYY_r.c: Likewise.
34941         * nss/getXXent.c: Likewise.
34942         * nss/getXXent_r.c: Likewise.
34943         * sysdeps/posix/getaddrinfo.c: Likewise.
34944
34945 2012-10-30  Andreas Jaeger  <aj@suse.de>
34946
34947         * po/ru.po: Update Russion translation from translation project.
34948
34949 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34950
34951         [BZ #14152]
34952         [BZ #14783]
34953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34954         result and shift together with sticky bit instead of replicating
34955         round-to-nearest rounding.
34956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34957         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34958         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34959         missing underflow exceptions.
34960         (fma_test_towardzero): Add more tests.
34961         (fma_test_downward): Likewise.
34962         (fma_test_upward): Likewise.
34963
34964         [BZ #14047]
34965         * sysdeps/generic/tininess.h: New file.
34966         * sysdeps/i386/tininess.h: Likewise.
34967         * sysdeps/sh/tininess.h: Likewise.
34968         * sysdeps/x86_64/tininess.h: Likewise.
34969         * stdlib/tst-strtod-underflow.c: Likewise.
34970         * stdlib/tst-tininess.c: Likewise.
34971         * stdlib/strtod_l.c: Include <tininess.h>.
34972         (round_and_return): Do not set errno for exact underflow cases.
34973         Force an underflow exception when setting errno for underflow.
34974         Determine underflow based on rounding to normal precision if
34975         TININESS_AFTER_ROUNDING.
34976         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34977         ERANGE for exact underflow cases.
34978         * stdlib/Makefile (tests): Add tst-tininess and
34979         tst-strtod-underflow.
34980         ($(objpfx)tst-tininess): Use $(link-libm).
34981         ($(objpfx)tst-strtod-underflow): Likewise.
34982
34983 2012-10-30  Andreas Jaeger  <aj@suse.de>
34984
34985         [BZ#14767]
34986         * elf/Makefile (tests): Remove conditional for have-initfini-array
34987         since this is now always required and the variable does not exist
34988         anymore.
34989         (tests-static): Likewise.
34990         (modules-names): Likewise.
34991
34992         * po/eo.po: Add Esperanto translation from translation project.
34993
34994         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34995         merged with constructor/destructor.
34996         (init_array): Likewise.
34997         * elf/tst-array2dep.c (fini_array): Likewise.
34998         (init_array): Likewise.
34999
35000 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35001
35002         * manual/message.texi: Delete @cartouche tags.
35003
35004 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35005
35006         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35007         EOPNOTSUPP.
35008         * sysdeps/mach/hurd/fsync.c: Likewise.
35009
35010         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35011         [_POSIX_REALTIME_SIGNALS]: Change condition to
35012         [_POSIX_REALTIME_SIGNALS > 0].
35013
35014 2012-10-27  Andreas Jaeger  <aj@suse.de>
35015
35016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35017         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35018         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35019         [__WORDSIZE != 64]: Likewise.
35020
35021 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35022
35023         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35024         *  iconvdata/tst-tables.sh: Likewise.
35025
35026 2012-10-25  David S. Miller  <davem@davemloft.net>
35027
35028         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35029         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35030         of strtoull.
35031
35032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35033         ifunc-impl-list.c
35034         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35035         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35036         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35037         file.
35038
35039 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35040
35041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35042         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35043         __getdirentries.
35044
35045 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35046             Jim Blandy  <jimb@codesourcery.com>
35047
35048         * scripts/cross-test-ssh.sh: New file.
35049         * manual/install.texi (Configuring and compiling): Document use of
35050         cross-test-ssh.sh.
35051         * INSTALL: Regenerated.
35052
35053 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35054
35055         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35056         EOPNOTSUPP.
35057
35058 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35059
35060         * Makeconfig (run-program-prefix): Fix comment.
35061
35062 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35063             Jim Blandy  <jimb@codesourcery.com>
35064
35065         * Makeconfig (test-wrapper): New variable,
35066         (test-wrapper-env): Likewise.
35067         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35068         (run-built-tests): Define to yes.
35069         (run-program-prefix): Use $(test-wrapper).
35070         (built-program-cmd): Likewise.
35071         * Rules (make-test-out): Use $(test-wrapper-env) and
35072         $(host-built-program-cmd).
35073         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35074         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35075         tst-pathopt.sh.
35076         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35077         $(test-wrapper-env) to tst-rtld-load-self.sh.
35078         ($(objpfx)order2.out): Use $(test-wrapper).
35079         ($(objpfx)tst-initorder.out): Likewise.
35080         ($(objpfx)tst-initorder2.out): Likewise.
35081         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35082         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35083         (test_wrapper_env): New variable.  Use it to run ld.so.
35084         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35085         Use it to run ld.so.
35086         (test_wrapper_env): Likewise.
35087         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35088         $(test-wrapper) to run-iconv-test.sh.
35089         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35090         (ICONV): Use $test_wrapper.
35091         * posix/Makefile ($(objpfx)globtest.out): Pass
35092         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35093         globtest.sh, not $(run-program-prefix).
35094         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35095         (test_wrapper): Likewise.
35096         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35097         set together with run_via_rtld_prefix.
35098         (run_program_prefix): Define in terms of test_wrapper and
35099         run_via_rtld_prefix.
35100
35101 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35102
35103         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35104         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35105         Targets removed.
35106
35107         [BZ #14743]
35108         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35109         Declare __clock_getres, __clock_gettime, __clock_settime,
35110         __clock_nanosleep, and __clock_getcpuclockid.
35111         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35112         Remove librt_hidden_def (clock_gettime).
35113         * sysdeps/unix/clock_gettime.c: Likewise.
35114         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35115         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35116         * rt/clock_getres.c: Define __clock_getres as an alias.
35117         * sysdeps/posix/clock_getres.c: Likewise.
35118         * rt/clock_settime.c: Define __clock_settime as an alias.
35119         * sysdeps/unix/clock_settime.c: Likewise.
35120         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35121         * sysdeps/unix/clock_nanosleep.c: Likewise.
35122         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35123         * rt/clock-compat.c: New file.
35124         * rt/Makefile (librt-routines): Add clock-compat and move
35125         $(clock-routines) to ...
35126         (routines): ... here, new variable.
35127         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35128         Don't add get_clockfreq here.
35129         * rt/Versions (libc: GLIBC_2.17): New version set.
35130         Add clock_* symbols here.
35131         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35132         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35133         (GLIBC_2.17): Add clock_* symbols.
35134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35138         Likewise.
35139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35140         Likewise.
35141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35145         * NEWS: Mention the move.
35146
35147         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35148         Use __open, __read, __close rather than their public counterparts.
35149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35150         (__get_clockfreq_via_cpuinfo): Likewise.
35151         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35152         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35153
35154         * config.h.in (HAVE_IFUNC): New #undef.
35155         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35156         was successful.
35157         * configure: Regenerated.
35158
35159 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35160
35161         * configure.in: Move READELF check to start of file.
35162         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35163         libc_cv_asm_gnu_indirect_function in the process.
35164         * configure: Regenerated.
35165
35166 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35167
35168         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35169         send the output to /dev/null.
35170         (libc_cv_cc_with_libunwind): Likewise.
35171         (libc_cv_as_noexecstack): Likewise.
35172         * configure: Regenerate.
35173
35174 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35175
35176         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35177
35178         * posix/globtest.sh (TMPDIR): Do not set.
35179         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35180         (testout): Likewise.
35181
35182 2012-10-24  Andreas Jaeger  <aj@suse.de>
35183
35184         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35185         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35186         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35187         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35188         posix_fadvise64, posix_fallocate64.
35189
35190         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35191         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35192         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35193         Likewise.
35194         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35195         Likewise.
35196         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35197
35198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35199         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35200         <bits/fcntl-linux.h>.
35201         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35202
35203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35204         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35205         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35206         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35207         [__WORDSIZE != 64]: Likewise.
35208
35209 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35210
35211         * Makeconfig (run-built-tests): New variable.
35212         * Rules [$(cross-compiling) = yes]: Change condition to
35213         [$(run-built-tests) = no].
35214         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35215         to [$(run-built-tests) = yes].
35216         * elf/Makefile [$(cross-compiling) = no]: Likewise
35217         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35218         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35219         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35220         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35221         * io/Makefile [$(cross-compiling) = no]: Likewise.
35222         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35223         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35224         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35225         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35226         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35227         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35228         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35229         * string/Makefile [$(cross-compiling) = no]: Likewise.
35230
35231         * posix/Makefile ($(objpfx)globtest.out): Pass
35232         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35233         $(rtld-installed-name).
35234         * posix/globtest.sh (elf_objpfx): Remove variable.
35235         (rtld_installed_name): Likewise.
35236         (library_path): Likewise.
35237         (run_program_prefix): New variable.  Use for running globtest
35238         binary.
35239
35240 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35241             Joseph Myers  <joseph@codesourcery.com>
35242
35243         * Makeconfig (host-built-program-cmd): New variable.
35244         * elf/Makefile (tst-stackguard1-ARGS): Use
35245         $(host-built-program-cmd).
35246         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35247         (tst-spawn-ARGS): Likewise.
35248         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35249
35250 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35251             Jim Blandy  <jimb@codesourcery.com>
35252
35253         * Makeconfig (run-via-rtld-prefix): New variable.
35254         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35255         (built-program-cmd): Likewise.
35256
35257 2012-10-22  Andreas Jaeger  <aj@suse.de>
35258
35259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35260         __O_RSYNC if it exists, otherwise to O_SYNC.
35261
35262 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35263             Joseph Myers  <joseph@codesourcery.com>
35264
35265         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35266         /dev/null.
35267         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35268         from /dev/null
35269         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35270         /dev/null.
35271
35272 2012-10-22  Andreas Jaeger  <aj@suse.de>
35273
35274         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35275         Define always.
35276         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35277
35278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35279         bits/fcntl-linux.h.
35280
35281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35282         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35283
35284         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35285         to __O_LARGEFILE.
35286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35287         to __O_LARGEFILE.
35288
35289 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35290             Joseph Myers  <joseph@codesourcery.com>
35291
35292         * config.make.in (NM): New variable.
35293
35294 2012-10-21  Andreas Jaeger  <aj@suse.de>
35295
35296         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35297         definitions and declarations that are provided by
35298         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35299
35300 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35301
35302         [BZ #14683]
35303         * elf/Makefile (tests-static): Add tst-leaks1-static.
35304         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35305         ($(objpfx)tst-leaks1-static): New rule.
35306         ($(objpfx)tst-leaks1-static-mem): Likewise.
35307         (tst-leaks1-static-ENV): New macro.
35308         * elf/dl-open.c (dl_open_worker): Check the main application
35309         only if SHARED is defined.
35310         * elf/tst-leaks1-static.c: New file.
35311
35312 2012-10-20  Andreas Jaeger  <aj@suse.de>
35313
35314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35315         generic values for Linux.
35316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35317         and declarations that are provided by <bits/fcntl-linux.h> and
35318         include <bits/fcntl-linux.h>.
35319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35321
35322 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35323
35324         * io/fcntl.h: Move include of <bits/types.h> to the top and
35325         include it unconditionally.
35326
35327 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35328
35329         * wcsmbs/Makefile (tests-ifunc): New variable.
35330         (tests): Add $(tests-ifunc).
35331         * wcsmbs/test-wcschr-ifunc.c: New file.
35332         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35333         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35334         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35335         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35336         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35337
35338         * string/Makefile (tests-ifunc): New variable.
35339         (tests): Add $(tests-ifunc).
35340         * string/test-memccpy.c (TEST_NAME): New macro.
35341         * string/test-memchr.c (TEST_NAME): Likewise.
35342         * string/test-memcmp.c (TEST_NAME): Likewise.
35343         * string/test-memcpy.c (TEST_NAME): Likewise.
35344         * string/test-memmem.c (TEST_NAME): Likewise.
35345         * string/test-memmove.c (TEST_NAME): Likewise.
35346         * string/test-memset.c (TEST_NAME): Likewise.
35347         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35348         * string/test-stpcpy.c (TEST_NAME): Likewise.
35349         * string/test-stpncpy.c (TEST_NAME): Likewise.
35350         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35351         * string/test-strcasestr.c (TEST_NAME): Likewise.
35352         * string/test-strcat.c (TEST_NAME): Likewise.
35353         * string/test-strchr.c (TEST_NAME): Likewise.
35354         * string/test-strcmp.c(TEST_NAME): Likewise.
35355         * string/test-strcpy.c (TEST_NAME): Likewise.
35356         * string/test-strcspn.c (TEST_NAME): Likewise.
35357         * string/test-strlen.c (TEST_NAME): Likewise.
35358         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35359         * string/test-strncmp.c (TEST_NAME): Likewise.
35360         * string/test-strncpy.c (TEST_NAME): Likewise.
35361         * string/test-strnlen.c (TEST_NAME): Likewise.
35362         * string/test-strpbrk.c (TEST_NAME): Likewise.
35363         * string/test-strrchr.c (TEST_NAME): Likewise.
35364         * string/test-strspn.c (TEST_NAME): Likewise.
35365         * string/test-strstr.c (TEST_NAME): Likewise.
35366         * string/test-bcopy-ifunc.c: New file.
35367         * string/test-bzero-ifunc.c: Likewise.
35368         * string/test-memccpy-ifunc.c: Likewise.
35369         * string/test-memchr-ifunc.c: Likewise.
35370         * string/test-memcmp-ifunc.c: Likewise.
35371         * string/test-memcpy-ifunc.c: Likewise.
35372         * string/test-memmem-ifunc.c: Likewise.
35373         * string/test-memmove-ifunc.c: Likewise.
35374         * string/test-mempcpy-ifunc.c: Likewise.
35375         * string/test-memset-ifunc.c: Likewise.
35376         * string/test-rawmemchr-ifunc.c: Likewise.
35377         * string/test-stpcpy-ifunc.c: Likewise.
35378         * string/test-stpncpy-ifunc.c: Likewise.
35379         * string/test-strcasecmp-ifunc.c: Likewise.
35380         * string/test-strcasestr-ifunc.c: Likewise.
35381         * string/test-strcat-ifunc.c: Likewise.
35382         * string/test-strchr-ifunc.c: Likewise.
35383         * string/test-strchrnul-ifunc.c: Likewise.
35384         * string/test-strcmp-ifunc.c: Likewise.
35385         * string/test-strcpy-ifunc.c: Likewise.
35386         * string/test-strcspn-ifunc.c: Likewise.
35387         * string/test-strlen-ifunc.c: Likewise.
35388         * string/test-strncasecmp-ifunc.c: Likewise.
35389         * string/test-strncat-ifunc.c: Likewise.
35390         * string/test-strncmp-ifunc.c: Likewise.
35391         * string/test-strncpy-ifunc.c: Likewise.
35392         * string/test-strnlen-ifunc.c: Likewise.
35393         * string/test-strpbrk-ifunc.c: Likewise.
35394         * string/test-strrchr-ifunc.c: Likewise.
35395         * string/test-strspn-ifunc.c: Likewise.
35396         * string/test-strstr-ifunc.c: Likewise.
35397
35398         * debug/Makefile (tests-ifunc): New variable.
35399         (tests): Add $(tests-ifunc).
35400         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35401         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35402         * debug/test-stpcpy_chk-ifunc.c: New file.
35403         * debug/test-strcpy_chk-ifunc.c: Likewise.
35404
35405 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35406
35407         [BZ #13601]
35408         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35409         header is not read in.
35410
35411 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35412
35413         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35414         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35415         directly.  Pass built executable to script as
35416         $(built-program-cmd).
35417         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35418         $testprogram without using LD_LIBRARY_PATH and $ldso.
35419
35420         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35421         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35422         $(rtld-installed-name).
35423         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35424         (rtld_installed_name): Likewise.
35425         (library_path): Likewise.
35426         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35427         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35428         $(run-program-prefix) to tst-tables.sh.
35429         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35430         it to run tst-table-from and tst-table-to.
35431         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35432         Pass it to tst-table.sh.
35433         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35434         $(run-program-prefix) to tst-gettext.sh.
35435         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35436         tst-translit.sh.
35437         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35438         tst-gettext2.sh.
35439         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35440         to run tst-gettext.
35441         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35442         to run tst-gettext2.
35443         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35444         to run tst-translit.
35445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35446         $(run-program-prefix) to tst-mtrace.sh.
35447         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35448         to run tst-mtrace.
35449         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35450         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35451         $(rtld-installed-name).
35452         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35453         (rtld_installed_name): Likewise.
35454         (run_program_prefix): New variable.  Use it to run wordexp-test.
35455
35456         * Makeconfig (ARCH): Remove all definitions.
35457         (machine): Likewise.
35458         [ARCH]: Remove conditional code.
35459         [!objdir]: Give error.
35460         [!objdir] (objpfx): Remove.
35461         [!objdir] (common-objpfx): Likewise.
35462         [!objdir] (common-objdir): Likewise.
35463         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35464         AC_CONFIG_FILES call.
35465         * configure: Regenerated.
35466
35467         [BZ #13888]
35468         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35469         or TMPDIR.
35470         (testout): Likewise.
35471
35472         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35473         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35474         $(rtld-installed-name).
35475         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35476         (rtld_installed_name): Likwise.
35477         (runit): Remove function.
35478         (run_getconf): New variable,  Use it for running getconf binary.
35479
35480 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35481
35482         [BZ #14716]
35483         * string/test-memmem.c (check_result): New function.
35484         (do_one_test): Use it.
35485         (check1): New function.
35486         (test_main): Use it.
35487
35488 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35489
35490         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35491
35492 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35493
35494         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35495         (_G_LSEEK64): Likewise.
35496         (_G_MMAP64): Likewise.
35497         (_G_FSTAT64): Likewise.
35498         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35499         (_G_LSEEK64): Likewise.
35500         (_G_MMAP64): Likewise.
35501         (_G_FSTAT64): Likewise.
35502         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35503         unconditional.  Call __mmap64 directly.
35504         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35505         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35506         __lseek64 directly.
35507         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35508         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35509         __mmap64 directly.
35510         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35511         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35512         __lseek64 directly.
35513         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35514         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35515         __lseek64 directly.
35516         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35517         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35518         __lseek64 directly.
35519         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35520         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35521         __fxstat64 directly.
35522         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35523         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35524         unconditional.
35525         (freopen64) [!_G_OPEN64]: Remove conditional code.
35526         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35527         unconditional.
35528         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35529         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35530         unconditional.
35531         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35532         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35533         unconditional.
35534         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35535         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35536         unconditional.
35537         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35538         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35539         unconditional.
35540         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35541         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35542         unconditional.
35543         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35544         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35545         unconditional.
35546         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35547
35548 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35549
35550         [BZ #12140]
35551         * manual/memory.texi (Malloc Tunable Parameters): Add note
35552         about free list pointers overwriting some perturb bytes.
35553         Wording suggested by Roland McGrath.
35554
35555 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35556
35557         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35558         (lgamma_test): Likewise.
35559         (tgamma_test): Likewise.
35560
35561 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35562
35563         [BZ #14700]
35564         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35565         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35566
35567 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35568
35569         * NEWS: Mention BZ #14716.
35570         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35571         when removing AVAILABLE1_USES_J macro.
35572
35573 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35574
35575         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35576         (__bswap_64): __uint64_t for unsigned 64-bit int.
35577
35578 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35579
35580         * include/string.h (memmem): Declare libc hidden alias.
35581         * string/memmem.c (memmem): Define libc hidden alias.
35582         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35583         __read, __close instead of open, read, close.
35584
35585 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35586
35587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35588         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35589         global and hidden.
35590         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35591         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35592         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35593         Likewise.
35594         (__rawmemchr_sse2): Likewise.
35595         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35596         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35597         (__strchr_sse2): Likewise.
35598         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35599         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35600         (__strcasecmp_sse2): Likewise.
35601         (__strncasecmp_sse2): Likewise.
35602         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35603         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35604         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35605         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35606         (__strrchr_sse2): Likewise.
35607         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35608         ifunc-impl-list.c.
35609         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35610         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35611         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35612         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35613         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35614         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35615         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35616         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35617         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35618         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35619         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35620         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35621         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35622         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35623         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35624         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35625         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35626         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35627         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35628         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35629         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35630         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35631         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35632         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35633         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35634         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35635         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35636         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35637         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35638         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35639
35640         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35641         global and hidden.
35642         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35643         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35644         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35645         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35646         Likewise.
35647         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35648         Likewise.
35649         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35650         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35651         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35652         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35653         ifunc-impl-list.c.
35654         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35655         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35656         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35657         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35658         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35659         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35660         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35661         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35662         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35663         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35664         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35665         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35666         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35667         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35668         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35669         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35670         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35671         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35673         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35675         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35676         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35677         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35678         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35679         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35680         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35681         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35682         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35683         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35684         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35685         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35686         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35687         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35688         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35689         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35690         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35691         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35692         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35693         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35694         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35695
35696         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35697         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35698         * include/ifunc-impl-list.h: New file.
35699         * misc/ifunc-impl-list.c: Likewise.
35700         * misc/Makefile (routines): Add ifunc-impl-list.
35701         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35702         * string/test-string.h: Include <ifunc-impl-list.h>.
35703         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35704         TEST_NAME]: New variables.
35705         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35706         are defined.
35707         (test_init): Call __libc_ifunc_impl_list to initialize
35708         func_list if TEST_IFUNC and TEST_NAME are defined.
35709
35710         * string/Makefile (strop-tests): Add bcopy and bzero.
35711         * string/test-bcopy.c: New file.
35712         * string/test-bzero.c: Likewise.
35713         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35714         defined.
35715         * string/test-memset.c: Support bzero test if TEST_BZERO is
35716         defined.
35717         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35718         __libc_memmove.
35719         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35720         __libc_memset.
35721         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35722         of memset.
35723
35724 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35725
35726         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35727         * configure: Regenerated.
35728
35729         * Makeconfig (+link-static-before-libc): Don't include
35730         $(link-static-libc).
35731
35732         * libio/libio.h (_IO_pos_t): Remove.
35733
35734 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35735
35736         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35737         McGrath.
35738
35739 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35740
35741         * crypt/crypt-entry.c: Include fips-private.h.
35742         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35743         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35744         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35745         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35746
35747 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35748
35749         * crypt/crypt-private.h: Include stdbool.h.
35750         (_ufc_setup_salt_r): Return bool.
35751         * crypt/crypt-entry.c: Include errno.h.
35752         (__crypt_r): Return NULL with EINVAL for bad salt.
35753         * crypt/crypt_util.c (bad_for_salt): New.
35754         (_ufc_setup_salt_r): Check that salt is long enough and within
35755         the specified alphabet.
35756         * crypt/badsalttest.c: New file.
35757         * crypt/Makefile (tests): Add it.
35758         ($(objpfx)badsalttest): New.
35759
35760 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35761
35762         * NEWS: Add entry for BZ #14602.
35763
35764 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35765
35766         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35767         type-generic.
35768         * math/libm-test.inc: Update comment listing what functions and
35769         macros are tested.
35770         (isgreater_test): New function.
35771         (isgreaterequal_test): Likewise.
35772         (isless_test): Likewise.
35773         (islessequal_test): Likewise.
35774         (islessgreater_test): Likewise.
35775         (isunordered_test): Likewise.
35776         (main): Call the new functions.
35777
35778 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35779
35780         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35781         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35782         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35783         * sysdeps/i386/configure: Regenerated.
35784         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35785         * sysdeps/mach/configure: Regenerated.
35786         * sysdeps/mach/hurd/configure: Regenerated.
35787         * sysdeps/powerpc/configure: Regenerated.
35788         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35789         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35790         * sysdeps/s390/s390-32/configure: Regenerated.
35791         * sysdeps/s390/s390-64/configure: Regenerated.
35792         * sysdeps/sh/configure: Regenerated.
35793         * sysdeps/sparc/configure: Regenerated.
35794         * sysdeps/unix/sysv/linux/configure: Regenerated.
35795         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35796         * sysdeps/x86_64/configure: Regenerated.
35797
35798         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35799         defined.  Don't check if MAP is NULL.
35800
35801 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35802
35803         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35804         (_G_stat64): Likewise.
35805         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35806         (_G_stat64): Likewise.
35807         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35808         instead of struct _G_stat64.
35809         * libio/fileops.c (mmap_remap_check): Likewise.
35810         (decide_maybe_mmap): Likewise.
35811         (_IO_new_file_seekoff): Likewise.
35812         (_IO_file_stat): Likewise.
35813         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35814         _G_off64_t.
35815         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35816         instead of struct _G_stat64.
35817         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35818
35819 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35820
35821         [BZ #14602]
35822         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35823         Replace with ...
35824         (CHECK_EOL): New macro.
35825         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35826         CHECK_EOL.
35827         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35828         Replace with CHECK_EOL.
35829         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35830         Replace with CHECK_EOL.
35831
35832 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35833
35834         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35835         type-generic.
35836         * math/libm-test.inc: Update comment listing what functions and
35837         macros are tested.
35838         (finite_test): New function.
35839         (isinf_test): Likewise.
35840         (isnan_test): Likewise.
35841         (fpclassify_test): Test subnormal input.
35842         (isfinite_test): Likewise.
35843         (isnormal_test): Likewise.
35844         (main): Call the new functions.
35845
35846 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35847
35848         [BZ #14660]
35849         * Makerules (%.dynsym): Force C locale when running
35850         $(OBJDUMP) --dynamic-syms.
35851
35852 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35853
35854         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35855         <stdint.h>.
35856
35857 2012-10-06  David S. Miller  <davem@davemloft.net>
35858
35859         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35860         upper 32-bits of the length value in %o2 since we use branch-on-register
35861         tests which consider the entire 64-bit register.
35862
35863 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35864
35865         * string/test-strstr.c (check2): Add a test for page boundary.
35866
35867 2012-10-05  David S. Miller  <davem@davemloft.net>
35868
35869         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35870         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35871         file.
35872         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35873         sysdep_routines.
35874         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35875         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35876         and bzero when HWCAP_SPARC_CRYPTO is present.
35877
35878 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35879
35880         [BZ #14602]
35881         * string/test-strstr.c (check2): New function.
35882         (test_main): Call check2.
35883
35884         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35885         and bug-strchr1.
35886         * string/bug-strcasestr1.c (do_test): Moved to ...
35887         * string/test-strcasestr.c (check1): Here.  New function.
35888         (do_one_test): Break out result checking code into ...
35889         (check_result): This.  New function.
35890         (do_one_test): Call check_result.
35891         (test_main): Call check1.
35892         * string/bug-strchr1.c (do_test): Moved to ...
35893         * string/test-strchr.c (check1): Here.  New function.
35894         (do_one_test): Break out result checking code into ...
35895         (check_result): This.  New function.
35896         (do_one_test): Call check_result.
35897         (test_main): Call check1.
35898         * string/bug-strstr1.c (main): Moved to ...
35899         * string/test-strstr.c (check1): Here.  New function.
35900         (do_one_test): Break out result checking code into ...
35901         (check_result): This.  New function.
35902         (do_one_test): Call check_result.
35903         (test_main): Call check1.
35904         * string/bug-strcasestr1.c: Removed.
35905         * string/bug-strchr1.c: Likewise.
35906         * string/bug-strstr1.c: Likewise.
35907
35908         * elf/Makefile (dl-routines): Add hwcaps.
35909         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35910         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35911         (_dl_important_hwcaps): Moved to ...
35912         * elf/dl-hwcaps.c: Here.  New file.
35913         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35914
35915         [BZ #14557]
35916         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35917         if IS_IN_rtld isn't defined.
35918
35919         * elf/dl-support.c (_dl_sysinfo_map): New.
35920         Include "get-dynamic-info.h" and "setup-vdso.h".
35921         (_dl_non_dynamic_init): Call setup_vdso.
35922         * elf/dynamic-link.h: Don't include <assert.h>.
35923         (elf_get_dynamic_info): Moved to ...
35924         * elf/get-dynamic-info.h: Here.  New file.
35925         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35926         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35927         * elf/setup-vdso.h: Here.  New file.
35928         * elf/rtld.c: Include "setup-vdso.h".
35929         (dl_main): Call setup_vdso.
35930
35931 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35932
35933         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35934         creal in comment listing functions tested.  List finite, isinf,
35935         isnan, isless, islessequal, isgreater, isgreaterequal,
35936         islessgreater, isunordered, lgamma_r and pow10 as functions and
35937         macros not tested.  Mention which functions not tested are aliases
35938         for other functions.  Fix typo.  Note that signs of NaNs are not
35939         tested.
35940
35941         * scripts/config.guess: Update from config.git.
35942         * scripts/config.sub: Likewise.
35943
35944 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35945
35946         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35947         * misc/madvise.c (madvise): Renamed to __madvise.
35948         Make madvise a weak alias.
35949         * include/sys/mman.h: Declare __madvise.
35950         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35951         * sysdeps/unix/syscalls.list
35952         (madvise): Make __madvise the strong name, and madvise a weak alias.
35953         * sysdeps/unix/sysv/linux/syscalls.list
35954         (madvise, mmap): Remove redundant entries.
35955         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35956         * malloc/malloc.c (mtrim): Likewise.
35957         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35958
35959 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35960
35961         * sysdeps/mach/hurd/dl-cache.c: File removed.
35962         * config.h.in (USE_LDCONFIG): New #undef.
35963         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35964         * configure: Regenerated.
35965         * elf/Makefile (dl-routines): Add dl-cache only under
35966         [$(use-ldconfig) = yes].
35967         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35968         cache on [USE_LDCONFIG].
35969         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35970         [USE_LDCONFIG].
35971         * elf/rtld.c (dl_main): Likewise.
35972
35973 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35974
35975         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35976         _SC_LEVEL4_CACHE_LINESIZE.
35977
35978 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35979
35980         * sysdeps/unix/bsd/confstr.h: File removed.
35981
35982 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35983
35984         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35985         sys/sdt-config.h.
35986
35987 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35988
35989         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35990         Make 'mapoff' field ElfW(Off) rather than off_t.
35991
35992 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35993
35994         * nscd/Makefile: Remove nscd-cflags and all its users.
35995         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35996         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35997
35998         [BZ #10631]
35999         * malloc.c (malloc_printerr): Clarify error message.
36000
36001 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36002
36003         [BZ #14648]
36004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36005         Set bit_FMA_Usable if FMA is supported.
36006         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36007         macro.
36008         (bit_FMA4_Usable): Updated.
36009         (index_FMA_Usable): New macro.
36010         (CPUID_FMA): Likewise
36011         (HAS_FMA): Defined with bit_FMA_Usable.
36012
36013 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36014
36015         * bits/types.h (__swblk_t): Type removed.
36016         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36017         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36019         (__SWBLK_T_TYPE): Likewise.
36020         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36021         (__SWBLK_T_TYPE): Likewise.
36022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36023         (__SWBLK_T_TYPE): Likewise.
36024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36025         (__SWBLK_T_TYPE): Likewise.
36026
36027 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36028             Honza Horak <hhorak@redhat.com>
36029
36030         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36031         (xdr_mapname): Use YPMAXMAP as maxsize.
36032         (xdr_peername): Use YPMAXPEER as maxsize.
36033         (xdr_keydat): Use YPAXRECORD as maxsize.
36034         (xdr_valdat): Use YPMAXRECORD as maxsize.
36035
36036 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36037
36038         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36039
36040         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36041         * csu/init-first.c: ... here.
36042         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36043         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36044         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36045         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36046         * sysdeps/i386/init-first.c: File removed.
36047         * sysdeps/sh/init-first.c: File removed.
36048
36049 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36050
36051         [BZ #14645]
36052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36053         if x * y might underflow to zero and z is zero.
36054         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36055         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36056         * math/libm-test.inc (min_subnorm_value): New variable.
36057         (fma_test): Add more tests.
36058         (fma_test_towardzero): Likewise.
36059         (fma_test_downward): Likewise
36060         (fma_test_upward): Likewise.
36061         (initialize): Set min_subnorm_value.
36062
36063 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36064
36065         [BZ #14638]
36066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36067         0 + 0.
36068         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36069         mode for addition resulting in exact zero.
36070         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36072         exact 0 + 0.
36073         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36075         * math/libm-test.inc (fma_test): Add more tests.
36076         (fma_test_towardzero): New function.
36077         (fma_test_downward): Likewise.
36078         (fma_test_upward): Likewise.
36079         (main): Call the new functions.
36080
36081 2012-09-28  David S. Miller  <davem@davemloft.net>
36082
36083         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36084
36085 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36086
36087         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36088         instead of SIGALRM.
36089
36090         * sysdeps/gnu/_G_config.h: Moved to ...
36091         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36092         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36093         * sysdeps/generic/_G_config.h: ... here.
36094
36095         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36096
36097         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36098
36099         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36100         Conditionalize target on [libnss_test1.so-version].
36101
36102         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36103
36104         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36105         (elfobjdir): Move out of conditionals.
36106
36107         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36108         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36109         (__nss_lookup_function): Conditionalize label remove_from_tree on
36110         [!DO_STATIC_NSS || SHARED], matching its only use.
36111
36112 2012-09-28  David S. Miller  <davem@davemloft.net>
36113
36114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36115         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36116         file.
36117         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36118         sysdep_routines.
36119         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36121         when HWCAP_SPARC_CRYPTO is present.
36122
36123 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36124
36125         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36126
36127 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36128
36129         [BZ #6530]
36130         * stdio-common/vfprintf.c (process_string_arg): Revert
36131         2000-07-22 change.
36132
36133 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36134
36135         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36136         for testcase.
36137         * stdio-common/tst-sprintf.c: Include <locale.h>
36138         (main): Test sprintf's handling of incomplete multibyte
36139         characters.
36140
36141 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36142
36143         * elf/dl-runtime.c (VERSYMIDX): Removed.
36144         * elf/dl-version.c (VERSYMIDX): Likewise.
36145         * elf/do-rel.h (VERSYMIDX): Likewise.
36146         (VALIDX): Likewise.
36147         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36148         * elf/rtld.c (VALIDX): Likewise.
36149         (ADDRIDX): Likewise.
36150         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36151         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36152         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36153         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36154         (VALIDX): Likewise.
36155         (ADDRIDX): Likewise.
36156
36157 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36158
36159         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36160
36161 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36162
36163         [BZ #11438]
36164         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36165         to global scope.
36166         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36167         addresses are in the same scope as 192.0.2/24.
36168         * posix/gai.conf: Document new scope table defaults.
36169
36170 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36171
36172         [BZ #5298]
36173         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36174         for ftell.  Compute offsets from write pointers instead.
36175         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36176
36177 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36178
36179         [BZ #14543]
36180         * libio/Makefile (tests): New test case tst-fseek.
36181         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36182         combination works in wide mode.
36183         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36184         state when the external buffer state changes.
36185
36186 2012-09-27  David S. Miller  <davem@davemloft.net>
36187
36188         [BZ #14376]
36189         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36190         pass reloc->r_addend in as the 'high' argument to
36191         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36192
36193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36194
36195 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36196
36197         * rt/tst-aio2.c: Include <pthread.h>.
36198         * rt/tst-aio3.c: Likewise.
36199
36200 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36201
36202         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36203
36204 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36205
36206         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36207         contents on [SHARED].
36208
36209 2012-09-26  Marek Polacek  <polacek@redhat.com>
36210
36211         [BZ #14530]
36212         [BZ #13741]
36213         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36214         for C++ and GCC <4.3 as well as for non GCC compilers.
36215
36216 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36217
36218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36219
36220 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36221
36222         * Makefile.in (all, install): Declare with .PHONY.
36223         Reported by Michael Hope <michael.hope@linaro.org>.
36224
36225 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36226
36227         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36228         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36229         system header.
36230         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36231         Likewise.
36232         (sydep_routines): Add the new and the internal functions.
36233         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36234         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36236         (GLIBC_2.17): Add the new function.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36238         (GLIBC_2.17): Likewise.
36239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36240         (GLIBC_2.17): Likewise.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36242         (GLIBC_2.17): Likewise.
36243         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36244
36245 2012-09-25  Alan Modra  <amodra@gmail.com>
36246
36247         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36248         Add release barrier before setting once_control to say
36249         initialisation is done.  Add hints on lwarx.  Use macro in
36250         place of isync.
36251         (clear_once_control): Add release barrier.
36252
36253 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36254
36255         [BZ #13629]
36256         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36257         specially.
36258         * math/s_clog10.c (__clog10): Likewise.
36259         * math/s_clog10f.c (__clog10f): Likewise.
36260         * math/s_clog10l.c (__clog10l): Likewise.
36261         * math/s_clogf.c (__clogf): Likewise.
36262         * math/s_clogl.c (__clogl): Likewise.
36263         * math/Makefile (libm-calls): Add x2y2m1.
36264         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36265         (__x2y2m1): Likewise.
36266         (__x2y2m1l): Likewise.
36267         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36268         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36269         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36270         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36271         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36272         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36273         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36274         * sysdeps/i386/fpu/libm-test-ulps: Update.
36275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36276
36277         [BZ #14621]
36278         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36279         int as type of variable DEPTH.
36280         (glob): Use size_t instead of int as type of variables NEWCOUNT
36281         and OLD_PATHC.
36282
36283 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36284
36285         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36286         Add s_sincosf-sse2.
36287         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36288         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36289         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36290         macros for using routine as __sincosf_ia32.
36291         Use macro for function declaration and weak_alias.
36292         * sysdeps/i386/fpu/libm-test-ulps: Update.
36293
36294         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36296
36297         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36298         subnormal argument.
36299         * math/s_cexpf.c (__cexpf): Likewise.
36300         * math/s_csinf.c (__csinf): Likewise.
36301         * math/s_csinhf.c (__csinhf): Likewise.
36302         * math/s_ctanf.c (__ctanf): Likewise.
36303         * math/s_ctanhf.c (__ctanhf): Likewise.
36304         * math/s_ccosh.c (__ccoshf): Likewise.
36305         * math/s_cexp.c (__cexpl): Likewise.
36306         * math/s_csin.c (__csin): Likewise.
36307         * math/s_csinh.c (__csinh): Likewise.
36308         * math/s_ctan.c (__ctan): Likewise.
36309         * math/s_ctanh.c (ctanh): Likewise.
36310         * math/s_ccoshl.c (__ccoshl): Likewise.
36311         * math/s_cexpl.c (__cexpl): Likewise.
36312         * math/s_csinl.c (__csinl): Likewise.
36313         * math/s_csinhl.c (__csinhl): Likewise.
36314         * math/s_ctanl.c (__ctanl): Likewise.
36315         * math/s_ctanhl.c (__ctanhl): Likewise.
36316
36317 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36318
36319         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36320         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36321         (_IO_off_t): Define to __off_t, not _G_off_t.
36322         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36323         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36324         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36325         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36326         type of __dummy and __dummy2 fields.
36327         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36328         (_G_ssize_t): Likewise.
36329         (_G_off_t): Likewise.
36330         (_G_pid_t): Likewise.
36331         (_G_uid_t): Likewise.
36332         (_G_wchar_t): Likewise.
36333         (_G_wint_t): Likewise.
36334         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36335         (_G_ssize_t): Likewise.
36336         (_G_off_t): Likewise.
36337         (_G_pid_t): Likewise.
36338         (_G_uid_t): Likewise.
36339         (_G_wchar_t): Likewise.
36340         (_G_wint_t): Likewise.
36341         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36342         (_G_ssize_t): Likewise.
36343         (_G_off_t): Likewise.
36344         (_G_pid_t): Likewise.
36345         (_G_uid_t): Likewise.
36346         (_G_wchar_t): Likewise.
36347         (_G_wint_t): Likewise.
36348
36349 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36350
36351         * malloc/arena.c: Include malloc-sysdep.h.
36352         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36353         is sufficient to shrink the heap or an unmap is needed.
36354         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36355         new function check_may_shrink_heap.
36356         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36357         new function check_may_shrink_heap.
36358
36359 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36360
36361         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36362         comments.
36363
36364 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36365
36366         * catgets/test-gencat.sh: Add "set -e".
36367         * elf/tst-pathopt.sh: Likewise.
36368         * grp/tst_fgetgrent.sh: Likewise.
36369         * iconvdata/run-iconv-test.sh: Likewise.
36370         * intl/tst-gettext.sh: Likewise.
36371         * intl/tst-gettext2.sh: Likewise.
36372         * intl/tst-gettext4.sh: Likewise.
36373         * intl/tst-gettext6.sh: Likewise.
36374         * intl/tst-translit.sh: Likewise.
36375         * io/ftwtest-sh: Likewise.
36376         * libio/test-freopen.sh: Likewise.
36377         * malloc/tst-mtrace.sh: Likewise.
36378         * posix/globtest.sh: Likewise.
36379         * posix/tst-getconf.sh: Likewise.
36380         * posix/wordexp-tst.sh: Likewise.
36381         * stdio-common/tst-printf.sh: Likewise.
36382         * stdio-common/tst-unbputc.sh: Likewise.
36383         * stdlib/tst-fmtmsg.sh: Likewise.
36384         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36385         * catgets/Makefile: Do not specify -e option when running
36386         testsuite shell scripts.
36387         * elf/Makefile: Likewise.
36388         * grp/Makefile: Likewise.
36389         * iconvdata/Makefile: Likewise.
36390         * intl/Makefile: Likewise.
36391         * io/Makefile: Likewise.
36392         * libio/Makefile: Likewise.
36393         * malloc/Makefile: Likewise.
36394         * posix/Makefile: Likewise.
36395         * stdio-common/Makefile: Likewise.
36396         * stdlib/Makefile: Likewise.
36397         * sysdeps/x86_64/Makefile: Likewise.
36398
36399         * io/ftwtest-sh: Add copyright header.
36400         * posix/globtest.sh: Likewise.
36401         * posix/tst-getconf.sh: Likewise.
36402         * posix/wordexp-tst.sh: Likewise.
36403         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36404
36405 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36406
36407         [BZ #13679]
36408         * Makeconfig (+link): Defined as $(+link-static) if
36409         $(build-shared) isn't yes.
36410         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36411         isn't yes.
36412         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36413
36414         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36415
36416         [BZ #14562]
36417         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36418         new chunk size with MALLOC_ALIGN_MASK.
36419
36420 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36421
36422         [BZ #5044]
36423         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36424         <rounding-mode.h>.
36425         (__printf_fphex): Determine rounding using get_rounding_mode and
36426         round_away.
36427         * stdio-common/tst-printf-round.c (struct hex_test): New
36428         structure.
36429         (hex_tests): New variable.
36430         (test_hex_in_one_mode): New function.
36431         (do_test): Also run tests for hex float output.
36432
36433 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36434
36435         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36436         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36437         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36438         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36439         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36440         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36441         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36442         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36443
36444 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36445
36446         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36447         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36448         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36449         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36450
36451 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36452
36453         [BZ #14579]
36454         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36455         mode only.
36456         * elf/tst-rtld-load-self.sh: New test.
36457         * elf/Makefile: Run it.
36458
36459 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36460
36461         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36462         (tst-writev-ENV): Remove.
36463         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36464
36465 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36466
36467         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36468
36469 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36470
36471         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36472         unconditional.
36473         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36474         Likewise.
36475         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36476         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36477         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36478         Likewise.
36479
36480 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36481
36482         [BZ #14587]
36483         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36484         * config.make.in (have-cpp-asm-debuginfo): Removed.
36485         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36486         * configure: Regenerated.
36487
36488 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36489
36490         [BZ #5044]
36491         * stdio-common/printf_fp.c: Include <stdbool.h> and
36492         <rounding-mode.h>.
36493         (___printf_fp): Determine rounding using get_rounding_mode and
36494         round_away.
36495         * stdio-common/tst-printf-round.c: New file.
36496         * stdio-common/Makefile (tests): Add tst-printf-round.
36497         (link-libm): New variable.
36498         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36499
36500 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36501
36502         [BZ #14576]
36503         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36504         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36505         Likewise.
36506         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36507         Likewise.
36508
36509 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36510
36511         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36512         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36513         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36514         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36515
36516 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36517
36518         [BZ #14518]
36519         * include/rounding-mode.h: New file.
36520         * sysdeps/generic/get-rounding-mode.h: Likewise.
36521         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36522         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36523         (MAX_VALUE): New macro.
36524         (MIN_VALUE): Likewise.
36525         (overflow_value): New function.
36526         (underflow_value): Likewise.
36527         (round_and_return): Use overflow_value and underflow_value to
36528         determine return values in overflow and underflow cases.  Use
36529         round_away to determine rounding depending on rounding mode.
36530         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36531         determine return values in overflow and underflow cases.
36532         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36533         (struct test_results): New structure.
36534         (struct test): Use struct test_results to store expected results
36535         for all rounding modes.
36536         (TEST): Include expected results for all rounding modes.
36537         (test_in_one_mode): New function.
36538         (do_test): Use test_in_one_mode to compute and check results.
36539         Check results for all rounding modes.
36540         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36541         $(link-libm).
36542
36543 2012-12-09  Allan McRae  <allan@archlinux.org>
36544
36545         * sysdeps/i386/fpu/libm-test-ulps: Update
36546
36547 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36548
36549         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36550         (_G_int32_t): Likewise.
36551         (_G_uint16_t): Likewise.
36552         (_G_uint32_t): Likewise.
36553         (_G_HAVE_BOOL): Likewise.
36554         (_G_HAVE_ATEXIT): Likewise.
36555         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36556         (_G_HAVE_IO_FILE_OPEN): Likewise.
36557         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36558         (_G_int32_t): Likewise.
36559         (_G_uint16_t): Likewise.
36560         (_G_uint32_t): Likewise.
36561         (_G_HAVE_BOOL): Likewise.
36562         (_G_HAVE_ATEXIT): Likewise.
36563         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36564         (_G_HAVE_IO_FILE_OPEN): Likewise.
36565         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36566         (_G_int32_t): Likewise.
36567         (_G_uint16_t): Likewise.
36568         (_G_uint32_t): Likewise.
36569         (_G_HAVE_BOOL): Likewise.
36570         (_G_HAVE_ATEXIT): Likewise.
36571         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36572         (_G_HAVE_IO_FILE_OPEN): Likewise.
36573
36574 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36575
36576         * csu/libc-tls.c: Update copyright years.
36577
36578 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36579
36580         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36581         [!_G_USING_THUNKS]: Remove conditional code.
36582         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36583         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36584
36585         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36586         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36587         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36588         (_G_VTABLE_LABEL_PREFIX): Likewise.
36589         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36590         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36591         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36592         (_G_VTABLE_LABEL_PREFIX): Likewise.
36593         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36594         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36595         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36596         (_G_VTABLE_LABEL_PREFIX): Likewise.
36597         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36598
36599 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36600
36601         * libio/Makefile: Include ../Makeconfig before tests.
36602         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36603         only if $(build-shared) is yes.
36604
36605         * iconv/gconv_db.c: Update copyright years.
36606
36607 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36608
36609         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36610         unwind info if defined PIC. Fix special cases description.
36611         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36612
36613         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36614         DP_HI_MASK entry.
36615         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36616
36617 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36618
36619         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36620
36621         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36622         is NULL.
36623
36624         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36625         (LDLIBS-tst-chk4): This.
36626         (LDFLAGS-tst-chk5): Renamed to ...
36627         (LDLIBS-tst-chk5): This.
36628         (LDFLAGS-tst-chk6): Renamed to ...
36629         (LDLIBS-tst-chk6): This.
36630         (LDFLAGS-tst-lfschk4): Renamed to ...
36631         (LDLIBS-tst-lfschk4): This.
36632         (LDFLAGS-tst-lfschk5): Renamed to ...
36633         (LDLIBS-tst-lfschk5): This.
36634         (LDFLAGS-tst-lfschk6): Renamed to ...
36635         (LDLIBS-tst-lfschk6): This.
36636
36637         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36638         on $(common-objpfx)soversions.mk.
36639
36640 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36641
36642         [BZ #10014]
36643         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36644         example host name.
36645
36646 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36647
36648         * malloc/arena.c (arena_get_retry): New function that gets
36649         another arena for the caller to try its request on.
36650         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36651         current arena cannot fulfill the request.
36652         (__libc_memalign): Likewise.
36653         (__libc_memalign): Likewise.
36654         (__libc_pvalloc): Likewise.
36655         (__libc_calloc): Likewise.
36656
36657 2012-09-05  John Tobey  <john.tobey@gmail.com>
36658
36659         [BZ #13542]
36660         * manual/arith.texi (Operations on Complex): Fix description
36661         of carg branch cut.
36662
36663 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36664
36665         [BZ #10014]
36666         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36667         host name.
36668
36669         [BZ #10038]
36670         * manual/memory.texi (Memory): Make order of menu items match
36671         order of sections.
36672
36673 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36674
36675         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36676         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36677         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36678
36679 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36680
36681         * csu/libc-tls.c (static_dtv): Renamed to ...
36682         (_dl_static_dtv): This.  Make it global.
36683         (_dl_initial_dtv): Removed.
36684         (__libc_setup_tls): Updated.
36685         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36686         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36687         DL_INITIAL_DTV.
36688
36689 2012-09-06  Petr Machata  <pmachata@redhat.com>
36690
36691         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36692         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36693         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36694         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36695
36696 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36697
36698         [BZ #14545]
36699         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36700         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36701         freeing dtv[-1].
36702
36703 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36704
36705         [BZ #14544]
36706         * Makeconfig (link-static-before-libc): Replace $(+prector)
36707         with $(+prectorT).
36708         (link-static-after-libc): Replace $(+postctor) with
36709         $(+postctorT).
36710         (link-bounded): Replace $(+prector)/$(+postctor) with
36711         $(+prectorT)/$(+postctorT).
36712         (+prectorT): New macro.
36713         (+postctorT): Likewise.
36714
36715 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36716
36717         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36718         (round_str): Handle values above the maximum for IBM long double
36719         as inexact.
36720         * stdlib/tst-strtod-round.c (tests): Regenerated.
36721
36722 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36723
36724         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36725         assembler flag.
36726         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36727         zarch_nohighgprs around the zarch optimized routines.
36728         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36729         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36730         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36731         for zarch.
36732
36733 2012-09-05  David S. Miller  <davem@davemloft.net>
36734
36735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36736
36737         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36738         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36739         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36740         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36741         entries.
36742
36743 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36744
36745         * malloc/arena.c: Fold copyright years.
36746         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36747
36748 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36749
36750         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36751
36752 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36753
36754         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36755
36756 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36757
36758         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36759         change internal state upon failure.
36760
36761 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36762
36763         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36764         * malloc/memusage.c (mmap): Likewise.
36765         (mmap64, mremap): Likewise.  Adjust name in comment.
36766
36767 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36768
36769         * libio/fileops.c: Fix typos in comments.
36770         * libio/oldfileops.c: Likewise.
36771         * libio/wfileops.c: Likewise.
36772
36773 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36774
36775         [BZ #1349]
36776         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36777         (tst-malloc-usable-ENV): Set environment for test case.
36778         * malloc/hooks.c (malloc_check_get_size): New function to get
36779         requested size.
36780         * malloc/malloc.c (musable): Use malloc_check_get_size.
36781         * malloc/tst-malloc-usable.c: New test case.
36782
36783 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36784
36785         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36786
36787 2012-09-05  Allan McRae  <allan@archlinux.org>
36788
36789         [BZ #13966]
36790         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36791         determine header location.
36792         * configure: Regenerated.
36793
36794 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36795
36796         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36797         float format.
36798         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36799         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36800         format.
36801         (test): Regenerate.
36802
36803 2012-09-04  David S. Miller  <davem@davemloft.net>
36804
36805         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36806         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36807         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36808
36809 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36810
36811         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36812         failures.
36813
36814         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36815
36816 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36817
36818         [BZ #9914]
36819         * libio/iogetdelim.c: Include <limits.h>.
36820         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36821         + len + 1 would overflow.
36822
36823 2012-09-03  Andreas Jaeger  <aj@suse.de>
36824
36825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36826         * sysdeps/i386/fpu/libm-test-ulps: Update.
36827
36828 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36829
36830         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36831         Add s_sinf-sse2, s_conf-sse2.
36832
36833         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36834         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36835         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36836         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36837
36838         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36839         for using routine as __sinf_ia32.
36840         Use macro for function declaration and weak_alias.
36841         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36842         for using routine as __cosf_ia32.
36843         Use macro for function declaration and weak_alias.
36844
36845         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36846         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36847
36848         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36849         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36851
36852         * math/libm-test.inc (cos_test): Add more test cases.
36853         (sin_test): Likewise.
36854         (sincos_test): Likewise.
36855
36856 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36857
36858         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36859         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36860         hidden.
36861         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36862
36863 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36864
36865         [BZ #14538]
36866         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36867         first element of the GOT.
36868         (elf_machine_load_address): Return the difference between
36869         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36870
36871 2012-09-01  Allan McRae  <allan@archlinux.org>
36872
36873         [BZ #13412]
36874         * configure.in (AWK): Require gawk version 3.0 or later.
36875         * configure: Regenerated.
36876
36877 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36878
36879         * sysdeps/unix/sysv/linux/kernel-features.h
36880         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36881         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36882         [__NR_clock_getres]: Make code unconditional.
36883         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36884         (clock_getcpuclockid): Remove code left unreachable by removal of
36885         conditionals.
36886         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36887         code unconditional.
36888         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36889         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36890         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36891         Make code unconditional.
36892         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36893         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36894         * sysdeps/unix/sysv/linux/clock_settime.c
36895         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36896         conditional code.
36897         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36898         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36899
36900 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36901
36902         [BZ #14476]
36903         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36904         scripts/test-installation.pl.
36905
36906         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36907         and $ld_so_version if it is set.
36908
36909 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36910
36911         [BZ #14516]
36912         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36913         failure if reading from procfs failed.
36914         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36915
36916 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36917
36918         * sysdeps/unix/sysv/linux/kernel-features.h
36919         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36920         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36921         Remove conditional code.
36922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36923         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36924         Remove conditional code.
36925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36926         * sysdeps/unix/sysv/linux/i386/fxstat.c
36927         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36928         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36929         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36930         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36932         * sysdeps/unix/sysv/linux/i386/lxstat.c
36933         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36935         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36936         Remove conditional code.
36937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36938         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36939         Remove conditional code.
36940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36941         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36942         <kernel-features.h>.
36943         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36944         Remove.
36945         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36946         Remove conditional code.
36947         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36948         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36949         Remove conditional.
36950
36951 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36952
36953         [BZ #5400]
36954         * NEWS: Add fixed bug number.
36955
36956 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36957
36958         [BZ #14519]
36959         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36960         underflowing exponent in case of negative sign.
36961         * stdlib/tst-strtod-round-data: Add more tests.
36962         * stdlib/tst-strtod-round.c (tests): Regenerated.
36963
36964         [BZ #3479]
36965         * stdlib/strtod_l.c (NDIG): Remove.
36966         (HEXNDIG): Likewise.
36967         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36968         smallest representable value.
36969         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36970         lie within an exact representation of 1/2 ulp of the result.
36971         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36972         unconditionally.
36973         (TENS_P9_IDX): Define unconditionally.
36974         (TENS_P9_SIZE): Likewise.
36975         (TENS_P10_IDX): Likewise.
36976         (TENS_P10_SIZE): Likewise.
36977         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36978         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36979         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36980         entries for 10^2^13 and 10^2^14.
36981         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36982         (TENS_P13_IDX): Define.
36983         (TENS_P13_SIZE): Likewise.
36984         (TENS_P14_IDX): Likewise.
36985         (TENS_P14_SIZE): Likewise.
36986         (_fpioconst_pow10): Change array size to
36987         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36988         unconditional.
36989         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36990         1024]: Add entries for 10^2^13 and 10^2^14.
36991         [LAST_POW10 > _LAST_POW10]: Remove #error.
36992         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36993         (_fpioconst_pow10): Change array size to
36994         FPIOCONST_POW10_ARRAY_SIZE.
36995         * stdlib/gen-fpioconst.c: New file.
36996         * stdlib/gen-tst-strtod-round.c: Likewise.
36997         * stdlib/tst-strtod-round-data: Likewise.
36998         * stdlib/tst-strtod-round.c: Likewise.
36999         * stdlib/Makefile (tests): Add tst-strtod-round.
37000
37001         [BZ #14459]
37002         * stdlib/strtod_l.c: Include <stdint.h>.
37003         (NDEBUG): Do not define.
37004         (round_and_return): Change EXPONENT parameter to type intmax_t.
37005         Rearrange calculations to avoid internal overflow possibilities.
37006         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37007         Rearrange calculations to avoid internal overflow possibilities.
37008         Assert that number fits inside MPNSIZE limbs.
37009         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37010         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37011         calculations and add assertions to avoid internal overflow
37012         possibilities.  Add casts to avoid signed/unsigned operations.
37013         * stdlib/tst-strtod-overflow.c: New file.
37014         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37015
37016 2012-08-25  Marek Polacek  <polacek@redhat.com>
37017
37018         * time/time.h: Fix some typos in comments.
37019
37020 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37021
37022         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37023         * posix/tst-rfc3484-2.c: Likewise.
37024         * posix/tst-rfc3484-3.c: Likewise.
37025
37026 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37027
37028         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37029         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37030
37031 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37032
37033         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37034         #include of fxstatat64.c.
37035
37036 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37037
37038         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37039         * shadow/getspent_r.c: Likewise.
37040         * shadow/getspnam.c: Likewise.
37041         * shadow/getspnam_r.c: Likewise.
37042         * gshadow/getsgent.c: Likewise.
37043         * gshadow/getsgent_r.c: Likewise.
37044         * gshadow/getsgnam.c: Likewise.
37045         * gshadow/getsgnam_r.c: Likewise.
37046         * inet/getnetbyad.c: Likewise.
37047         * inet/getnetbyad_r.c: Likewise.
37048         * inet/getnetbynm.c: Likewise.
37049         * inet/getnetbynm_r.c: Likewise.
37050         * inet/getnetent.c: Likewise.
37051         * inet/getnetent_r.c: Likewise.
37052         * inet/getproto.c: Likewise.
37053         * inet/getproto_r.c: Likewise.
37054         * inet/getprtent.c: Likewise.
37055         * inet/getprtent_r.c: Likewise.
37056         * inet/getprtname.c: Likewise.
37057         * inet/getprtname_r.c: Likewise.
37058         * inet/getrpcbyname.c: Likewise.
37059         * inet/getrpcbyname_r.c: Likewise.
37060         * inet/getrpcbynumber.c: Likewise.
37061         * inet/getrpcbynumber_r.c: Likewise.
37062         * inet/getrpcent.c: Likewise.
37063         * inet/getrpcent_r.c: Likewise.
37064         * inet/getaliasent.c: Likewise.
37065         * inet/getaliasent_r.c: Likewise.
37066         * inet/getaliasname.c: Likewise.
37067         * inet/getaliasname_r.c: Likewise.
37068         * nscd/getgrgid_r.c: Likewise.
37069         * nscd/getgrnam_r.c: Likewise.
37070         * nscd/gethstbyad_r.c: Likewise.
37071         * nscd/gethstbynm3_r.c: Likewise.
37072         * nscd/getpwnam_r.c: Likewise.
37073         * nscd/getpwuid_r.c: Likewise.
37074         * nscd/getsrvbynm_r.c: Likewise.
37075         * nscd/getsrvbypt_r.c: Likewise.
37076         * nscd/gai.c: Likewise.
37077
37078         * configure.in (build_nscd): New substituted variable, set
37079         by --disable-build-nscd and defaults to $use_nscd.
37080         * configure: Regenerated.
37081         * config.make.in (build-nscd): New substituted variable.
37082         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37083         Change conditional to require [$(build-nscd) = yes] as well.
37084         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37085
37086         [BZ# 13696]
37087         * configure.in (use_nscd): New substituted variable, set by
37088         --disable-nscd.  If enabled, define USE_NSCD.
37089         * configure: Regenerated.
37090         * config.h.in: Add USE_NSCD.
37091         * config.make.in (use-nscd): New substituted variable.
37092         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37093         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37094         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37095         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37096         (CFLAGS-getgrnam_r.c): Likewise.
37097         (CFLAGS-initgroups.c): Likewise.
37098         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37099         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37100         Variables removed.
37101         * inet/getnetgrent_r.c
37102         (nscd_setnetgrent): New function, broken out of ...
37103         (setnetgrent): ... here.  Call it.
37104         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37105         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37106         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37107         * nscd/Makefile (routines, aux): Move definitions after include of
37108         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37109         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37110         Conditionalize on [USE_NSCD].
37111         (is_nscd, nscd_init_cb): Likewise.
37112         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37113         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37114         * nss/nss_db/db-init.c: Likewise.
37115         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37116         [USE_NSCD].
37117         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37118         (make_request): Use it.
37119         (cache_valid_p): New function.
37120         (__check_pf): Use it.
37121         * NEWS: Add item for --disable-nscd.
37122
37123 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37124
37125         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37126         to support sed >= 4.2.1-20-ga9bf076.
37127         * configure: Regenerated.
37128
37129 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37130
37131         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37132         Conditionalize whole body on [IREL].
37133
37134 2012-08-22  Jeff Law <law@redhat.com>
37135
37136         [BZ #14505]
37137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37138         if the family is PF_UNSPEC.
37139
37140 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37141
37142         * Makerules (lib-version): Rename from V.
37143         (install-lib-nosubdir): Change V to lib-version.
37144
37145 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37146
37147         [BZ #14252]
37148         * powerpc32/power6/wcschr.c: New file.
37149         * powerpc32/power6/wcscpy.c: New file.
37150         * powerpc32/power6/wcsrchr.c: New file.
37151         * powerpc64/power6/wcschr.c: New file.
37152         * powerpc64/power6/wcscpy.c: New file.
37153         * powerpc64/power6/wcsrchr.c: New file.
37154
37155 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37156
37157         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37158         (two_way_short_needle): Use it.
37159         * string/strstr.c (AVAILABLE1_USES_J): Define.
37160         * string/strcasestr.c: Likewise.
37161
37162         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37163         array references.
37164         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37165
37166         [BZ #11607]
37167         * NEWS: Add an entry.
37168         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37169         define their defaults.
37170         (two_way_short_needle): Detect end-of-string on-the-fly.
37171         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37172         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37173         * string/bug-strcasestr1.c: New test.
37174         * string/Makefile: Run it.
37175
37176 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37177
37178         [BZ #11607]
37179         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37180         the first character.
37181
37182 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37183
37184         * csu/elf-init.c (__libc_csu_irel): Function removed.
37185         * csu/libc-start.c (apply_irel): New function.
37186         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37187
37188 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37189
37190         * sysdeps/unix/sysv/linux/kernel-features.h
37191         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37192         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37193         <kernel-features.h>.
37194         [__NR_fadvise64_64]: Make code unconditional.
37195         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37196         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37197         !__NR_fadvise64_64)]: Likewise.
37198         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37199         !__NR_fadvise64_64))]: Likewise.
37200         [__NR_fadvise64]: Make code unconditional.
37201         [!__NR_fadvise64]: Remove conditional code.
37202         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37203         <kernel-features.h>.
37204         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37205         unconditional.
37206         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37207         conditional code.
37208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37209         not include <kernel-features.h>.
37210         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37211         unconditional.
37212         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37213         conditional code.
37214         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37215         include <kernel-features.h>.
37216         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37217         unconditional.
37218         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37219         conditional code.
37220
37221 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37222
37223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37224         slight instruction rearrangements per scrollpipe analysis.
37225         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37226
37227 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37228
37229         * manual/syslog.texi (syslog; vsyslog, closelog):
37230         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37231         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37232
37233         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37234         DSOCAPS to match condition on defining it.
37235
37236 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37237
37238         * sysdeps/unix/sysv/linux/kernel-features.h
37239         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37241         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37242         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37244         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37245         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37247         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37248         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37249
37250         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37251         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37252
37253         * sysdeps/unix/sysv/linux/kernel-features.h
37254         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37255         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37256         unconditional.
37257         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37258         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37259         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37260         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37261         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37262         Make code unconditional.
37263         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37264         (__mmap64) [!__NR_mmap2]: Likewise.
37265         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37266         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37267         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37268         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37269         [__NR_mmap2]: Make code unconditional.
37270         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37271         (__mmap64) [!__NR_mmap2]: Likewise.
37272
37273 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37274
37275         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37276
37277 2012-08-18  Andreas Jaeger  <aj@suse.de>
37278
37279         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37280
37281 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37282
37283         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37284         * include/unistd.h (__have_sock_cloexec): Likewise.
37285         (__have_pipe2): Likewise.
37286         (__have_dup3): Likewise.
37287
37288 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37289
37290         [BZ #9685]
37291         * include/unistd.h (__have_pipe2): Change define into an extern int.
37292         (__have_dup3): Likewise.
37293         * socket/have_sock_cloexec.c: Include fcntl.h.
37294         (__have_pipe2): New variable.
37295         (__have_dup3): Likewise.
37296
37297 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37298
37299         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37300
37301 2012-08-17  Marek Polacek  <polacek@redhat.com>
37302
37303         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37304         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37305
37306 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37307
37308         * configure.in: Add AC_SUBST for sysheaders.
37309         * configure: Regenerated.
37310         * config.make.in (sysheaders): New substituted variable.
37311
37312         * sysdeps/unix/mkfifo.c: Moved ...
37313         * sysdeps/posix/mkfifo.c: ... here.
37314         * sysdeps/unix/mkfifoat.c: Moved ...
37315         * sysdeps/posix/mkfifoat.c: ... here.
37316
37317         * sysdeps/unix/utime.c: Moved ...
37318         * sysdeps/posix/utime.c: ... here.
37319
37320         * sysdeps/unix/time.c: Moved ...
37321         * sysdeps/posix/time.c: ... here.
37322         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37323         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37324
37325         * sysdeps/unix/nice.c: Moved ...
37326         * sysdeps/posix/nice.c: ... here.
37327
37328         * sysdeps/unix/alarm.c: Moved ...
37329         * sysdeps/posix/alarm.c: ... here.
37330
37331         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37332
37333 2012-08-17  Jeff Law <law@redhat.com>
37334
37335         * intl/Makefile (codeset_mo): New variable.
37336         ($(codeset_mo)): New target.
37337         (tst-codeset.out): Depend on that.  Remove explicit rule.
37338         (tst-gettext3.out, tst-gettext5.out): Likewise.
37339         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37340         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37341         * intl/tst-codeset.sh: Remove.
37342         * intl/tst-gettext3.sh: Likewise.
37343         * intl/tst-gettext5.sh: Likewise.
37344
37345 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37346
37347         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37348         * sysdeps/unix/syscalls.list: ... here.
37349
37350         * sysdeps/posix/getaddrinfo.c
37351         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37352         (gaiconf_init, gaiconf_reload): Use them.
37353         [!_STATBUF_ST_NSEC]
37354         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37355         Define using time_t rather than struct timespec.
37356
37357         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37358         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37359         Macros removed.
37360         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37361         [!NO_THREADS].
37362         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37363         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37364         Likewise.
37365
37366         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37367         __libc_cleanup_push argument.
37368
37369         * bits/param.h: New file.
37370         * misc/sys/param.h: New file.
37371         * include/sys/param.h: New file.
37372         * misc/Makefile (headers): Add bits/param.h.
37373         * sysdeps/generic/sys/param.h: File removed.
37374         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37375         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37376         * sysdeps/mach/hurd/bits/param.h: New file.
37377         * sysdeps/mach/hurd/sys/param.h: File removed.
37378
37379         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37380         last change.
37381
37382         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37383         [_IO_MTSAFE_IO].
37384         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37385         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37386         New macros.
37387
37388         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37389         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37390         rather than -D_IO_MTSAFE_IO conditionally.
37391         * stdio-common/Makefile (CPPFLAGS): Likewise.
37392         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37393         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37394         Use $(libio-mtsafe).
37395         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37396         of -D_IO_MTSAFE_IO.
37397         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37398         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37399         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37400         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37401         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37402         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37403         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37404         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37405         (CFLAGS-fread_u_chk.c): Likewise.
37406         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37407         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37408         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37409         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37410         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37411         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37412         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37413         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37414         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37415
37416         * libio/Makefile: Test [$(libc-reentrant) = yes]
37417         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37418
37419         * Makeconfig
37420         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37421         * sysdeps/pthread/configure: File removed.
37422         * sysdeps/pthread/Makeconfig: New file.
37423         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37424         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37425
37426 2012-08-16  Gary Benson  <gbenson@redhat.com>
37427
37428         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37429         unmapping the first object in a namespace.
37430
37431 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37432
37433         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37434         (__internal_setnetgrent): ... this.  Add internal_function to
37435         definition.  Add libc_hidden_def.
37436         (setnetgrent): Update caller.
37437         (internal_endnetgrent): Renamed to ...
37438         (__internal_endnetgrent): ... this.  Add internal_function to
37439         definition.  Add libc_hidden_def.
37440         (endnetgrent): Update caller.
37441         (internal_getnetgrent_r): Renamed to ...
37442         (__internal_getnetgrent_r): ... this.  Add internal_function to
37443         definition.  Add libc_hidden_def.
37444         (__getnetgrent_r): Update caller.
37445         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37446
37447 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37448
37449         * stdlib/longlong.h: Update from GCC.
37450
37451 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37452
37453         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37454         on _QL, which is set by umul_ppmm but never used.
37455         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37456         variables, which are set by GMP macros but never used.
37457         * stdio-common/_itowa.c (_itowa): Likewise.
37458         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37459         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37460
37461 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37462
37463         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37464         struct La_sh_regs is not constant.
37465         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37466         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37467         and struct La_sparc64_regs are not constant.
37468
37469 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37470
37471         * sysdeps/unix/sysv/linux/kernel-features.h
37472         (__ASSUME_POSIX_TIMERS): Remove.
37473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37474         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37475         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37476         Make code unconditional.
37477         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37478         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37479         Make code unconditional.
37480         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37481         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37482         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37483         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37484         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37485         Make code unconditional.
37486         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37487         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37488         (__libc_missing_posix_timers): Remove.
37489
37490 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37491
37492         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37493         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37494
37495         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37496
37497         * elf/dl-sym.c: Include <stdlib.h>.
37498
37499         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37500         constants, which avoids warnings in 32-bit builds.
37501
37502         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37503         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37504
37505         * misc/lseek.c: File moved to ...
37506         * io/lseek.c: ... here.
37507
37508         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37509
37510         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37511         shifting LEN more than 31 bits at once.
37512
37513 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37514
37515         [BZ #14195]
37516         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37517         segmentation fault for a case of two empty input strings.
37518         * string/test-strncasecmp.c (check1): Renamed to...
37519         (bz12205): ...this.
37520         (bz14195): Add new testcase for two empty input strings and N > 0.
37521         (test_main): Call new testcase, adapt for renamed function.
37522
37523 2012-08-15  Andreas Jaeger  <aj@suse.de>
37524
37525         [BZ #14090]
37526         * crypt/md5test2.c: New test, based on test supplied by Serge
37527         Belyshev <belyshev@depni.sinp.msu.ru>.
37528         * crypt/Makefile (xtests): Add md5test-giant..
37529         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37530
37531 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37532
37533         [BZ #14090]
37534         * crypt/md5.c (md5_process_block): Don't assume the buffer
37535         length is less than 2**32.
37536         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37537         length is less than 2**64.
37538
37539 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37540
37541         * string/str-two-way.h: Include <sys/param.h>.
37542         (MAX): Macro removed.
37543
37544         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37545         Move #define and #undef of memmove to just before and after
37546         including <string.h>.
37547
37548         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37549         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37550         and after including <string.h>.  Move declarations of
37551         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37552         to before #include "string/memmove.c".
37553
37554         * include/dirent.h: Declare __getdirentries.
37555
37556         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37557         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37558
37559 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37560
37561         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37562         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37563         * sysdeps/i386/configure: Regenerated.
37564         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37565         STABS_CURRENT_FILE, and STABS_FUN.
37566         (END): Remove call to STABS_FUN_END.
37567         (STABS_CURRENT_FILE1): Delete.
37568         (STABS_CURRENT_FILE): Likewise.
37569         (STABS_FUN): Likewise.
37570         (STABS_FUN_END): Likewise.
37571         (STABS_FUN2): Likewise.
37572         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37573         * sysdeps/x86_64/configure: Regenerated.
37574
37575 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37576
37577         * elf/dl-open.c: Include <atomic.h>.
37578         * elf/dl-lookup.c: Likewise.
37579
37580 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37581
37582         * sysdeps/unix/sysv/linux/kernel-features.h
37583         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37584         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37585         unconditionally.
37586         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37587         unconditionally.
37588         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37589         condition on __ASSUME_CLONE_THREAD_FLAGS.
37590
37591 2012-08-14  Andreas Jaeger  <aj@suse.de>
37592
37593         * sysdeps/i386/fpu/libm-test-ulps: Update.
37594
37595 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37596
37597         * include/atomic.h (atomic_exchange_and_add): Split into ...
37598         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37599         New atomic macros.
37600
37601 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37602
37603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37604
37605 2012-08-13  Jeff Law <law@redhat.com>
37606
37607         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37608         null byte in the output string.
37609
37610 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37611
37612         * sysdeps/unix/sysv/linux/kernel-features.h
37613         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37614         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37615         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37617         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37618         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37619         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37620
37621 2012-08-09  Jeff Law <law@redhat.com>
37622
37623         [BZ #13939]
37624         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37625         When avoid_arena is set, don't retry in the that arena.  Pick the
37626         next one, whatever it might be.
37627         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37628         (arena_lock): Pass in new parameter to arena_get2.
37629         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37630         arena_get2.
37631         (__libc_malloc): Unify retrying after main arena failure with
37632         __libc_memalign version.
37633         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37634
37635 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37636
37637         [BZ #14166]
37638         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37639         to __redirect_strstr.
37640         (__strstr_sse42): Use typeof __redirect_strstr.
37641         (__strstr_ia32): Likewise.
37642         (__libc_strstr): New prototype.
37643         (strstr): Renamed to ...
37644         (__libc_strstr): This.
37645         (strstr): New strong alias of __libc_strstr.
37646         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37647         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37648         __redirect_time.
37649         Include <time.h>.
37650         (__libc_time): New prototype.
37651         (time_ifunc): Replace time with __libc_time.
37652         (time): New strong alias and hidden definition of __libc_time.
37653         (__GI_time): Remove strong alias.
37654         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37655         Include <stddef.h>.
37656         (memmove): Redefined to __redirect_memmove.
37657         (__memmove_sse2): Use typeof __redirect_memmove.
37658         (__memmove_ssse3): Likewise.
37659         (__memmove_ssse3_back): Likewise.
37660         (__libc_memmove): New prototype.
37661         (memmove): Renamed to ...
37662         (__libc_memmove): This.
37663         (memmove): New strong alias of __libc_memmove.
37664
37665 2012-08-08  Mark Salter  <msalter@redhat.com>
37666
37667         * elf/elf.h
37668         (R_MN10300_TLS_GD): Define.
37669         (R_MN10300_TLS_LD): Likewise.
37670         (R_MN10300_TLS_LDO): Likewise.
37671         (R_MN10300_TLS_GOTIE): Likewise.
37672         (R_MN10300_TLS_IE): Likewise.
37673         (R_MN10300_TLS_LE): Likewise.
37674         (R_MN10300_TLS_DTPMOD): Likewise.
37675         (R_MN10300_TLS_DTPOFF): Likewise.
37676         (R_MN10300_TLS_TPOFF): Likewise.
37677         (R_MN10300_SYM_DIFF): Likewise.
37678         (R_MN10300_ALIGN): Likewise.
37679         (R_MN10300_NUM): Update.
37680
37681 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37682
37683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37684         Remove.
37685
37686 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37687
37688         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37689
37690         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37691         sysdeps/unix -> sysdeps/posix move.
37692         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37693
37694 2012-08-07      Allan McRae     <allan@archlinux.org>
37695
37696         [BZ #14303]
37697         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37698         (SUNOS_CPP): Likewise.
37699         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37700         not found.
37701         (open_input): Call CPP using execvp.
37702
37703 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37704
37705         * sysdeps/unix/sysv/linux/kernel-features.h
37706         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37707         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37708         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37709         (__ASSUME_WAITID_SYSCALL): Likewise.
37710         * sysdeps/unix/sysv/linux/dl-execstack.c
37711         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37712         code unconditional.
37713         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37714         conditional code.
37715         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37716         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37717         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37718         code.
37719         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37720         unconditional.
37721         [__ASSUME_WAITID_SYSCALL]: Likewise.
37722         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37723
37724 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37725
37726         * sysdeps/unix/closedir.c: Renamed to ...
37727         * sysdeps/posix/closedir.c: ... here.
37728         * sysdeps/unix/dirfd.c: Renamed to ...
37729         * sysdeps/posix/dirfd.c: ... here.
37730         * sysdeps/unix/dirstream.h: Renamed to ...
37731         * sysdeps/posix/dirstream.h: ... here.
37732         * sysdeps/unix/fdopendir.c: Renamed to ...
37733         * sysdeps/posix/fdopendir.c: ... here.
37734         * sysdeps/unix/opendir.c: Renamed to ...
37735         * sysdeps/posix/opendir.c: ... here.
37736         * sysdeps/unix/readdir.c: Renamed to ...
37737         * sysdeps/posix/readdir.c: ... here.
37738         * sysdeps/unix/readdir_r.c: Renamed to ...
37739         * sysdeps/posix/readdir_r.c: ... here.
37740         * sysdeps/unix/rewinddir.c: Renamed to ...
37741         * sysdeps/posix/rewinddir.c: ... here.
37742         * sysdeps/unix/seekdir.c: Renamed to ...
37743         * sysdeps/posix/seekdir.c: ... here.
37744         * sysdeps/unix/telldir.c: Renamed to ...
37745         * sysdeps/posix/telldir.c: ... here.
37746         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37747         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37748         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37749         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37750
37751         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37752         * bits/fcntl.h: ... here.
37753
37754         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37755         not 0.
37756         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37757         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37758         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37759         (struct flock): Move l_start, l_len to the beginning.
37760         Use __pid_t for l_pid.
37761         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37762         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37763         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37764         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37765         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37766         [__USE_LARGEFILE64] (struct flock64): New type.
37767         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37768
37769         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37770         * bits/dirent.h: ... here.
37771
37772         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37773         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37774
37775 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37776
37777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37778         Change from 2.6.0 to 2.6.16.
37779         * sysdeps/unix/sysv/linux/configure: Regenerated.
37780         * sysdeps/unix/sysv/linux/kernel-features.h
37781         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37782         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37783         version.
37784         (__ASSUME_UTIMES): Likewise.
37785         (__ASSUME_CLONE_STOPPED): Remove.
37786         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37787         architectures, not kernel version.
37788         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37789         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37790         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37791         (__ASSUME_WAITID_SYSCALL): Likewise.
37792         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37793         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37794         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37795         refer to older versions.
37796
37797 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37798
37799         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37800         Define alphasort64 as an alias.
37801         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37802         Define versionsort64 as an alias.
37803         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37804         Define scandir64 as an alias.
37805         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37806         Define scandirat64 as an alias.
37807         * dirent/alphasort64.c (alphasort64):
37808         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37809         * dirent/versionsort64.c: Likewise.
37810         * dirent/scandir64.c: Likewise.
37811         * dirent/scandirat64.c: Likewise.
37812         * sysdeps/wordsize-64/alphasort.c: File removed.
37813         * sysdeps/wordsize-64/alphasort64.c: File removed.
37814         * sysdeps/wordsize-64/scandir.c: File removed.
37815         * sysdeps/wordsize-64/scandir64.c: File removed.
37816         * sysdeps/wordsize-64/scandirat.c: File removed.
37817         * sysdeps/wordsize-64/scandirat64.c: File removed.
37818         * sysdeps/wordsize-64/versionsort.c: File removed.
37819         * sysdeps/wordsize-64/versionsort64.c: File removed.
37820         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37821         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37822         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37823         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37824         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37825         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37826         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37827         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37828
37829         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37831         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37833         [defined __arch64__ || defined __sparcv9]
37834         (__INO_T_MATCHES_INO64_T): New macro.
37835         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37836         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37837         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37838         * sysdeps/unix/sysv/linux/bits/dirent.h
37839         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37840         (_DIRENT_MATCHES_DIRENT64): New macro.
37841
37842         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37843         Define lockf64 as an alias.
37844         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37845         Define fseeko64 as an alias.
37846         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37847         Define ftello64 as an alias.
37848         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37849         Define _IO_fgetpos64 and fgetpos64 as aliases.
37850         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37851         Define _IO_fsetpos64 and fsetpos64 as aliases.
37852         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37853         Conditionalize body on this.
37854         * libio/fseeko64.c: Likewise.
37855         * libio/ftello64.c: Likewise.
37856         * libio/iofgetpos64.c: Likewise.
37857         * libio/iofsetpos64.c: Likewise.
37858         * sysdeps/wordsize-64/lockf.c: File removed.
37859         * sysdeps/wordsize-64/lockf64.c: File removed.
37860         * sysdeps/wordsize-64/fseeko.c: File removed.
37861         * sysdeps/wordsize-64/fseeko64.c: File removed.
37862         * sysdeps/wordsize-64/ftello.c: File removed.
37863         * sysdeps/wordsize-64/ftello64.c: File removed.
37864         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37865         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37866         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37867         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37868         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37869         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37870         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37871         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37872         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37873         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37874         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37875         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37876         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37877         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37878
37879         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37881         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37882         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37883         [defined __arch64__ || defined __sparcv9]
37884         (__OFF_T_MATCHES_OFF64_T): New macro.
37885         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37886         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37888         (__OFF_T_MATCHES_OFF64_T): New macro.
37889
37890 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37891
37892         * stdlib/secure-getenv.c (__secure_getenv): Replace
37893         GLIBC_2_16 with GLIBC_2_17.
37894
37895 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37896
37897         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37898         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37899
37900 2012-08-03  David S. Miller  <davem@davemloft.net>
37901
37902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37903
37904 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37905
37906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37907         Remove.
37908         (__ASSUME_CORRECT_SI_PID): Likewise.
37909         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37910         (__ASSUME_TMPFS_NAME): Likewise.
37911         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37912         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37913         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37914         (HAVE_AUX_SECURE): Make definition unconditional.
37915         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37916         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37917
37918 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37919
37920         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37921         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37922         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37923         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37924         __eloop_threshold instead of SYMLOOP_MAX.
37925
37926         * sysdeps/generic/eloop-threshold.h: New file.
37927         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37928         of MAXSYMLINKS.
37929         * elf/chroot_canon.c (chroot_canon): Likewise.
37930
37931 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37932
37933         [BZ #13717]
37934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37935         Change to 2.6.0 everywhere.
37936         * sysdeps/unix/sysv/linux/configure: Regenerated.
37937         * sysdeps/unix/sysv/linux/kernel-features.h
37938         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37939         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37940         kernel versions.
37941         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37942         (__ASSUME_FUTEX_REQUEUE): Remove.
37943         (__ASSUME_STATFS64): Define unconditionally.
37944         (__ASSUME_AT_SECURE): Likewise.
37945         (__ASSUME_CORRECT_SI_PID): Likewise.
37946         (__ASSUME_TGKILL): Define without depending on kernel version for
37947         i386.
37948         (__ASSUME_UTIMES): Likewise.
37949         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37950         kernel version.
37951         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37952         (__ASSUME_TMPFS_NAME): Likewise.
37953         * README: Update reference to Linux kernel versions.
37954
37955 2012-08-02  Marek Polacek  <polacek@redhat.com>
37956
37957         [BZ# 14150]
37958         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37959         libc_cv_asm_type_prefix with %.
37960         * configure: Regenerated.
37961         * include/libc-symbols.h: Remove comment about
37962         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37963         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37964         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37965         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37966         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37967         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37968         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37969         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37970         * elf/tst-unique2mod1.c: Likewise.
37971         * elf/tst-unique1mod2.c: Likewise.
37972         * elf/tst-unique1mod1.c: Likewise.
37973         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37974         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37975         Replace ASM_TYPE_DIRECTIVE with .type.
37976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37977         * sysdeps/i386/sysdep.h: Likewise.
37978         * sysdeps/x86_64/sysdep.h: Likewise.
37979         * sysdeps/sh/sysdep.h: Likewise.
37980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37981         Do not define ASM_TYPE_DIRECTIVE.
37982         * sysdeps/powerpc/sysdep.h: Likewise.
37983         * sysdeps/powerpc/powerpc32/sysdep.h:
37984         Replace ASM_TYPE_DIRECTIVE with .type.
37985         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37986         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37987         * sysdeps/i386/fpu/e_powf.S: Likewise.
37988         * sysdeps/i386/fpu/e_expl.S: Likewise.
37989         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37990         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37991         * sysdeps/i386/fpu/e_pow.S: Likewise.
37992         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37993         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37994         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37995         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37996         * sysdeps/i386/fpu/e_log2.S: Likewise.
37997         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37998         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37999         * sysdeps/i386/fpu/e_powl.S: Likewise.
38000         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38001         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38002         * sysdeps/i386/fpu/e_logl.S: Likewise.
38003         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38004         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38005         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38006         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38007         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38008         * sysdeps/i386/fpu/e_log.S: Likewise.
38009         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38010         * sysdeps/i386/fpu/e_logf.S: Likewise.
38011         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38012         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38013         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38014         * sysdeps/i386/fpu/e_log10.S: Likewise.
38015         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38016         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38017         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38018         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38019         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38021         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38022         * sysdeps/i386/i686/strtok.S: Likewise.
38023         * sysdeps/i386/i386-mcount.S: Likewise.
38024         * sysdeps/i386/strtok.S: Likewise.
38025         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38026         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38027         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38028         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38029         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38030         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38031         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38032         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38033         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38034         * sysdeps/x86_64/_mcount.S: Likewise.
38035         * sysdeps/x86_64/strtok.S: Likewise.
38036         * sysdeps/sh/_mcount.S: Likewise.
38037
38038 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38039
38040         * libio/iofopen.c: Include <fcntl.h>.
38041         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38042         (_IO_fopen64, fopen64): Define as aliases.
38043         * libio/iofopen64.c: Include <fcntl.h>.
38044         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38045         Conditionalize body on this.
38046         * sysdeps/wordsize-64/iofopen.c: File removed.
38047         * sysdeps/wordsize-64/iofopen64.c: File removed.
38048
38049 2012-08-01  Marek Polacek  <polacek@redhat.com>
38050
38051         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38052         Use dlfcn directly instead of a variable.
38053         (binfmt-subdir): Do not define.
38054         (dlfcn): Likewise.
38055
38056 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38057
38058         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38059         Remove all definitions.
38060         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38061         <kernel-features.h>.
38062         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38063         (miss_F_GETOWN_EX): Remove all definitions.
38064         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38065         macro definition.
38066         [!__ASSUME_FCNTL64]: Remove conditional code.
38067         [__ASSUME_FCNTL64]: Make code unconditional.
38068         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38069         <kernel-features.h>.
38070         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38071         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38072         (lockf64) [__NR_fcntl64]: Make code unconditional.
38073         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38074
38075         * sysdeps/unix/sysv/linux/kernel-features.h
38076         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38077         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38078         Make code unconditional.
38079         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38080         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38082         [__NR_vfork]: Make code unconditional.
38083         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38084         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38086         [__NR_vfork]: Make code unconditional.
38087         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38088         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38089
38090 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38091
38092         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38093         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38094
38095         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38096         Define mkstemp64 as an alias.
38097         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38098         Define mkstemps64 as an alias.
38099         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38100         Define mkostemp64 as an alias.
38101         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38102         Define mkostemps64 as an alias.
38103         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38104         Conditionalize body on this.
38105         * misc/mkostemp64.c: Likewise.
38106         * misc/mkostemps64.c: Likewise.
38107         * misc/mkstemps64.c: Likewise.
38108         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38109         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38110         * sysdeps/wordsize-64/mkostemp.c: File removed.
38111         * sysdeps/wordsize-64/mkstemp.c: File removed.
38112         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38113         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38114         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38115         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38116
38117         [BZ #14138]
38118         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38119         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38120         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38121         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38122
38123         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38124         compat_symbol macros from <shlib-compat.h> rather than the underlying
38125         default_symbol_version and symbol_version macros, so that DEFAULT
38126         lines in shlib-versions are respected.
38127         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38128
38129 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38130
38131         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38132         Declare with warn_unused_result.
38133         (setgid, setregid, setegid, setresgid): Likewise.
38134         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38135         Likewise.
38136         * WUR-REPORT: Remove set*id functions.
38137
38138 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38139
38140         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38141
38142 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38143
38144         [BZ #10191]
38145         * include/sys/socket.h (__libc_accept, __libc_accept4):
38146         Add attribute_hidden.
38147         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38148
38149         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38150         use of PTR_MANGLE.
38151         * inet/getnetgrent_r.c (setup): Likewise.
38152
38153         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38154
38155 2012-07-31  David S. Miller  <davem@davemloft.net>
38156
38157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38158
38159 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38160
38161         [BZ #13629]
38162         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38163         value between 1.0 and 2.0 and smaller part has absolute value less
38164         than 1.0.
38165         * math/s_clog10.c (__clog10): Likewise.
38166         * math/s_clog10f.c (__clog10f): Likewise.
38167         * math/s_clog10l.c (__clog10l): Likewise.
38168         * math/s_clogf.c (__clogf): Likewise.
38169         * math/s_clogl.c (__clogl): Likewise.
38170         * math/libm-test.inc (clog_test): Add more tests.
38171         (clog10_test): Likewise.
38172         * sysdeps/i386/fpu/libm-test-ulps: Update.
38173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38174
38175 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38176
38177         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38178         Exit with zero in case no suitable GID is found, and write a
38179         message to standard error.
38180
38181 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38182
38183         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38184         rather than to 1.
38185         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38186         (MAXPATHLEN): Removed.
38187         (NOGROUP, NODEV): New macros.
38188         (setbit, clrbit, isset, isclr): New macros.
38189         (howmany, roundup, powerof2): New macros.
38190         (DEV_BSIZE): New macro.
38191
38192         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38193         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38194
38195         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38196         definition on [!__NO_LONG_DOUBLE_MATH].
38197
38198         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38199         PTR_MANGLE and PTR_DEMANGLE.
38200
38201         * socket/accept4.c (accept4): Rename to __libc_accept4.
38202         Define accept4 as a weak alias.
38203
38204         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38205         on [_DIRENT_HAVE_D_TYPE].
38206         * io/ftw.c (ftw_dir): Likewise.
38207
38208         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38209
38210         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38211
38212         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38213         Use the BSD numbers rather than the arbitrary ones we had.
38214         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38215         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38216         (SIGXCPU, SIGXFSZ): New macros.
38217         (_NSIG): Now 32.
38218
38219         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38220         initializer on [_LIBC_REENTRANT].
38221
38222         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38223         definitions inside [_POSIX_MAPPED_FILES].
38224
38225         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38226
38227         * dirent/opendir.c: Include <fcntl.h>.
38228
38229         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38230         (__libc_getspecific): Likewise.
38231         (__libc_key_create): Likewise.
38232
38233         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38234         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38235         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38236         (tmpfile64): Define as alias.
38237         * sysdeps/wordsize-64/tmpfile.c: File removed.
38238         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38239         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38241
38242         * stdio-common/vfscanf.c: Include <stdbool.h>.
38243         * nss/makedb.c: Likewise.
38244         * stdio-common/_i18n_number.h: Likewise.
38245         * argp/argp-help.c: Likewise.
38246         * posix/wordexp.c: Likewise.
38247         * sysdeps/posix/spawni.c: Likewise.
38248         * nss/nss_files/files-initgroups.c: Likewise.
38249         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38250         * nss/nss_files/files-initgroups.c: Likewise.
38251         * nss/nss_db/db-netgrp.c: Likewise.
38252         * nss/nss_db/db-initgroups.c: Likewise.
38253         * io/fchmodat.c: Include <sys/stat.h>.
38254
38255         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38256         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38257
38258         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38259         [HAVE_MMAP].
38260
38261         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38262         Add multiple inclusion protection.
38263
38264 2012-07-27  David S. Miller  <davem@davemloft.net>
38265
38266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38267
38268 2012-07-27  Gary Benson  <gbenson@redhat.com>
38269
38270         [BZ #14298]
38271         * elf/rtld.c: Include <stap-probe.h>.
38272         (dl_main): Added static probes "init_start" and "init_complete".
38273         * elf/dl-load.c: Include <stap-probe.h>.
38274         (lose): Take new parameter "nsid".
38275         Added static probe "map_failed".
38276         (_dl_map_object_from_fd): Pass namespace id to lose.
38277         Added static probe "map_start".
38278         (open_verify): Pass namespace id to lose.
38279         * elf/dl-open.c: Include <stap-probe.h>.
38280         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38281         and "reloc_complete".
38282         * elf/dl-close.c: Include <stap-probe.h>.
38283         (_dl_close_worker): Added static probes "unmap_start" and
38284         "unmap_complete".
38285         * elf/rtld-debugger-interface.txt: New file documenting the above.
38286
38287 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38288
38289         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38290         rather than a string variable.
38291         * sunrpc/rpc_main.c (h_output): Likewise.
38292         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38293
38294 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38295
38296         * inet/check_native.c: New file.
38297
38298 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38299
38300         [BZ #13629]
38301         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38302         if larger part has absolute value 1.0.
38303         * math/s_clog10.c (__clog10): Likewise.
38304         * math/s_clog10f.c (__clog10f): Likewise.
38305         * math/s_clog10l.c (__clog10l): Likewise.
38306         * math/s_clogf.c (__clogf): Likewise.
38307         * math/s_clogl.c (__clogl): Likewise.
38308         * math/libm-test.inc (clog_test): Add more tests.
38309         (clog10_test): Likewise.
38310         * sysdeps/i386/fpu/libm-test-ulps: Update.
38311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38312
38313         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38314         (pltexit): Likewise.
38315         (La_regs): Likewise.
38316         (La_retval): Likewise.
38317         (int_retval): Likewise.
38318         Update #error for removed macros to refer only to definitions in
38319         tst-audit.h.
38320         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38321         macro.
38322         (pltexit): Likewise.
38323         (La_regs): Likewise.
38324         (La_retval): Likewise.
38325         (int_retval): Likewise.
38326         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38327         macro.
38328         (pltexit): Likewise.
38329         (La_regs): Likewise.
38330         (La_retval): Likewise.
38331         (int_retval): Likewise.
38332         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38333         macro.
38334         (pltexit): Likewise.
38335         (La_regs): Likewise.
38336         (La_retval): Likewise.
38337         (int_retval): Likewise.
38338         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38339         macro.
38340         (pltexit): Likewise.
38341         (La_regs): Likewise.
38342         (La_retval): Likewise.
38343         (int_retval): Likewise.
38344         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38345         macro.
38346         (pltexit): Likewise.
38347         (La_regs): Likewise.
38348         (La_retval): Likewise.
38349         (int_retval): Likewise.
38350         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38351         macro.
38352         (pltexit): Likewise.
38353         (La_regs): Likewise.
38354         (La_retval): Likewise.
38355         (int_retval): Likewise.
38356         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38357         macro definitions in tst-audit.h.
38358         * sysdeps/i386/tst-audit.h: New file.
38359         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38360         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38361         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38362         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38363         * sysdeps/sh/tst-audit.h: Likewise.
38364         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38365         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38366         * sysdeps/x86_64/tst-audit.h: Likewise.
38367
38368 2012-07-26  Andreas Jaeger  <aj@suse.de>
38369
38370         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38371         ptrace.
38372
38373         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38374         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38375         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38376         PTRACE_O_MASK.
38377         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38378         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38379         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38380
38381         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38382         value.
38383
38384         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38385         _sigsys.
38386         (si_call_addr, si_syscall, si_arch): Define new macro.
38387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38388         _sigsys.
38389         (si_call_addr, si_syscall, si_arch): Define new marcro.
38390         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38391         _sigsys.
38392         (si_call_addr, si_syscall, si_arch): Define new macro.
38393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38394         _sigsys.
38395         (si_call_addr, si_syscall, si_arch): Define new macro.
38396
38397 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38398
38399         [BZ #13717]
38400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38401         Change to 2.4.21 where previously 2.4.1.
38402         * sysdeps/unix/sysv/linux/configure: Regenerated.
38403         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38404         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38405         Linux kernel version.
38406         (__ASSUME_STD_AUXV): Remove.
38407         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38408         kernel version.
38409         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38410         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38411         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38412         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38413         (__ASSUME_NETLINK_SUPPORT): Likewise.
38414         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38415         (__no_netlink_support): Remove conditional definition.
38416         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38417         Remove.
38418         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38419         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38420         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38421         (if_nameindex_ioctl): Remove.
38422         (if_nameindex_netlink): Do not handle __no_netlink_support.
38423         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38424         code.
38425         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38426         Remove conditional code.
38427         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38428         code.
38429         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38430         unconditional.
38431         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38432         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38433         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38434         Remove.
38435         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38436         [!__ASSUME_STD_AUXV]: Remove conditional code.
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38438         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38439         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38441         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38442         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38443         code.
38444         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38446         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38447         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38448         conditional code.
38449         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38451         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38452         code.
38453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38454         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38455         conditional code.
38456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38457         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38458         code unconditional.
38459         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38460         conditional code.
38461         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38462         unconditional.
38463         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38464         conditional code.
38465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38466         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38467         unconditional.
38468         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38469         conditional code.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38471         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38472         code unconditional.
38473         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38474         conditional code.
38475         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38476         unconditional.
38477         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38478         conditional code.
38479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38480         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38481         code unconditional.
38482         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38483         conditional code.
38484         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38485         unconditional.
38486         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38487         conditional code.
38488
38489 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38490
38491         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38492         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38493         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38494         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38495         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38496         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38497         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38498         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38499         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38500         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38501         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38502         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38503         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38504         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38505         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38506         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38507         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38508         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38509         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38511         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38512         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38513         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38514
38515 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38516
38517         * Versions.def: Add GLIBC_2.17.
38518         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38519         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38520         Introduce __libc_secure_getenv.
38521         * stdlib/Versions (2.17): Add secure_getenv
38522         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38523         * stdlib/secure-getenv.c: Rename __secure_getenv to
38524         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38525         symbol __secure_getenv for GLIBC_2.0.
38526         * stdlib/tst-secure-getenv.c: New.
38527         * stdlib/Makefile (tests): Add testcase.
38528         * manual/startup.texi (Environment Access): Document
38529         secure_getenv.
38530         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38531         __libc_secure_getenv.
38532         * inet/ruserpass.c (ruserpass): Likewise.
38533         * malloc/mtrace.c (mtrace): Likewise.
38534         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38535         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38536         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38537         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38538         HAVE_SECURE_GETENV.
38539         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38540         __secure_getenv to __libc_secure_getenv.
38541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38543         Likewise.
38544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38545         Likewise.
38546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38553
38554 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38555
38556         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38557         (struct La_i86_retval): Likewise.
38558         (struct La_x86_64_regs): Likewise.
38559         (struct La_x86_64_retval): Likewise.
38560         (struct La_x32_regs): Likewise.
38561         (struct La_x32_retval): Likewise.
38562         (struct La_ppc32_regs): Likewise.
38563         (struct La_ppc32_retval): Likewise.
38564         (struct La_ppc64_regs): Likewise.
38565         (struct La_ppc64_retval): Likewise.
38566         (struct La_sh_regs): Likewise.
38567         (struct La_sh_retval): Likewise.
38568         (struct La_s390_32_regs): Likewise.
38569         (struct La_s390_32_retval): Likewise.
38570         (struct La_s390_64_regs): Likewise.
38571         (struct La_s390_64_retval): Likewise.
38572         (struct La_sparc32_regs): Likewise.
38573         (struct La_sparc32_retval): Likewise.
38574         (struct La_sparc64_regs): Likewise.
38575         (struct La_sparc64_retval): Likewise.
38576         (struct audit_ifaces): Remove architecture-specific pltenter and
38577         pltexit members.
38578         * sysdeps/i386/ldsodefs.h: New file.
38579         * sysdeps/powerpc/ldsodefs.h: Likewise.
38580         * sysdeps/s390/ldsodefs.h: Likewise.
38581         * sysdeps/sh/ldsodefs.h: Likewise.
38582         * sysdeps/sparc/ldsodefs.h: Likewise.
38583         * sysdeps/x86_64/ldsodefs.h: Likewise.
38584
38585 2012-07-25  Marek Polacek  <polacek@redhat.com>
38586
38587         [BZ #6808]
38588         * math/libm-test.inc (yn_test): Add another test.
38589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38590         to ERANGE when the result is +-Inf.
38591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38592         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38593         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38594         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38595
38596 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38597
38598         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38599         equal to 0.
38600         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38601         clock_t.
38602         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38603
38604 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38605
38606         * configure.in <sysdeps resolving>: Correct printing
38607         Implies_before.
38608         * configure: Regenerate.
38609
38610 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38611
38612         * math/w_ilogb.c: Include <limits.h>.
38613         * math/w_ilogbl.c: Likewise.
38614
38615 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38616
38617         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38618         va_copy.  Document allowing for unavailable va_copy only as
38619         pre-C99 compatibility.
38620         * manual/string.texi (Copying and Concatenation): Use va_copy
38621         instead of __va_copy in concat example.
38622
38623 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38624
38625         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38626         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38627         it if not null.
38628
38629         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38630         with O_NOLINK passed to __file_name_lookup.
38631
38632         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38633         with O_NOLINK passed to __file_name_lookup.
38634
38635         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38636         negative N or less than NGIDS.
38637
38638         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38639         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38640         enough.  Use memcpy instead of strncpy.
38641
38642 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38643
38644         * elf/Makefile (check-data): Remove.
38645         (localplt.data): New vpath directive.
38646         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38647         instead of $(check-data).
38648         * scripts/data/localplt-generic.data: Move to ...
38649         * sysdeps/generic/localplt.data: ... here.
38650         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38651         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38652         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38654         ... here.
38655         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38657         ... here.
38658         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38660         ... here.
38661         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38663         ... here.
38664         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38666         ... here.
38667         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38669         ... here.
38670
38671 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38672
38673         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38674         PPC32 and PPC64 files.
38675         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38676         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38677
38678 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38679
38680         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38681         __makecontext_ret to ...
38682         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38683         ... here and call exit if uc_link is NULL.  New file.
38684         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38685         __makecontext_ret.S.
38686         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38687         __makecontext_ret to ...
38688         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38689         ... here and call exit if uc_link is NULL.  New file.
38690         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38691         __makecontext_ret.S.
38692
38693 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38694
38695         * elf/elf.h (R_390_IRELATIVE): New definition.
38696         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38697         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38698         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38699         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38700         (elf_machine_lazy_rel): Likewise.
38701         * sysdeps/s390/dl-irel.h: New file.
38702         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38703         * sysdeps/s390/s390-64/memset.S: New asm code.
38704         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38705         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38706         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38707         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38708         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38709         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38710         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38711         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38712         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38713         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38714         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38715         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38716         * sysdeps/s390/s390-32/memset.S: New asm code.
38717         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38718
38719 2012-07-17  Marek Polacek  <polacek@redhat.com>
38720
38721         [BZ #14349]
38722         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38723         * sysdeps/s390/s390-64/configure.in: Likewise.
38724         * sysdeps/sparc/configure.in: Likewise.
38725         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38726         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38727         * sysdeps/i386/configure.in: Likewise.
38728         * sysdeps/x86_64/configure.in: Likewise.
38729         * sysdeps/sh/configure.in: Likewise.
38730         * sysdeps/s390/s390-32/configure: Regenerated.
38731         * sysdeps/s390/s390-64/configure: Likewise.
38732         * sysdeps/x86_64/configure: Likewise.
38733         * sysdeps/sh/configure: Likewise.
38734         * sysdeps/powerpc/powerpc64/configure: Likewise.
38735         * sysdeps/powerpc/powerpc32/configure: Likewise.
38736         * sysdeps/sparc/configure: Likwise.
38737         * sysdeps/i386/configure: Likewise.
38738
38739         * elf/dl-open.c: Comment fixes.
38740
38741 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38742
38743         * Makefile [CXX] (check-data): Remove.
38744         [CXX] (c++-types.data): New vpath directive.
38745         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38746         vpath.  Do not allow for C++ type data being missing.
38747         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38748         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38749         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38750         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38751         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38752         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38753         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38755         ... here.
38756         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38758         ... here.
38759         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38761         ... here.
38762         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38764         ... here.
38765         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38767         ... here.
38768         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38770         ... here.
38771         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38773         ... here.
38774         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38776
38777         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38778         definitions to architecture-specific files.
38779         (TLS_IE): Likewise.
38780         (TLS_LD): Likewise.
38781         (TLS_GD): Likewise.
38782         * sysdeps/i386/tls-macros.h: New file.
38783         * sysdeps/powerpc/tls-macros.h: Likewise.
38784         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38785         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38786         * sysdeps/sh/tls-macros.h: Likewise.
38787         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38788         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38789         * sysdeps/x86_64/tls-macros.h: Likewise.
38790
38791 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38792
38793         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38794         zero value for regular exit case.
38795
38796         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38797         (__start_context): Preserve zero value for regular exit case.
38798
38799 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38800             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38801
38802         * manual/setjmp.texi (setcontext): Clarify normal process
38803         termination when uc_link is the null pointer.
38804         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38805         exit call.
38806
38807 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38808
38809         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38810         preprocessor.  Test for each exception mask separately.
38811
38812 2012-07-16  Andreas Jaeger  <aj@suse.de>
38813
38814         * po/ru.po: Update from translation team.
38815
38816 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38817
38818         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38819         equal to 0.
38820         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38821         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38822         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38823         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38824         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38825
38826 2012-07-13  Andreas Jaeger  <aj@suse.de>
38827
38828         * po/fr.po: Update from translation team.
38829
38830 2012-07-12  Marek Polacek  <polacek@redhat.com>
38831
38832         [BZ #14173]
38833         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38835         loop condition.
38836
38837 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38838
38839         [BZ #13717]
38840         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38841         Change to 2.4.1 where previously 2.4.0.
38842         * sysdeps/unix/sysv/linux/configure: Regenerated.
38843         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38844         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38845         version.
38846         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38847         (__ASSUME_AT_CLKTCK): Remove.
38848         (__ASSUME_AT_PAGESIZE): Likewise.
38849         (__ASSUME_AT_XID): Likewise.
38850         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38851         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38852         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38853         unconditionally.
38854         (HAVE_AUX_PAGESIZE): Likewise.
38855         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38856         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38857         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38858
38859 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38860
38861         [BZ #14307]
38862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38863         the temporary buffer used to invoke __gethostbyname2_r,
38864         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38865         host_data / struct gaih_addrtuple.
38866         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38867         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38868         header file nss/nsswitch.h.
38869         * nss/nsswitch.h (global scope): Add definition of implementation
38870         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38871         resolv/nss_dns/dns-host.c).
38872
38873 2012-07-11  Andreas Jaeger  <aj@suse.de>
38874
38875         * po/fr.po: Update from translation team.
38876
38877         * po/sv.po: Update from translation team
38878         * po/fr.po: Another update from translation team.
38879
38880 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38881
38882         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38883         for subnormals or multiply small sinh result by itself.
38884         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38886
38887 2012-07-11  David S. Miller  <davem@davemloft.net>
38888
38889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38890
38891 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38892
38893         [BZ #14347]
38894         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38895         (INTERNAL_MARK): Shift it here.
38896
38897 2012-07-10  Marek Polacek  <polacek@redhat.com>
38898
38899         [BZ #14151]
38900         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38901         libc_cv_asm_global_directive with .globl.
38902         * configure: Regenerated.
38903         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38904         with .globl.
38905         * sysdeps/i386/configure: Regenerated.
38906         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38907         with .globl.
38908         * sysdeps/x86_64/configure: Regenerated.
38909         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38910         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38911         * elf/tst-unique2mod2.c: Likewise.
38912         * elf/tst-unique2mod1.c: Likewise.
38913         * elf/tst-unique1mod2.c: Likewise.
38914         * elf/tst-unique1mod1.c: Likewise.
38915         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38916         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38917         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38918         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38919         * sysdeps/mach/sysdep.h: Likewise.
38920         * sysdeps/i386/sysdep.h: Likewise.
38921         * sysdeps/i386/i386-mcount.S: Likewise.
38922         * sysdeps/x86_64/_mcount.S: Likewise.
38923         * sysdeps/x86_64/sysdep.h: Likewise.
38924         * sysdeps/sh/_mcount.S: Likewise.
38925         * sysdeps/sh/sysdep.h: Likewise.
38926         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38927         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38928         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38929         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38930         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38931         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38932         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38933         * locale/localeinfo.h: Likewise.
38934         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38935         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38936
38937 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38938
38939         [BZ #14336]
38940         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38941         system".
38942         * manual/message.texi (The Uniforum approach): Likewise.
38943         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38944         (glibc iconv Implementation): Likewise.
38945
38946 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38947
38948         [BZ #14337]
38949         * math/s_clog.c (__clog): Avoid scaling a value down where that
38950         could result in underflow.
38951         * math/s_clog10.c (__clog10): Likewise.
38952         * math/s_clog10f.c (__clog10f): Likewise.
38953         * math/s_clog10l.c (__clog10l): Likewise.
38954         * math/s_clogf.c (__clogf): Likewise.
38955         * math/s_clogl.c (__clogl): Likewise.
38956         * math/libm-test.inc (clog_test): Add more tests.
38957         (clog10_test): Likewise.
38958         * sysdeps/i386/fpu/libm-test-ulps: Update.
38959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38960
38961 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38962
38963         [BZ #14283]
38964         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38965         by 7 not 8 to examine high bit of fractional part.
38966
38967         [BZ #14042]
38968         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38969         for call to __mcount_internal.
38970         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38971         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38972         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38973
38974 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38975
38976         [BZ #14154]
38977         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38978         approximation for values within 0x1p-13f of an odd multiple of
38979         pi/4.
38980         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38981         exception.  Add more tests.
38982         * sysdeps/i386/fpu/libm-test-ulps: Update.
38983
38984         [BZ #6778]
38985         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38986         inputs and return -1 for them.  Do not check for +Inf in case not
38987         reachable for +Inf.
38988         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38989         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38990         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38991         and return -1 for them.  Do not check for +Inf in case not
38992         reachable for +Inf.
38993         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38994         define.
38995         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38996         and return -1 for them.  Do not check for +Inf in case not
38997         reachable for +Inf.
38998         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38999         spurious underflow.
39000         * sysdeps/i386/fpu/libm-test-ulps: Update.
39001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39002
39003 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39004
39005         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39006
39007 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39008
39009         [BZ #14157]
39010         [BZ #14331]
39011         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39012         could result in spurious underflow.  Scale down values above
39013         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39014         * math/s_csqrtf.c (__csqrtf): Likewise.
39015         * math/s_csqrtl.c (__csqrtl): Likewise.
39016         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39017         spurious underflow.
39018         * sysdeps/i386/fpu/libm-test-ulps: Update.
39019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39020
39021 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39022
39023         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39024         xopen-msg.sed.
39025         * catgets/xopen-msg.awk: New file.
39026         * catgets/xopen-msg.sed: Removed.
39027
39028         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39029         po2text.sed.
39030         * intl/po2test.awk: New file.
39031         * intl/po2test.sed: Removed.
39032
39033 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39034
39035         [BZ #14328]
39036         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39037         or multiply small sinh result by itself.
39038         * math/s_ctanf.c (__ctanf): Likewise.
39039         * math/s_ctanh.c (__ctanh): Likewise.
39040         * math/s_ctanhf.c (__ctanhf): Likewise.
39041         * math/s_ctanhl.c (__ctanhl): Likewise.
39042         * math/s_ctanl.c (__ctanl): Likewise.
39043         * math/libm-test.inc (ctan_test_tonearest): New function.
39044         (ctan_test_towardzero): Likewise.
39045         (ctan_test_downward): Likewise.
39046         (ctan_test_upward): Likewise.
39047         (ctanh_test_tonearest): Likewise.
39048         (ctanh_test_towardzero): Likewise.
39049         (ctanh_test_downward): Likewise.
39050         (ctanh_test_upward): Likewise.
39051         (main): Call these new functions.
39052         * sysdeps/i386/fpu/libm-test-ulps: Update.
39053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39054
39055 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39056
39057         * .gitignore: Delete /ports entry.
39058
39059 2012-07-03  Andreas Jaeger  <aj@suse.de>
39060
39061         * po/bg.po: Update from translation team.
39062         * po/cs.po: Likewise.
39063         * po/de.po: Likewise.
39064         * po/hr.po: Likewise.
39065         * po/nl.pl: Likewise.
39066         * po/pl.po: Likewise.
39067         * po/vi.po: Likewise.
39068
39069 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39070
39071         * Makeconfig [!+link] (+link-before-libc): New variable.
39072         [!+link] (+link-after-libc): Likewise.
39073         [!+link] (+link-tests): Likewise.
39074         [!+link] (+link): Define in terms of $(+link-before-libc) and
39075         $(+link-after-libc).
39076         [!+link-static] (+link-static-before-libc): New variable.
39077         [!+link-static] (+link-static-after-libc): Likewise.
39078         [!+link-static] (+link-static-tests): Likewise.
39079         [!+link-static] (+link-static): Define in terms of
39080         $(+link-static-before-libc) and $(+link-static-after-libc).
39081         [build-shared] (link-libc-before-gnulib): New variable.
39082         [build-shared] (link-libc-tests): Likewise.
39083         [build-shared] (link-libc): Define in terms of
39084         $(link-libc-before-gnulib).
39085         [!build-shared] (link-libc-tests): New variable.
39086         (link-libc-static-tests): New variable.
39087         [!gnulib] (gnulib-arch): New variable.
39088         [!gnulib] (gnulib-tests): Likewise.
39089         [!gnulib] (static-gnulib-arch): Likewise.
39090         [!gnulib] (static-gnulib-tests): Likewise.
39091         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39092         Define with "=" instead of ":=".
39093         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39094         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39095         * Rules (binaries-all-notests): New variable.
39096         (binaries-all-tests): Likewise.
39097         (binaries-static-notests): Likewise.
39098         (binaries-static-tests): Likewise.
39099         (binaries-all): Define using $(binaries-all-notests) and
39100         $(binaries-all-tests).
39101         (binaries-static): Define using $(binaries-static-notests) and
39102         $(binaries-static-tests).
39103         (binaries-shared-tests): New variable.
39104         (binaries-shared-notests): Likewise.
39105         (binaries-shared): Remove variable.
39106         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39107         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39108         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39109         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39110         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39111         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39112         * elf/Makefile (sln-modules): New variable.
39113         (extra-objs): Add $(sln-modules:=.o).
39114         (ldconfig-modules): Add static-stubs.
39115         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39116         * elf/static-stubs.c: New file.
39117
39118         [BZ #14283]
39119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39120         by 7 not 8 to examine high bit of fractional part.  Use volatile
39121         variables when splitting into final array of floats if
39122         __FLT_EVAL_METHOD__ != 0.
39123         * math/libm-test.inc (cos_test): Add another test.
39124         (sin_test): Likewise.
39125         * sysdeps/i386/fpu/libm-test-ulps: Update.
39126
39127         [BZ #14273]
39128         * math/libm-test.inc (cosh_test): Add more tests.
39129
39130         * version.h (RELEASE): Set to "development".
39131         (VERSION): Set to "2.16.90".
39132
39133 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39134
39135         * NEWS: Update copyright. Remove last-updated date.
39136         Mention math library bug fixes and timezone data changes.
39137         * README: Mention GNU/Hurd, x32, and HPPA support status.
39138
39139 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39140
39141         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39142
39143 2012-06-27  Andreas Jaeger  <aj@suse.de>
39144
39145         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39146
39147 2012-06-25  Andreas Jaeger  <aj@suse.de>
39148
39149         * sysdeps/s390/fpu/libm-test-ulps: Update.
39150
39151 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39152             Thomas Schwinge  <thomas@codesourcery.com>
39153
39154         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39155         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39157         fanotify_mark.
39158
39159 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39160
39161         * sysdeps/mach/start.c: Remove file.
39162         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39163         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39164         * sysdeps/sh/init-first.c: Likewise.
39165
39166         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39167         registers for frame unwinding purposes, add CFI directives.
39168         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39169         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39170         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39171         Likewise.
39172
39173         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39174         __fortify_fail returning.
39175         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39176
39177         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39178         sysdeps/sh/____longjmp_chk.S.
39179         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39180         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39181         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39182         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39183
39184         * sysdeps/sh/abort-instr.h: New file.
39185         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39186         process in case exit returns.
39187
39188         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39189         initialize the GOT register before use.
39190
39191         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39192         calculation of ARGC > 4.
39193
39194         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39195         meaningful names to some local labels.
39196
39197 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39198             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39199
39200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39201         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39202         (__arch_compare_and_exchange_val_16_acq): Likewise.
39203         (__arch_compare_and_exchange_val_32_acq): Likewise.
39204         (atomic_exchange_and_add): Fix gUSA sequence.
39205         (atomic_add): Likewise.
39206         (atomic_add_negative): Likewise.
39207         (atomic_add_zero): Likewise.
39208         (atomic_bit_test_set): Likewise.
39209
39210 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39211
39212         [BZ #13579]
39213         * include/link.h (struct link_map): Add l_free_initfini.
39214         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39215         l_initfini.
39216         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39217         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39218         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39219         set.
39220
39221 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39222
39223         * configure.in: Use AC_LANG_SOURCE.
39224         * configure: Regenerate.
39225
39226 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39227
39228         * configure.in (libc_cv_localstatedir): New substituted variable.
39229         * configure: Regenerated.
39230         * config.make.in (localstatedir): New variable, substituted from
39231         libc_cv_localstatedir.
39232         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39233         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39234         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39235         * sysdeps/gnu/configure: Regenerated.
39236
39237 2012-06-21  Jeff Law  <law@redhat.com>
39238
39239         [BZ #14277]
39240         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39241         free.  Simplify list management for _LIBC case.
39242
39243 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39244
39245         [BZ #14273]
39246         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39247         Clear sign bit of 64-bit integer value before comparing against
39248         overflow value.
39249
39250         * sysdeps/mach/configure: Regenerated.
39251
39252 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39253
39254         [BZ #14278]
39255         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39256
39257 2012-06-21  Jeff Law  <law@redhat.com>
39258
39259         [BZ #13882]
39260         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39261         uint16_t for elements in the "seen" array to avoid char overflows.
39262         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39263         * elf/dl-open.c (dl_open_worker): Likewise.
39264
39265 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39266
39267         * scripts/list-sources.sh: Scan PORTS for translations.
39268         * po/libc.pot: Regenerated.
39269
39270 2012-06-21  Andreas Jaeger  <aj@suse.de>
39271
39272         [BZ #12194]
39273         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39274         warning.
39275         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39276         * bits/byteswap-16.h (__bswap_16): Likewise.
39277         * bits/byteswap.h (__bswap_constant_16): Likewise.
39278
39279 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39280
39281         [BZ #14117]
39282         * sysdeps/i386/fpu_control.h: Removed.
39283         * sysdeps/x86_64/fpu_control.h: Moved to ...
39284         * sysdeps/x86/fpu_control.h: Here.
39285
39286         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39287         (_FPU_SETCW): Likewise.
39288
39289 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39290
39291         [BZ #14117]
39292         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39293         * sysdeps/x86/fpu/bits/mathinline.h: This.
39294         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39295
39296         [BZ #14050]
39297         [BZ #14117]
39298         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39299         functions if __x86_64__ is defined.
39300
39301 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39302
39303         * string/endian.h: Add !__ASSEMBLER__ condition for including
39304         conversion interfaces.
39305
39306 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39307
39308         [BZ #14241]
39309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39310         of ABS(x) in calculating zero to negative powers other than odd
39311         integers.
39312         * math/libm-test.inc (pow_test): Add more tests.
39313
39314 2012-06-15  Andreas Jaeger  <aj@suse.de>
39315
39316         * manual/contrib.texi (Contributors): Update entry of Liubov
39317         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39318         Machado Filho.
39319
39320 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39321
39322         * string/string.h: Add __wur to GNU version of strerror_r.
39323
39324 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39325
39326         [BZ #14229]
39327         * string/Makefile (tests): Add tst-strtok_r.
39328         * string/tst-strtok_r.c: New file.
39329         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39330         RAX_LP/RDX_LP on SAVE_PTR.
39331
39332 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39333
39334         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39335
39336 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39337
39338         * libm_test.inc (csqrt_test): Allow more spurious underflow
39339         exceptions.
39340         (j0_test): Likewise.
39341         (j1_test): Likewise.
39342         (y0_test): Likewise.
39343         (y1_test): Likewise.
39344
39345 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39346
39347         * po/Makefile (libc.pot): Use UTF-8 charset.
39348
39349 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39350
39351         [BZ #14210]
39352         Suppress sign-conversion warning from FD_SET.
39353         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39354         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39355         not unsigned long int.
39356         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39357
39358 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39359
39360         [BZ #14050]
39361         [BZ #14117]
39362         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39363         __extern_always_inline instead of __extern_inline.
39364         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39365         (__signbit): Likewise.
39366         (__signbitl): Support C++ namespace.
39367         (lrintf): New inline function.
39368         (lrint): Likewise.
39369         (llrintf): Likewise.
39370         (llrint): Likewise.
39371         (fmaxf): Likewise.
39372         (fmax): Likewise.
39373         (fminf): Likewise.
39374         (fmin): Likewise.
39375         (rint): Likewise.
39376         (rintf): Likewise.
39377         (ceil): Likewise.
39378         (ceilf): Likewise.
39379         (floor): Likewise.
39380         (floorf): Likewise.
39381         (nearbyint): Likewise.
39382         (nearbyintf): Likewise.
39383
39384 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39385
39386         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39387         non-default versions.
39388
39389 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39390
39391         [BZ #14218]
39392         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39393
39394 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39395
39396         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39397         (FE_UPWARD, FE_DOWNWARD): Don't define.
39398         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39400
39401         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39402         reading it.
39403         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39404         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39405
39406 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39407
39408         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39411         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39412
39413 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39414
39415         [BZ #14117]
39416         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39417         * sysdeps/i386/fpu/Implies: New file.
39418         * sysdeps/x86_64/fpu/Implies: Likewise.
39419         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39420         * sysdeps/x86/fpu/bits/fenv.h: This.
39421
39422         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39423         __SSE_MATH__.
39424
39425 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39426
39427         [BZ #14134]
39428         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39429         character 0xffff that matches the last element of the
39430         conversion table.
39431
39432 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39433
39434         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39435         fmodl commit.
39436
39437 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39438
39439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39440         values higher than 25.6283.
39441
39442 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39443
39444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39445         subnormal exponent extraction and add some __builtin_expect.
39446         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39447         Fix for subnormal mantissa calculation.
39448
39449 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39450
39451         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39452         cpu2 is -1 and errno is not ENOSYS.
39453
39454 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39455
39456         [BZ #14117]
39457         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39458         * sysdeps/x86/bits/string.h: This.
39459         * sysdeps/x86_64/bits/string.h: Removed.
39460
39461         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39462         if not compiling for x86-64, but compiling for >= i486.
39463
39464         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39465         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39466
39467         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39468         New macro from Linux kernel 3.4.0.
39469         (FP_XSTATE_MAGIC2): Likewise.
39470         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39471         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39472         (struct _fpx_sw_bytes): New struct.
39473         (struct _xsave_hdr): Likewise.
39474         (struct _ymmh_state): Likewise.
39475         (struct _xstate): Likewise.
39476
39477         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39478         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39479         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39480         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39481         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39482         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39483
39484         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39485         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39486         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39487         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39488         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39489         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39490
39491 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39492
39493         [BZ #13743]
39494         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39495         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39496         (sysdep_headers): Include sys/platform/ppc.h.
39497         * sysdeps/powerpc/test-gettimebase.c: Test for
39498         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39499         * manual/Makefile (appendices): Include platform.texi.
39500         * manual/contrib.texi (Contributors): Update @node pointers.
39501         * manual/maint.texi (Maintenance): Likewise.
39502         (Platform): New node.
39503         * manual/platform.texi: New file.  Document the new features.
39504
39505 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39506             Jakub Jelinek  <jakub@redhat.com>
39507
39508         [BZ #14188]
39509         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39510         where __builtin_expect is unavailable.
39511
39512 2012-06-03  David S. Miller  <davem@davemloft.net>
39513
39514         * stdlib/longlong.h: Updated from GCC.
39515
39516 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39517
39518         [BZ #14042]
39519         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39520         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39521         __mcount_internal.
39522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39523         (GLIBC_2.16): Likewise.
39524
39525 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39526
39527         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39528
39529 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39530
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39532         (default-abi): New variable.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39534         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39535         variable.
39536         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39537         Likewise.
39538         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39539         Likewise.
39540         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39541         Likewise.
39542
39543         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39544         definition.  Document in comment.
39545
39546 2012-06-01  David S. Miller  <davem@davemloft.net>
39547
39548         * stdlib/longlong.h: Updated from GCC.
39549
39550 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39551
39552         [BZ #14117]
39553         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39554         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39555         sys/debugreg.h sys/io.h here.
39556         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39557         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39558         sys/io.h.
39559         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39560         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39561         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39562         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39563         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39564         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39565
39566         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39567         Define only if __x86_64__ is defined.
39568
39569 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39570
39571         [BZ #14048]
39572         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39573         Use int64_t for variable i.
39574         * math/libm-test.inc (fmod_test): Add more tests.
39575
39576         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39577         z computation is not scheduled after fetestexcept.
39578         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39579         Use math_force_eval instead of asm to ensure calculation scheduled
39580         before exception test.
39581         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39582         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39583
39584 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39585
39586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39587         computation is not scheduled after fetestexcept.
39588
39589 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39590
39591         [BZ #14117]
39592         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39593         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39594
39595 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39596
39597         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39598         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39599
39600 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39601
39602         [BZ #14117]
39603         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39604         <bits/wordsize.h>.
39605         (__WCHAR_MIN): Support __WORDSIZE == 64.
39606         (__WCHAR_MAX): Likewise.
39607
39608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39609         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39610
39611         [BZ #14183]
39612         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39613         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39614
39615         [BZ #14117]
39616         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39617         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39618
39619         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39620         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39621
39622         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39623         Defined to 1 if __x86_64__ isn't defined.
39624         (_STAT_VER_LINUX_OLD): New.
39625         (st_atime): Remove duplicate.
39626         (st_mtime): Likewise.
39627         (st_ctime): Likewise.
39628
39629 2012-05-31  David S. Miller  <davem@davemloft.net>
39630
39631         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39632         entries.
39633
39634 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39635
39636         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39637         gen-libm-test.pl.
39638
39639         [BZ #14132]
39640         * elf/dl-reloc.c: Include <_itoa.h>.
39641         (_dl_reloc_bad_type): Remove use of INTUSE.
39642         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39643         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39644         * stdio-common/psiginfo.c (psiginfo): Likewise.
39645         * stdio-common/psignal.c (psignal): Likewise.
39646         * string/strsignal.c (strsignal): Likewise.
39647         * include/signal.h (_sys_siglist): Declare hidden proto.
39648         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39649         INTVARDEF with libc_hidden_data_def.
39650         * stdio-common/itoa-udigits.c: Likewise.
39651         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39652         (_itoa_lower_digits_internal): Remove declaration.
39653         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39654         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39655         (_sys_sigabbrev_internal): Remove aliases.
39656         (_sys_siglist): Define hidden alias.
39657
39658 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39659
39660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39661         bits/sysctl.h.
39662
39663 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39664
39665         [BZ #14117]
39666         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39667         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39668
39669         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39670         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39671         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39672         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39673         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39674         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39675
39676         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39678         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39679
39680         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39681         with __addr.
39682         (insw): Likewise.
39683         (insl): Likewise.
39684         (outsb): Likewise.
39685         (outsw): Likewise.
39686         (outsl): Likewise.
39687
39688         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39690         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39691
39692         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39693         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39694         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39695         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39696         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39697         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39698
39699         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39700         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39701
39702         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39703         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39704
39705         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39706         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39707         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39708
39709         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39710         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39711         to ...
39712         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39713
39714         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39715         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39716         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39717
39718         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39719         for x86-64.
39720         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39721
39722 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39723
39724         * math/math.h (M_El): Use two more decimal places.
39725         (M_LOG2El): Likewise.
39726         (M_LOG10El): Likewise.
39727         (M_LN2l): Likewise.
39728         (M_LN10l): Likewise.
39729         (M_PIl): Likewise.
39730         (M_PI_2l): Likewise.
39731         (M_PI_4l): Likewise.
39732         (M_1_PIl): Likewise.
39733         (M_2_PIl): Likewise.
39734         (M_2_SQRTPIl): Likewise.
39735         (M_SQRT2l): Likewise.
39736         (M_SQRT1_2l): Likewise.
39737
39738 2012-05-31  David S. Miller  <davem@davemloft.net>
39739
39740         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39741         values between float registers.
39742         * sysdeps/sparc/sparc64/memset.S: Likewise.
39743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39744
39745 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39746
39747         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39748         -D_FORTIFY_SOURCE=1.
39749         (CPPFLAGS-tst-longjmp_chk.c): Define.
39750         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39751         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39752         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39753         CFLAGS-tst-wchar-h.c.
39754
39755 2012-05-31  Marek Polacek  <polacek@redhat.com>
39756
39757         [BZ #14132]
39758         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39759         __endmntent_internal): Remove declaration.
39760         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39761         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39762         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39763
39764 2012-05-30  David S. Miller  <davem@davemloft.net>
39765
39766         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39767         (___Q_simulate_exceptions): Use real FP ops rather than writing
39768         into the %fsr.
39769         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39770         Likewise.
39771
39772 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39773
39774         [BZ #14117]
39775         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39776         * sysdeps/x86/bits/xtitypes.h: This.
39777
39778         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39779         * sysdeps/x86/bits/wordsize.h: This.
39780
39781         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39782         * sysdeps/x86/bits/huge_vall.h: This.
39783
39784         * sysdeps/i386/bits/select.h: Removed.
39785         * sysdeps/x86_64/bits/select.h: Renamed to ...
39786         * sysdeps/x86/bits/select.h: This.
39787
39788         * sysdeps/i386/bits/setjmp.h: Removed.
39789         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39790         * sysdeps/x86/bits/setjmp.h: This.
39791
39792         * sysdeps/i386/bits/mathdef.h: Removed.
39793         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39794         * sysdeps/x86/bits/mathdef.h: This.
39795
39796 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39797
39798         [BZ #14132]
39799         * include/sys/socket.h (__connect_internal)
39800         (__libc_sa_len_internal): Remove declaration.
39801         (__connect, __libc_sa_len): Declare hidden_proto.
39802         (SA_LEN): Remove use of INTUSE.
39803         * socket/connect.c: Add libc_hidden_def.
39804         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39805         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39806         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39807         alias.
39808         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39809         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39810         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39811         of adding _internal alias.
39812
39813 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39814
39815         [BZ #14117]
39816         * sysdeps/i386/bits/link.h: Removed.
39817         * sysdeps/i386/bits/linkmap.h: Likewise.
39818         * sysdeps/x86_64/bits/link.h: Renamed to ...
39819         * sysdeps/x86/bits/link.h: This.
39820         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39821         * sysdeps/x86/bits/linkmap.h: This.
39822
39823         * sysdeps/i386/bits/endian.h: Removed.
39824         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39825         * sysdeps/x86/bits/endian.h: This.
39826
39827         * sysdeps/i386/bits/byteswap.h: Removed.
39828         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39829         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39830         * sysdeps/x86/bits/byteswap.h: This.
39831         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39832         * sysdeps/x86/bits/byteswap-16.h: This.
39833         * sysdeps/i386/Implies: Add x86.
39834         * sysdeps/x86_64/Implies: Likewise.
39835
39836 2012-05-30  David S. Miller  <davem@davemloft.net>
39837
39838         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39839         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39840         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39841         (FP_TRAPPING_EXCEPTIONS): Define.
39842         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39843         (FP_TRAPPING_EXCEPTIONS): Define.
39844         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39845         subnormals only when inexact has been signalled or underflow
39846         exceptions are enabled.
39847         (_FP_PACK_CANONICAL): Likewise.
39848
39849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39850
39851         [BZ #14183]
39852         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39853         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39854
39855 2012-05-30  Richard Henderson  <rth@twiddle.net>
39856
39857         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39858         with #ifndef NOT_IN_libc.
39859
39860         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39861         marked to avoid plt entry.
39862
39863 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39864
39865         [BZ #14112]
39866         * Makeconfig (default-abi): New macro.
39867         (abi-includes): Likewise.
39868         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39869         $(abi-$(default-abi)-lib-soname) for soname if defined.
39870         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39871         abi-variants.
39872         * Makefile (installed-stubs): Likewise.
39873         * include/stubs-biarch.h: Removed.
39874         * scripts/lib-names.awk: Only handle one library at a time.
39875         * scripts/soversions.awk: Remove WORDSIZE support.
39876         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39877         entries.
39878         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39879         Removed.
39880         (syscall-list-default-condition): Likewise.
39881         (syscall-list-default-condition): Likewise.
39882         (syscall-list-includes): Likewise.
39883         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39884         syscall-list-* with abi-*.  Handle undefined abi-variants.
39885         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39886         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39887         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39888         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39889         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39890         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39891         Removed.
39892         (syscall-list-32-options): Likewise.
39893         (syscall-list-32-condition): Likewise.
39894         (syscall-list-64-options): Likewise.
39895         (syscall-list-64-condition): Likewise.
39896         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39897         macro.
39898         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39899         Renamed to ...
39900         (abi-*): This.
39901         (abi-64-ld-soname): New macro.
39902         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39903         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39904         Renamed to ...
39905         (abi-*): This.
39906         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39907         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39908
39909 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39910
39911         * sysdeps/unix/sysv/linux/kernel-features.h
39912         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39913         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39914         include <kernel-features.h>.
39915         [!__NR_ftruncate64]: Remove conditional code.
39916         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39917         [__NR_ftruncate64]: Make code unconditional.
39918         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39919         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39920         include <kernel-features.h>.
39921         [!__NR_ftruncate64]: Remove conditional code.
39922         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39923         [__NR_ftruncate64]: Make code unconditional.
39924         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39926         include <kernel-features.h>.
39927         [!__NR_ftruncate64]: Remove conditional code.
39928         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39929         [__NR_ftruncate64]: Make code unconditional.
39930         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39932         include <kernel-features.h>.
39933         [!__NR_ftruncate64]: Remove conditional code.
39934         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39935         [__NR_ftruncate64]: Make code unconditional.
39936         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39937
39938         * configure.in (libc_cv_fpie): Weaken to a compile test using
39939         LIBC_TRY_CC_OPTION.
39940         * configure: Regenerated.
39941
39942 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39943
39944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39948         Refreshed.
39949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39955         Refreshed.
39956
39957 2012-05-27  David S. Miller  <davem@davemloft.net>
39958
39959         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39960         (___Q_zero): New.
39961         (__Q_simulate_exceptions): Return void.  Change to simulate
39962         exceptions by writing into the %fsr.
39963         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39964         (__Qp_handle_exceptions): Likewise.
39965         (numbers): Delete.
39966         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39967         __Qp_handle_exceptions.
39968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39969         __Qp_handle_exceptions.
39970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39971         as unused and give dummy FP_RND_NEAREST initializer.
39972         (FP_INHIBIT_RESULTS): Define.
39973         (___Q_simulate_exceptions): Update declaration.
39974         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39975         formatting.
39976         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39977         as unused and give dummy FP_RND_NEAREST initializer.
39978         (__Qp_handle_exceptions): Update declaration.
39979         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39980         formatting.
39981
39982 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39983
39984         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39985         the temporary FPU control word.
39986         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39987         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39988         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39989         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39991         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39992         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39993         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39994         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39995         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39996         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39997
39998 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39999
40000         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40001         fields.
40002
40003 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40004
40005         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40006         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40007         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40008         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40009         Likewise.
40010         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40011         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40012         Likewise.
40013
40014 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40015
40016         * po/h.po: Update from translation team.
40017
40018 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40019
40020         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40021
40022         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40023         handling of denormals.
40024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40025         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40026         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40027         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40028         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40031         Likewise.
40032
40033 2012-05-26  Marek Polacek  <polacek@redhat.com>
40034
40035         [BZ #14152]
40036         * math/libm-test.inc (fma_test): Don't always expect underflow
40037         exception.
40038
40039 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40040
40041         [BZ #12416]
40042         * elf/tst-execstack.c: Include stackinfo.h.
40043         (do_test): Adjust test case to ensure that pthread_getattr_np
40044         behaviour remains the same after marking stack executable.
40045
40046 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40047
40048         * sysdeps/unix/sysv/linux/kernel-features.h
40049         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40050         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40051         kernel-features.h.
40052         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40053         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40054         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40055         kernel-features.h.
40056         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40057         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40058
40059 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40060
40061         * configure.in: Define the default includes to being none.
40062         * configure: Regenerated.
40063
40064 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40065
40066         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40067         * sysdeps/x86_64/setjmp.S: Likewise.
40068         * sysdeps/i386/bsd-setjmp.S: Likewise.
40069         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40070         * sysdeps/i386/setjmp.S: Likewise.
40071         * sysdeps/i386/__longjmp.S: Likewise.
40072         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40073         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40074
40075         * include/stap-probe.h: New file.
40076         * configure.in: Handle --enable-systemtap.
40077         * configure: Regenerated.
40078         * config.h.in (USE_STAP_PROBE): New #undef.
40079         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40080         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40081         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40082
40083 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40084
40085         [BZ #13717]
40086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40087         to 2.4.0 where earlier.
40088         * sysdeps/unix/sysv/linux/configure: Regenerated.
40089         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
40098         [__ASSUME_32BITUIDS]: Make code unconditional.
40099         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40100         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40101         <kernel-features.h>.
40102         [__ASSUME_32BITUIDS]: Make code unconditional.
40103         [!__ASSUME_32BITUIDS]: Remove conditional code.
40104         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40105         <kernel-features.h>.
40106         [__ASSUME_32BITUIDS]: Make code unconditional.
40107         [!__ASSUME_32BITUIDS]: Remove conditional code.
40108         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40109         <kernel-features.h>.
40110         [__ASSUME_32BITUIDS]: Make code unconditional.
40111         [!__ASSUME_32BITUIDS]: Remove conditional code.
40112         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40113         <kernel-features.h>.
40114         [__ASSUME_32BITUIDS]: Make code unconditional.
40115         [!__ASSUME_32BITUIDS]: Remove conditional code.
40116         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40117         <kernel-features.h>.
40118         [__ASSUME_32BITUIDS]: Make code unconditional.
40119         [!__ASSUME_32BITUIDS]: Remove conditional code.
40120         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40121         <kernel-features.h>.
40122         [__ASSUME_32BITUIDS]: Make code unconditional.
40123         [!__ASSUME_32BITUIDS]: Remove conditional code.
40124         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40125         <kernel-features.h>.
40126         [__ASSUME_32BITUIDS]: Make code unconditional.
40127         [!__ASSUME_32BITUIDS]: Remove conditional code.
40128         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40129         <kernel-features.h>.
40130         [__ASSUME_32BITUIDS]: Make code unconditional.
40131         [!__ASSUME_32BITUIDS]: Remove conditional code.
40132         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40133         <kernel-features.h>.
40134         [__ASSUME_32BITUIDS]: Make code unconditional.
40135         [!__ASSUME_32BITUIDS]: Remove conditional code.
40136         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40137         <kernel-features.h>.
40138         [__ASSUME_32BITUIDS]: Make code unconditional.
40139         [!__ASSUME_32BITUIDS]: Remove conditional code.
40140         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40141         <kernel-features.h>.
40142         [__NR_setresgid] (__setresgid): Do not declare.
40143         [__ASSUME_32BITUIDS]: Make code unconditional.
40144         [!__ASSUME_32BITUIDS]: Remove conditional code.
40145         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40146         <kernel-features.h>.
40147         [__NR_setresuid] (__setresuid): Do not declare.
40148         [__ASSUME_32BITUIDS]: Make code unconditional.
40149         [!__ASSUME_32BITUIDS]: Remove conditional code.
40150         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40151         <kernel-features.h>.
40152         [__ASSUME_32BITUIDS]: Make code unconditional.
40153         [!__ASSUME_32BITUIDS]: Remove conditional code.
40154         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40155         <kernel-features.h>.
40156         [__ASSUME_32BITUIDS]: Make code unconditional.
40157         [!__ASSUME_32BITUIDS]: Remove conditional code.
40158         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40159         <kernel-features.h>.
40160         [__ASSUME_32BITUIDS]: Make code unconditional.
40161         [!__ASSUME_32BITUIDS]: Remove conditional code.
40162         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40163         <kernel-features.h>.
40164         [__ASSUME_32BITUIDS]: Make code unconditional.
40165         [!__ASSUME_32BITUIDS]: Remove conditional code.
40166         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40167         <kernel-features.h>.
40168         [__ASSUME_32BITUIDS]: Make code unconditional.
40169         [!__ASSUME_32BITUIDS]: Remove conditional code.
40170         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40171         <kernel-features.h>.
40172         [__ASSUME_32BITUIDS]: Make code unconditional.
40173         [!__ASSUME_32BITUIDS]: Remove conditional code.
40174         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40175         <kernel-features.h>.
40176         [__ASSUME_32BITUIDS]: Make code unconditional.
40177         [!__ASSUME_32BITUIDS]: Remove conditional code.
40178         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40179         <kernel-features.h>.
40180         [__ASSUME_32BITUIDS]: Make code unconditional.
40181         [!__ASSUME_32BITUIDS]: Remove conditional code.
40182         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40183         <kernel-features.h>.
40184         [__ASSUME_32BITUIDS]: Make code unconditional.
40185         [!__ASSUME_32BITUIDS]: Remove conditional code.
40186         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40187         <kernel-features.h>.
40188         [__ASSUME_32BITUIDS]: Make code unconditional.
40189         [!__ASSUME_32BITUIDS]: Remove conditional code.
40190         * sysdeps/unix/sysv/linux/kernel-features.h
40191         (__ASSUME_SETRESUID_SYSCALL): Remove.
40192         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40193         (__ASSUME_32BITUIDS): Likewise.
40194         (__ASSUME_LDT_WORKS): Likewise.
40195         (__ASSUME_O_DIRECTORY): Likewise.
40196         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40197         architecture but not kernel version.
40198         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40199         (__ASSUME_MMAP2_SYSCALL): Likewise.
40200         (__ASSUME_STAT64_SYSCALL): Likewise.
40201         (__ASSUME_IPC64): Likewise.
40202         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40203         <kernel-features.h>.
40204         [__ASSUME_32BITUIDS]: Make code unconditional.
40205         [!__ASSUME_32BITUIDS]: Remove conditional code.
40206         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40207         <kernel-features.h>.
40208         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40209         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40210         132096]: Remove conditional code.
40211         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40212         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40213         <kernel-features.h>.
40214         [__ASSUME_32BITUIDS]: Make code unconditional.
40215         [!__ASSUME_32BITUIDS]: Remove conditional code.
40216         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40217         <kernel-features.h>.
40218         [__ASSUME_32BITUIDS]: Make code unconditional.
40219         [!__ASSUME_32BITUIDS]: Remove conditional code.
40220         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40221         <kernel-features.h>.
40222         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40223         unconditional.
40224         (__setresgid): Do not declare.
40225         [__ASSUME_32BITUIDS]: Make code unconditional.
40226         [!__ASSUME_32BITUIDS]: Remove conditional code.
40227         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40228         <kernel-features.h>.
40229         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40230         unconditional.
40231         (__setresuid): Do not declare.
40232         [__ASSUME_32BITUIDS]: Make code unconditional.
40233         [!__ASSUME_32BITUIDS]: Remove conditional code.
40234         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40235         <kernel-features.h>.
40236         [__ASSUME_32BITUIDS]: Make code unconditional.
40237         [!__ASSUME_32BITUIDS]: Remove conditional code.
40238         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40239         <kernel-features.h>.
40240         [__ASSUME_32BITUIDS]: Make code unconditional.
40241         [!__ASSUME_32BITUIDS]: Remove conditional code.
40242
40243 2012-05-25  Richard Henderson  <rth@twiddle.net>
40244
40245         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40246         dl_hwcap to ifunc resolver.
40247         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40248         elf_ifunc_invoke.
40249         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40250         dl_hwcap to ifunc resolver.
40251         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40252
40253 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40254
40255         [BZ #14153]
40256         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40257         for |x| <= 2**-26, not 2**-57.
40258         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40259         exception.
40260
40261 2012-05-24  Jeff Law  <law@redhat.com>
40262
40263         * stdio-common/Makefile (tests): Add bug25.
40264         * stdio-common/bug25.c: New test.
40265
40266 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40267
40268         [BZ #13576]
40269         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40270         multiple of MALLOC_ALIGNMENT in size.
40271         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40272
40273 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40274
40275         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40276         Require >= 256.
40277         (FILENAME_MAX): Use macro-int-constant.
40278         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40279         (_IOFBF): Use macro-int-constant.
40280         (_IOLBF): Likewise.
40281         (_IONBF): Likewise.
40282         (SEEK_CUR): Likewise.
40283         (SEEK_END): Likewise.
40284         (SEEK_SET): Likewise.
40285         (TMP_MAX): Likewise.
40286         (EOF): Use macro-int-constant.  Require < 0.
40287         (NULL): Use macro-constant.  Require == 0.
40288         (stdin): Require type to be FILE *.
40289         (stdout): Likewise.
40290         (stderr): Likewise.
40291         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40292         macro-int-constant.
40293         (EXIT_SUCCESS): Likewise.
40294         (NULL): Use macro-constant.  Require == 0.
40295         (RAND_MAX): Use macro-int-constant.
40296         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40297         [C99-based standards] (strtof): Require function.
40298         [C99-based standards] (strtold): Likewise.
40299         [C99-based standards] (strtoll): Likewise.
40300         [C99-based standards] (strtoull): Likewise.
40301         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40302         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40303         [ISO || ISO99 || ISO11] (math.h): Likewise.
40304         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40305         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40307
40308 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40309
40310         [BZ #14132]
40311         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40312         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40313         * intl/dgettext.c (DCGETTEXT): Likewise.
40314         * intl/gettext.c (DCGETTEXT): Likewise.
40315         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40316         * posix/regex_internal.h (gettext): Likewise.
40317         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40318         Remove declaration.
40319         * include/argz.h (__argz_count_internal)
40320         (__argz_stringify_internal): Remove declaration.
40321         (__argz_count, __argz_stringify): Declare hidden proto.
40322         * intl/dcgettext.c: Remove use of INTDEF.
40323         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40324         * string/argz-stringify.c: Likewise.
40325         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40326         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40327         Declare hidden proto.
40328         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40329         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40330         Declare hidden proto.
40331         * include/stdio.h (__asprintf_internal): Don't declare.
40332         (__asprintf): Don't define as macro.  Declare hidden proto.
40333         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40334         (__fsetlocking): Declare hidden proto.
40335         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40336         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40337         hidden proto.
40338         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40339         (_IO_setlinebuf): Remove use of INTUSE.
40340         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40341         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40342         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40343         Remove declaration.
40344         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40345         (_IO_do_flush): Remove use of INTUSE.
40346         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40347         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40348         (_IO_adjust_column, _IO_least_wmarker)
40349         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40350         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40351         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40352         (_IO_default_doallocate, _IO_wdefault_doallocate)
40353         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40354         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40355         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40356         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40357         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40358         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40359         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40360         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40361         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40362         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40363         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40364         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40365         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40366         proto.
40367         (_IO_flush_all_internal, _IO_adjust_column_internal)
40368         (_IO_default_uflow_internal, _IO_default_finish_internal)
40369         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40370         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40371         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40372         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40373         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40374         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40375         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40376         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40377         (_IO_file_close_internal, _IO_file_close_it_internal)
40378         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40379         (_IO_file_init_internal, _IO_file_attach_internal)
40380         (_IO_file_fopen_internal, _IO_file_read_internal)
40381         (_IO_file_sync_internal, _IO_file_seek_internal)
40382         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40383         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40384         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40385         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40386         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40387         (_IO_list_all_internal, _IO_link_in_internal)
40388         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40389         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40390         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40391         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40392         (_IO_do_write_internal, _IO_padn_internal)
40393         (_IO_getline_info_internal, _IO_getline_internal)
40394         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40395         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40396         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40397         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40398         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40399         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40400         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40401         with libc_hidden_ver, remove use of INTUSE.
40402         * libio/genops.c: Likewise.
40403         * libio/freopen.c: Likewise.
40404         * libio/freopen64.c: Likewise.
40405         * libio/iofclose.c: Likewise.
40406         * libio/iofdopen.c: Likewise.
40407         * libio/iofflush.c: Likewise.
40408         * libio/iofflush_u.c: Likewise.
40409         * libio/iofgets.c: Likewise.
40410         * libio/iofgets_u.c: Likewise.
40411         * libio/iofopen.c: Likewise.
40412         * libio/iofopncook.c: Likewise.
40413         * libio/iofread.c: Likewise.
40414         * libio/iofread_u.c: Likewise.
40415         * libio/ioftell.c: Likewise.
40416         * libio/iofwrite.c: Likewise.
40417         * libio/iogetline.c: Likewise.
40418         * libio/iogets.c: Likewise.
40419         * libio/iogetwline.c: Likewise.
40420         * libio/iopadn.c: Likewise.
40421         * libio/iopopen.c: Likewise.
40422         * libio/ioseekoff.c: Likewise.
40423         * libio/ioseekpos.c: Likewise.
40424         * libio/iosetbuffer.c: Likewise.
40425         * libio/iosetvbuf.c: Likewise.
40426         * libio/ioungetc.c: Likewise.
40427         * libio/ioungetwc.c: Likewise.
40428         * libio/iovdprintf.c: Likewise.
40429         * libio/iovsprintf.c: Likewise.
40430         * libio/iovsscanf.c: Likewise.
40431         * libio/memstream.c: Likewise.
40432         * libio/obprintf.c: Likewise.
40433         * libio/oldfileops.c: Likewise.
40434         * libio/oldiofclose.c: Likewise.
40435         * libio/oldiofdopen.c: Likewise.
40436         * libio/oldiofopen.c: Likewise.
40437         * libio/oldiopopen.c: Likewise.
40438         * libio/oldstdfiles.c: Likewise.
40439         * libio/putc.c: Likewise.
40440         * libio/setbuf.c: Likewise.
40441         * libio/setlinebuf.c: Likewise.
40442         * libio/stdfiles.c: Likewise.
40443         * libio/strops.c: Likewise.
40444         * libio/vasprintf.c: Likewise.
40445         * libio/vscanf.c: Likewise.
40446         * libio/vsnprintf.c: Likewise.
40447         * libio/vswprintf.c: Likewise.
40448         * libio/wfiledoalloc.c: Likewise.
40449         * libio/wfileops.c: Likewise.
40450         * libio/wgenops.c: Likewise.
40451         * libio/wmemstream.c: Likewise.
40452         * libio/wstrops.c: Likewise.
40453         * libio/__fpurge.c: Likewise.
40454         * libio/__fsetlocking.c: Likewise.
40455         * assert/assert.c: Likewise.
40456         * debug/fgets_chk.c: Likewise.
40457         * debug/fgets_u_chk.c: Likewise.
40458         * debug/fread_chk.c: Likewise.
40459         * debug/fread_u_chk.c: Likewise.
40460         * debug/gets_chk.c: Likewise.
40461         * debug/obprintf_chk.c: Likewise.
40462         * debug/vasprintf_chk.c: Likewise.
40463         * debug/vdprintf_chk.c: Likewise.
40464         * debug/vsnprintf_chk.c: Likewise.
40465         * debug/vsprintf_chk.c: Likewise.
40466         * malloc/mtrace.c: Likewise.
40467         * misc/error.c: Likewise.
40468         * misc/syslog.c: Likewise.
40469         * stdio-common/asprintf.c: Likewise.
40470         * stdio-common/fxprintf.c: Likewise.
40471         * stdio-common/getw.c: Likewise.
40472         * stdio-common/isoc99_fscanf.c: Likewise.
40473         * stdio-common/isoc99_scanf.c: Likewise.
40474         * stdio-common/isoc99_vfscanf.c: Likewise.
40475         * stdio-common/isoc99_vscanf.c: Likewise.
40476         * stdio-common/isoc99_vsscanf.c: Likewise.
40477         * stdio-common/printf-prs.c: Likewise.
40478         * stdio-common/printf_fp.c: Likewise.
40479         * stdio-common/printf_fphex.c: Likewise.
40480         * stdio-common/printf_size.c: Likewise.
40481         * stdio-common/putw.c: Likewise.
40482         * stdio-common/scanf.c: Likewise.
40483         * stdio-common/sprintf.c: Likewise.
40484         * stdio-common/tmpfile.c: Likewise.
40485         * stdio-common/vfprintf.c: Likewise.
40486         * stdio-common/vfscanf.c: Likewise.
40487         * stdlib/strfmon_l.c: Likewise.
40488         * sunrpc/openchild.c: Likewise.
40489         * sunrpc/xdr_stdio.c: Likewise.
40490         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40491         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40492
40493 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40494
40495         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40496
40497         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40498         in the third column, to generate for the shared library an IFUNC
40499         that uses _dl_vdso_vsym.
40500         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40501         * Makeconfig (object-suffixes-noshared): New variable.
40502
40503         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40504         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40505         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40506         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40507
40508         [BZ #14132]
40509         * include/sys/time.h (__gettimeofday): Remove macro.
40510         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40511         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40512         Remove INTDEF.
40513         (__gettimeofday): Add libc_hidden_def.
40514         (gettimeofday): Add libc_hidden_weak.
40515         * sysdeps/mach/gettimeofday.c: Likewise.
40516         * sysdeps/posix/gettimeofday.c: Likewise.
40517         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40518         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40519         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40520         (__gettimeofday_internal): Remove strong_alias.
40521         (__gettimeofday): Add libc_hidden_def.
40522         (gettimeofday): Add libc_hidden_weak.
40523         * sysdeps/unix/syscalls.list (gettimeofday):
40524         Remove __gettimeofday_internal alias.
40525
40526 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40527             H.J. Lu  <hongjiu.lu@intel.com>
40528
40529         [BZ #12495]
40530         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40531         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40532         (largebin_index_32_big): New.
40533         (largebin_index): Use it for 16-byte alignment.
40534         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40535         correction with front_misalign.
40536
40537 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40538
40539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40541         Likewise.
40542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40543         Likewise.
40544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40545         Likewise.
40546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40547         Likewise.
40548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40549         Likewise.
40550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40551         Likewise.
40552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40553         Likewise.
40554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40555         Likewise.
40556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40557         Likewise.
40558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40559         Likewise.
40560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40561         Likewise.
40562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40563         Likewise.
40564
40565         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40566         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40567
40568 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40569
40570         [BZ #10846]
40571         [BZ #14036]
40572         * math/libm-test.inc (exp_test): Add test from bug 14036.
40573         (pow_test): Add test from bug 10846.
40574
40575         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40576         and other flags.
40577         (special_function): Do not include flags in test name.
40578         (parse_args): Likewise.
40579         * sysdeps/i386/fpu/libm-test-ulps: Update.
40580         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40581         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40584
40585         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40586         exceptions.
40587         * math/libm-test.inc ("Philosophy"): Update comment about
40588         exception testing.
40589         (UNDERFLOW_EXCEPTION): New macro.
40590         (UNDERFLOW_EXCEPTION_OK): Likewise.
40591         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40592         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40593         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40594         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40595         (INVALID_EXCEPTION_OK): Update value.
40596         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40597         (OVERFLOW_EXCEPTION_OK): Likewise.
40598         (IGNORE_ZERO_INF_SIGN): Likewise.
40599         (test_exceptions): Handle underflow exceptions.
40600         (acos_test): Update for underflow exception expectations.
40601         (cexp_test): Likewise.
40602         (clog_test): Likewise.
40603         (clog10_test): Likewise.
40604         (csqrt_test): Likewise.
40605         (ctan_test): Likewise.
40606         (ctanh_test): Likewise.
40607         (exp_test): Likewise.
40608         (exp10_test): Likewise.
40609         (exp2_test): Likewise.
40610         (expm1_test): Likewise.
40611         (fma_test): Likewise.
40612         (j0_test): Likewise.
40613         (jn_test): Likewise.
40614         (nexttoward_test): Likewise.
40615         (pow_test): Likewise.
40616         (scalbn_test): Likewise.
40617         (scalbln_test): Likewise.
40618         (tan_test): Likewise.
40619         (y1_test): Likewise.
40620         * sysdeps/i386/fpu/libm-test-ulps: Update.
40621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40622
40623 2012-05-23  David S. Miller  <davem@davemloft.net>
40624
40625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40626         (__libc_sigaction): Remove unused local variables.
40627
40628 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40629
40630         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40631
40632 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40633
40634         mktime: avoid signed integer overflow
40635         * time/mktime.c (__mktime_internal): Do not mishandle the case
40636         where diff == INT_MIN.
40637
40638         mktime: simplify computation of average
40639         * time/mktime.c (ranged_convert): Use new time_t_avg function
40640         instead of rolling our own (probably-slower) code.
40641
40642         mktime: do not assume signed right shift propagates sign bit
40643         * time/mktime.c (isdst_differ): New static function.
40644         (__mktime_internal): No need to normalize tm_isdst now.
40645         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40646         tm_isdst values.
40647
40648         mktime: merge another wrapv change from gnulib
40649         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40650         from some compilers.
40651
40652         mktime: remove incorrect attempt at unusual arithmetics
40653         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40654         The code didn't really work on such machines anyway.
40655         (TYPE_MINIMUM): Assume two's complement.
40656         (twos_complement_arithmetic): Verify that long_int and time_t
40657         are two's complement (or unsigned, in the latter case).
40658
40659         mktime: check signed shifts on long_int and time_t, too
40660         * time/mktime.c (SHR): Check that shifts work as desired
40661         on the types long_int and time_t too, as SHR is used on
40662         such types.
40663
40664         mktime: do not assume 'long' is wide enough
40665         * time/mktime.c (verify): Move decl up.
40666         (long_int): New type.
40667         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40668         to remove assumption in the code that 'long' is wide enough to
40669         store year values.  This assumption is not true on x32 and on
40670         some non-glibc platforms.
40671
40672         mktime: merge wrapv change from gnulib
40673         * time/mktime.c (WRAPV): New macro.
40674         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40675         (guess_time_tm, __mktime_internal): Do not assume that signed
40676         integer overflow wraps around; modern compilers generate code
40677         where this assumption is no longer valid.
40678
40679 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40680
40681         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40682         Replace "jmp L(pseudo_end)" with "ret".
40683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40684         Likewise.
40685
40686 2012-05-23  Andreas Jaeger  <aj@suse.de>
40687
40688         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40689         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40690
40691 2012-05-23  Andreas Jaeger  <aj@suse.de>
40692             Maximilian Attems  <max@stro.at>
40693
40694         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40695         New macros.
40696
40697 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40698
40699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40700         code so that pseudo_end is just ret and the stack pointer is
40701         correct also for static library in error case.
40702
40703 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40704
40705         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40706         move to syscalls.list.
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40711
40712         * manual/install.texi (Running make install): Do not mention Linux
40713         kernel version for which pt_chown is not needed.
40714         (Linux): Do not mention problems with nscd with 2.0 kernels.
40715         * INSTALL: Regenerated.
40716
40717 2012-05-23  Andreas Jaeger  <aj@suse.de>
40718
40719         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40720         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40721         macro.
40722         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40724         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40726         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40727         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40728         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40729         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40731         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40732         * sysdeps/unix/sysv/linux/bits/in.h
40733         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40734
40735 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40736
40737         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40738         (PREPARE_VERSION): Just use assert instead, it will be elided
40739         under [NDEBUG] anyway.
40740
40741 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40742
40743         * sysdeps/unix/sysv/linux/Makefile: Include
40744         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40745         (sysdep_routines): Remove sysctl.
40746         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40747         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40748         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40749         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40750         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40751
40752 2012-05-22  Andreas Jaeger  <aj@suse.de>
40753
40754         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40755         that pseudo_end is just ret and the stack pointer is correct also
40756         for static library in error case.
40757
40758 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40759
40760         [BZ #14122]
40761         * nss/nsswitch.c (defconfig_entries): New variable.
40762         (__nss_database_lookup): Don't leak defconfig entries.
40763         (nss_parse_service_list): Don't leak on error paths.
40764         (free_database_entries): New function.
40765         (free_defconfig): New function.
40766         (free_mem): Move common code to free_database_entries.
40767
40768 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40769
40770         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40771         Add arch_prctl.
40772         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40773
40774         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40775         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40777         New macro.
40778         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40779         (INTERNAL_SYSCALL_TYPES): Likewise.
40780         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40781         (LOAD_REGS_TYPES_[1-6]): Likewise.
40782         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40783         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40784
40785 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40786
40787         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40788         copysignl for GLIBC_2_0.
40789         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40790         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40792         logbl for GLIBC_2_0.
40793         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40794         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40795
40796 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40797
40798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40799         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40800
40801         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40802         Use "neg %eax".
40803
40804         * time/mktime.c: Update copyright years.
40805
40806 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40807
40808         mktime: merge comment-quoting-style change from gnulib
40809         * time/mktime.c: Quote 'like this' in comments.
40810         The GNU coding standards suggest that we no longer quote `like this',
40811         as "`" and "'" are typically rendered asymmetrically nowadays.
40812         The typical gnulib style is to quote 'like this' when quoting
40813         code, and "like this" when quoting English.
40814
40815         * time/mktime.c (compile-command): Add "-I.".
40816
40817         mktime: merge mktime-internal.h change from gnulib
40818         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40819
40820         mktime: merge time_r change from gnulib
40821         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40822
40823         mktime: merge DEBUG change from gnulib
40824         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40825         case system <time.h> has a #define.
40826
40827         mktime: merge <sys/types.h> change from gnulib
40828         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40829         since <time.t> is now guaranteed to define time_t.
40830
40831         mktime: merge HAVE_CONFIG_H change from gnulib
40832         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40833
40834 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40835
40836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40837         Use "neg %eax".
40838
40839         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40840         __rlim_t cast.
40841         (struct rusage): Use anonymous union to pad each field to
40842         __syscall_slong_t.
40843
40844 2012-05-21  David S. Miller  <davem@davemloft.net>
40845
40846         * Makefules (o-iterator): Remove .s cases.
40847         (compile-command.s): Delete.
40848         (COMPILE.s): Delete.
40849         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40850
40851 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40852
40853         * configure.in (libc_cv_predef_stack_protector): Only consider
40854         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40855         * configure: Regenerated.
40856
40857 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40858
40859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40860         New macro.  Use R*LP on int and pointer.
40861         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40862         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40863         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40864         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40865
40866         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40867         [__WORDSIZE_TIME64_COMPAT32] instead of
40868         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40869         (struct utmp): Likewise.
40870         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40871         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40872         Renamed to ...
40873         (__WORDSIZE_TIME64_COMPAT32): This.
40874         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40875         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40876         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40877         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40878         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40879         (__WORDSIZE_TIME64_COMPAT32): New macro.
40880
40881 2012-05-21  Andreas Jaeger  <aj@suse.de>
40882
40883         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40884         only if [SHARED]. Add prototype for __wcschr_ia32.
40885
40886 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40887
40888         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40889         of %rbp unmolested in the jmp_buf while mangling the low bits.
40890         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40891         unmolested high bits of %rbp while demangling the low bits.
40892         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40893
40894 2012-05-21  Andreas Jaeger  <aj@suse.de>
40895
40896         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40897         * sunrpc/svc_simple.c: Use it for registerrpc.
40898         * sunrpc/xcrypt.c: Use it for passwd2des.
40899
40900         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40901
40902 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40903
40904         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40905         Don't define if [__SYSCALL_WORDSIZE != 32].
40906         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40907         New macro.
40908
40909 2012-05-21  Bruno Haible  <bruno@clisp.org>
40910             Andreas Jaeger  <aj@suse.de>
40911
40912         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40913         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40914         inptr and inend for must_buffer_ch.
40915         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40916         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40917         * stdio-common/Makefile (tests): Remove bug15.
40918         (bug15-ENV): Remove macro.
40919         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40920         anymore.
40921
40922 2012-05-19  Andreas Jaeger  <aj@suse.de>
40923             Roland McGrath  <roland@hack.frob.com>
40924
40925         * manual/contrib.texi: Completely rewritten. It contains now an
40926         alphabetical list of contributors and their contributions.
40927
40928 2012-05-21  Richard Henderson  <rth@twiddle.net>
40929
40930         * misc/getauxval.c (__getauxval): Use unsigned long int.
40931         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40932         (getauxval): Use unsigned long int.
40933
40934 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40935
40936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40937
40938 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40939
40940         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40941         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40942         __alignof__ (long double).
40943
40944 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40945
40946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40947
40948 2012-05-20  Richard Henderson  <rth@twiddle.net>
40949
40950         * misc/getauxval.c: New file.
40951         * misc/sys/auxv.h: New file.
40952         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40953         (routines): Add getauxval.
40954         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40955         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40956         * elf/dl-sysdep.c (_dl_auxv): Remove.
40957         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40958         * elf/dl-support.c (_dl_auxv): New variable.
40959         (_dl_aux_init): Initialize it.
40960         * manual/startup.texi (Auxiliary Vector): New node.
40961         * sysdeps/generic/bits/hwcap.h: New file.
40962         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40963         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40964         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40965         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40966         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40969         Update.
40970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40978
40979 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40980
40981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40982
40983 2012-05-19  David S. Miller  <davem@davemloft.net>
40984
40985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40986
40987 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40988
40989         [BZ #14123]
40990         * math/s_ccosh.c: Include <float.h>
40991         (__ccosh): Avoid internal overflow calculating sinh and cosh
40992         values before multiplying by sin and cos values.
40993         * math/s_ccoshf.c: Likewise.
40994         * math/s_ccoshl.c: Likewise.
40995         * math/s_csin.c: Likewise.
40996         * math/s_csinf.c: Likewise.
40997         * math/s_csinl.c: Likewise.
40998         * math/s_csinh.c: Likewise.
40999         * math/s_csinhf.c: Likewise.
41000         * math/s_csinhl.c: Likewise.
41001         * math/libm-test.inc (ccos_test): Add more tests.
41002         (ccosh_test): Likewise.
41003         (csin_test): Likewise.
41004         (csinh_test): Likewise.
41005         * sysdeps/i386/fpu/libm-test-ulps: Update.
41006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41007
41008 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41009
41010         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41011         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41012
41013         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41014
41015 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41016
41017         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41018         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41019         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41020         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41021         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41022         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41023         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41024         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41025         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41026         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41027         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41028         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41029         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41030         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41031         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41032         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41033         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41034         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41035         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41036         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41037         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41038         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41039         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41040         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41041         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41042         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41043         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41044         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41045         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41046         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41047         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41048
41049 2012-05-18  Andreas Jaeger  <aj@suse.de>
41050
41051         * csu/.gitignore: Delete.
41052
41053 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41054
41055         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41056         (timex): Use __syscall_slong_t.
41057
41058 2012-05-18  Andreas Jaeger  <aj@suse.de>
41059             Carlos O'Donell  <carlos_odonell@mentor.com>
41060
41061         * manual/install.texi (Configuring and compiling): Update
41062         description about files modified in the source directory.
41063         * INSTALL: Regenerated.
41064
41065 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41066
41067         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41068         value.  Use "or" to set return value to -1.
41069         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41070         negate return value.
41071
41072 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41073
41074         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41075         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41076         failure if the compiler has Graphite support disabled.
41077         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41078         Likewise.
41079         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41080         (CFLAGS-memmove.c): Likewise.
41081         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41082         Likewise.
41083
41084 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41085
41086         * sysdeps/x86_64/x32/_itoa.h: New file.
41087
41088         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41089         getdents system call only if kernel and user dirents have the
41090         same d_ino and d_off.
41091
41092         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41093         LLONG_MAX != LONG_MAX.
41094         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41095         (_fitoa_word): Likewise.
41096
41097         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41098         years.
41099         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41100         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41101         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41102
41103         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41104         include <bits/wordsize.h>.  Check __x86_64__ instead of
41105         __WORDSIZE.
41106         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41107         if __x86_64__ is defined.  Use anonymous union on fpstate.
41108
41109         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41110         anonymous union.
41111
41112 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41113
41114         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41115         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41116         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41117         Refer to _rtld_local_ro instead of _rtld_global_ro.
41118         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41119         Likewise.
41120         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41121         Likewise.
41122         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41123         Likewise.
41124         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41125         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41126         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41127
41128         * sysdeps/powerpc/powerpc32/dl-machine.c
41129         (__elf_machine_runtime_setup) [PROF]: Don't reference
41130         _dl_prof_resolve.
41131
41132 2012-05-18  Andreas Jaeger  <aj@suse.de>
41133
41134         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41135         function only available for GCCs before 3.4 since GCC 3.4
41136         introduced a builtin.
41137         (lrint): Likewise.
41138         (llrintf): Likewise.
41139         (llrint): Likewise.
41140         (fmaxf): Likewise.
41141         (fmax): Likewise.
41142         (fminf): Likewise.
41143         (fmin): Likewise.
41144         (rint): Likewise.
41145         (rintf): Likewise.
41146         (nearbyint): Likewise.
41147         (nearbyintf): Likewise.
41148         (ceil): Likewise.
41149         (ceilf): Likewise.
41150         (floor): Likewise.
41151         (floorf): Likewise.
41152
41153 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41154
41155         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41156         on both fields and cast pointer to __syscall_ulong_t.
41157
41158         * bits/types.h (__fsword_t): New type.
41159         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41160         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41162         (__FSWORD_T_TYPE): Likewise.
41163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41164         (__FSWORD_T_TYPE): Likewise.
41165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41166         (__FSWORD_T_TYPE): Likewise.
41167         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41168         (__FSWORD_T_TYPE): Likewise.
41169         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41170         __SWORD_TYPE with __fsword_t.
41171         (statfs64): Likewise.
41172
41173 2012-05-17  David S. Miller  <davem@davemloft.net>
41174
41175         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41176
41177 2012-05-17  Andreas Jaeger  <aj@suse.de>
41178
41179         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41180         warning.
41181
41182 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41183
41184         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41185
41186 2012-05-17  Andreas Jaeger  <aj@suse.de>
41187
41188         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41189         when it is used.
41190
41191 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41192
41193         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41194
41195 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41196
41197         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41198         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41199
41200 2012-05-17  Andreas Jaeger  <aj@suse.de>
41201             Carlos O'Donell  <carlos_odonell@mentor.com>
41202
41203         [BZ #14059]
41204         * sysdeps/x86_64/multiarch/init-arch.h
41205         (bit_YMM_Usable): Rename to...
41206         (bit_AVX_Usable): ... this.
41207         (bit_FMA4_Usable): New macro.
41208         (bit_XMM_state): New macro.
41209         (bit_YMM_state): New macro.
41210         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41211         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41212         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41213         (CPUID_OSXSAVE): New macro.
41214         (CPUID_AVX): New macro.
41215         (CPUID_FMA4): New macro.
41216         (index_YMM_Usable): Rename to...
41217         (index_AVX_Usable): ... this.
41218         (HAS_AVX): Use HAS_ARCH_FEATURE.
41219         (HAS_FMA4): Likewise.
41220         (HAS_YMM_USABLE): Remove.
41221         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41222         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41223         are present.
41224         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41225         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41226         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41227         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41228         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41229
41230 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41231
41232         * math/libm-test.c: Support platforms without multiple rounding modes.
41233         * math/bug-nextafter.c: Support platforms without FP exceptions.
41234         * math/bug-nexttoward.c: Likewise.
41235         * math/test-fenv.c: Likewise.
41236         * math/test-misc.c: Likewise.
41237         * stdlib/bug-getcontext.c: Likewise.
41238
41239 2012-05-17  Andreas Jaeger  <aj@suse.de>
41240
41241         * manual/examples/search.c (critter_cmp): Change signature to
41242         avoid warnings.
41243         * manual/string.texi (Collation Functions): Likewise.
41244
41245 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41246
41247         * bits/types.h: Fold copyright years.
41248         * bits/typesizes.h: Likewise.
41249         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41253         * time/time.h: Likewise.
41254
41255 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41256
41257         [BZ #208]
41258         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41259         in instead of returning them.  Return void.
41260         (__libc_mallinfo): Accumulate over all arenas.
41261         (__malloc_stats): Adjust for change in int_mallinfo interface.
41262
41263 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41264
41265         [BZ #10375]
41266         * configure.in (NM): Add AC_CHECK_TOOL for it.
41267         (libc_extra_cflags): New substituted variable.
41268         Check for -fstack-protector being used implicitly.
41269         * configure: Regenerated.
41270         * config.make.in (config-extra-cflags): New variable,
41271         gets @libc_extra_cflags@.
41272         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41273
41274         [BZ #10375]
41275         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41276         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41277         * configure: Regenerated.
41278         * config.make.in (CPPUNDEFS): New substituted variable.
41279         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41280         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41281         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41282
41283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41284
41285         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41286         (mq_attr): Use __syscall_slong_t.
41287
41288 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41289
41290         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41291         Check __x86_64__ instead of __WORDSIZE.
41292         (_STAT_VER_LINUX): Likewise.
41293         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41294         __syscall_ulong_t and __syscall_slong_t.
41295         (stat64): Likewise.
41296
41297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41298
41299         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41300
41301 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41302
41303         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41304
41305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41306
41307         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41308         __syscall_ulong_t.
41309
41310         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41311         include <bits/wordsize.h>.  Check __x86_64__ instead of
41312         __WORDSIZE.
41313         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41314         defined.
41315         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41316
41317         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41318         include <bits/wordsize.h>.  Check __x86_64__ instead of
41319         __WORDSIZE.
41320         (user_regs_struct): Use "__extension__ unsigned long long"
41321         instead of "unsigned long" if __x86_64__ is defined.
41322         (user): Likewise.  Pad after pointer field if __ILP32__ is
41323         defined.
41324
41325 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41326
41327         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41328         versions 5 to 9.
41329         * configure: Regenerated.
41330         * manual/install.texi (texinfo): Increase version requirement to
41331         4.5 or later.
41332         * INSTALL: Regenerated.
41333
41334         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41335
41336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41337
41338         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41339
41340         * sysdeps/x86_64/x32/ffs.c: New file.
41341
41342         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41343         __syscall_ulong_t.
41344         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41345         defined.  Use __syscall_ulong_t.
41346         (shminfo): Use __syscall_ulong_t.
41347         (shm_info): Likewise.
41348
41349         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41350         __syscall_ulong_t.
41351
41352         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41353         <bits/wordsize.h>.
41354         (msgqnum_t): Use __syscall_ulong_t.
41355         (msglen_t): Likewise.
41356         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41357         __syscall_ulong_t.
41358
41359         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41360         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41361
41362         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41363
41364         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41365         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41366
41367         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41368         __syscall_slong_t.
41369
41370         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41371         include <bits/wordsize.h>.  Check __x86_64__ instead of
41372         __WORDSIZE.
41373
41374         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41375         "unsigned long long int" if __x86_64__ is defined.
41376         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41377
41378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41379         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41380         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41381
41382         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41383         <stdint.h>.
41384         (GET_PC): Cast to uintptr_t first.
41385         (GET_FRAME): Likewise.
41386         (GET_STACK): Likewise.
41387
41388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41390         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41391         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41392         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41393         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41394         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41395         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41396         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41397         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41398         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41399         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41400         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41401         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41402         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41404         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41406         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41407         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41408         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41410         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41412         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41413         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41414         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41415         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41416         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41417
41418 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41419
41420         * Makerules (+depfiles): Also collect depfiles from .oS in
41421         $(extra-objs).
41422         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41423         .oS, $(libnldbl-routines)).
41424
41425         * Makerules (native-compile-mkdep-flags): Define.
41426         * sunrpc/Makefile (extra-objs): Add $(addprefix
41427         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41428         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41429         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41430         calling $(make-target-directory).
41431
41432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41433
41434         * bits/types.h (__snseconds_t): Removed.
41435         * time/time.h (struct timespec): Replace __snseconds_t with
41436         __syscall_slong_t.
41437         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41438         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41439         Likewise.
41440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41441         (__SNSECONDS_T_TYPE): Likewise.
41442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41443         (__SNSECONDS_T_TYPE): Likewise.
41444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41445         (__SNSECONDS_T_TYPE): Likewise.
41446
41447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41448
41449         * sysdeps/mach/hurd/bits/typesizes.h
41450         (__SYSCALL_SLONG_TYPE): New macro.
41451         (__SYSCALL_ULONG_TYPE): Likewise.
41452
41453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41454
41455         * bits/types.h (__syscall_slong_t): New type.
41456         (__syscall_ulong_t): Likewise.
41457
41458         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41459         (__SYSCALL_ULONG_TYPE): Likewise.
41460         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41461         (__SYSCALL_SLONG_TYPE): Likewise.
41462         (__SYSCALL_ULONG_TYPE): Likewise.
41463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41464         (__SYSCALL_SLONG_TYPE): Likewise.
41465         (__SYSCALL_ULONG_TYPE): Likewise.
41466         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41467         (__SYSCALL_SLONG_TYPE): Likewise.
41468         (__SYSCALL_ULONG_TYPE): Likewise.
41469
41470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41471
41472         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41473         Add sigaltstack-offsets.sym.
41474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41475         <sigaltstack-offsets.h>.
41476         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41477         longjmp_msg pointer.
41478         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41479         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41480         signal stack.
41481         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41482
41483 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41484
41485         * elf/stackguard-macros.h: Remove file.
41486         * sysdeps/generic/stackguard-macros.h: New file.
41487         * sysdeps/i386/stackguard-macros.h: Likewise.
41488         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41489         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41490         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41491         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41492         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41493         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41494         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41495         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41496         <elf/stackguard-macros.h>.
41497
41498         [BZ #14109]
41499         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41500         __aligned__ in attribute.
41501         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41502         (gregset_t): Likewise.
41503
41504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41505
41506         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41507         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41508         * sysdeps/x86_64/x32/Implies-after: New file.
41509
41510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41511
41512         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41513         and access return value for _dl_profile_fixup.  Use R10_LP to
41514         load frame size.
41515
41516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41517
41518         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41519
41520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41521
41522         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41523         * sysdeps/x86_64/x32/sysdep.h: New file.
41524
41525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41526
41527         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41528         * sysdeps/x86_64/setjmp.S: Likewise.
41529
41530 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41531
41532         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41533         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41534         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41535         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41536         remove unused global constant.
41537
41538 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41539
41540         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41541         include of <not-cancel.h>.
41542
41543 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41544
41545         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41546
41547 2012-05-15  Jeff Law  <law@redhat.com>
41548             Andreas Jaeger  <aj@suse.de>
41549
41550         [BZ #13594]
41551         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41552         out from...
41553         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41554         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41555         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41556         code changing __hst_map_handle.map.
41557
41558 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41559
41560         * configure.in (sysnames): Look for Implies-before and Implies-after
41561         files.
41562         * configure: Regenerated.
41563
41564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41565
41566         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41567         8-byte data alignment with LP_SIZE alignment.
41568
41569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41570
41571         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41572         into R10_LP.
41573
41574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41575
41576         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41577
41578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41579
41580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41581         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41583         Likewise.
41584         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41585
41586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41587
41588         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41589         (stackinfo_sub_sp): Likewise.
41590
41591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41592
41593         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41594         RAX_LP.
41595
41596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41597
41598         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41599         into R*_LP.
41600
41601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41602
41603         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41604         sizes into R*_LP.
41605
41606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41607
41608         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41609
41610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41611
41612         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41613         into R11_LP and load __x86_64_shared_cache_size_half into
41614         R8_LP.
41615
41616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41617
41618         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41619         R8_LP.
41620
41621 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41622
41623         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41624         logb for POWER7.
41625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41626         logbf for POWER7.
41627         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41628         logbl for POWER7.
41629         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41630         powerpc32/power7/fpu/s_logb.c via #include.
41631         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41632         powerpc32/power7/fpu/s_logbf.c via #include.
41633         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41634         powerpc32/power7/fpu/s_logbl.c via #include.
41635
41636 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41637
41638         * README.libm: Remove file.
41639
41640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41641
41642         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41643         count for x32.  Use R*_LP and omit operand-size suffix.
41644
41645 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41646
41647         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41648         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41649         * sysdeps/x86_64/x32/shlib-versions: New file.
41650
41651 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41652
41653         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41654         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41655         Use _dl_fatal_printf instead.
41656
41657 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41658
41659         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41660         set if not set by the user.  Do not allow for being unset.
41661         * sysdeps/unix/sysv/linux/configure: Regenerated.
41662
41663 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41664
41665         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41666         the `q' suffix from lea and replace .quad with ASM_ADDR.
41667
41668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41669
41670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41671         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41672         instead of $17.
41673         (PTR_DEMANGLE): Likewise.
41674
41675 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41676
41677         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41678         (LP_OP): Likewise.
41679         (ASM_ADDR): Likewise.
41680         (RAX_LP): Likewise.
41681         (RBP_LP): Likewise.
41682         (RBX_LP): Likewise.
41683         (RCX_LP): Likewise.
41684         (RDI_LP): Likewise.
41685         (RSI_LP): Likewise.
41686         (RSP_LP): Likewise.
41687         (R8_LP): Likewise.
41688         (R9_LP): Likewise.
41689         (R10_LP): Likewise.
41690         (R10_LP): Likewise.
41691         (R11_LP): Likewise.
41692         (R12_LP): Likewise.
41693         (R13_LP): Likewise.
41694         (R14_LP): Likewise.
41695         (R15_LP): Likewise.
41696
41697 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41698
41699         * sysdeps/x86_64/x32/dl-machine.h: New file.
41700
41701 2012-05-14  Andreas Jaeger  <aj@suse.de>
41702
41703         * manual/Makefile (subdir): Remove export of subdir.
41704         (all): Remove target.
41705         (.PHONY): Remove all from list.
41706         (mkinstalldirs): Remove.
41707         (.PHONY): Remove installdirs from list.
41708         ($(inst_infodir)/libc.info): Use make-target-directory.
41709         (installdirs): Remove.
41710         (subdir_%): Remove.
41711         (glibc-targets): Remove.
41712         (lib): Remove.
41713         (stubs): Remove.
41714         ($(objpfx)stubs ../po/manual.pot): Remove.
41715         ($(objpfx)stamp%): Remove.
41716         (make-target-directory): Remove.
41717         (subdir_install): Remove.
41718         (routines): Remove.
41719         (aux): Remove.
41720         (sources): Remove.
41721         (objects): Remove.
41722         (headers): Remove.
41723
41724         [BZ #13750]
41725         * manual/.gitignore: Remove, it's not needed anymore.
41726         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41727         all files in it.
41728         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41729         directory.
41730         (texis): Renamed to $(objpfx)texis.
41731         (texis-path): New, contains path to generated files.
41732         (chapters.%): Use texis-path for complete path, add extra argument
41733         libc-texinfo.sh.
41734         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41735         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41736         (summary,texi, stamp-summary): Use complete path of
41737         files. Generate files in build dir.
41738         (dir-add.texi): Build in build dir.
41739         (libm-err.texi,stamp-libm-err): Likewise.
41740         (version.texi, stamp-version): Likewise.
41741         (.%c.texi): Likewise.
41742         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41743         (mostlyclean): Remove target.
41744         (realclean): Remove target.
41745         (generated): Add new variable with contents from mostlyclean and
41746         realclean, remove entries duplicated in common-mostlyclean, add
41747         stamp-libm-err and stamp-version.
41748         (generated-dirs): Add libc directory.
41749         ($(inst_infodir)/libc.info): Install files from build dir.
41750
41751         * manual/install.texi (Configuring and compiling): Adjust since
41752         the info files are not part of the tar ball anymore.
41753
41754 2012-05-14  Andreas Jaeger  <aj@suse.de>
41755
41756         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41757         variable.
41758
41759 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41760
41761         [BZ #13717]
41762         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41763         to 2.2.0 where earlier.
41764         * sysdeps/unix/sysv/linux/configure: Regenerated.
41765         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41766         Remove conditional code.
41767         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41768         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41769         Remove conditional code.
41770         [!__NR_lchown]: Likewise.
41771         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41772         [__NR_lchown]: Likewise.
41773         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41774         comment referencing __ASSUME_LCHOWN_SYSCALL.
41775         * sysdeps/unix/sysv/linux/i386/sigaction.c
41776         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41777         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41778         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41779         Remove conditional code.
41780         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41781         (__protocol_available): Remove #if 0 code.
41782         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41783         conditional code.
41784         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41785         * sysdeps/unix/sysv/linux/kernel-features.h
41786         (__ASSUME_GETCWD_SYSCALL): Don't define.
41787         (__ASSUME_REALTIME_SIGNALS): Likewise.
41788         (__ASSUME_PREAD_SYSCALL): Likewise.
41789         (__ASSUME_PWRITE_SYSCALL): Likewise.
41790         (__ASSUME_POLL_SYSCALL): Likewise.
41791         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41792         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41793         non-SPARC.
41794         (__ASSUME_SIOCGIFNAME): Don't define.
41795         (__ASSUME_MSG_NOSIGNAL): Likewise.
41796         (__ASSUME_SENDFILE): Define unconditionally.
41797         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41798         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41799         conditional code.
41800         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41801         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41802         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41803         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41804         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41805         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41806         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41808         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41809         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41811         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41812         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41814         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41815         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41817         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41818         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41820         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41821         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41823         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41824         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41826         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41827         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41829         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41830         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41831         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41832         Remove conditional code.
41833         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41834         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41835         Remove conditional code.
41836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41837         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41838         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41839         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41840         Remove conditional code.
41841         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41842         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41843         Remove conditional code.
41844         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41845         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41846         Remove conditional code.
41847         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41848         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41849         Remove conditional code.
41850         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41851         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41852         Remove conditional code.
41853         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41854         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41855         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41856         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41857         * sysdeps/unix/sysv/linux/sigaction.c
41858         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41859         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41860         * sysdeps/unix/sysv/linux/sigpending.c
41861         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41862         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41863         * sysdeps/unix/sysv/linux/sigprocmask.c
41864         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41865         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41866         * sysdeps/unix/sysv/linux/sigsuspend.c
41867         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41868         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41869         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41870         (__libc_missing_rt_sigs): Remove.
41871         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41872         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41873         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41874         Remove conditional code.
41875         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41876         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41877         return 1.
41878         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41879         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41880         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41881         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41882
41883 2012-05-14  Andreas Jaeger  <aj@suse.de>
41884
41885         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41886         it's not used in glibc.
41887         (__coshm1): Likewise.
41888         (__acosh1p): Likewise.
41889         (__sgn): Likewise.
41890
41891         * manual/string.texi (Copying and Concatenation): Add missing
41892         variable in concat example.
41893         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41894
41895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41896
41897         [BZ #14103]
41898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41899         __builtin_clzl with __builtin_clzll.
41900
41901 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41902
41903         [BZ #14104]
41904         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41905         libc_freeres_ptr.
41906
41907 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41908
41909         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41910         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41911         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41912         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41913
41914 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41915
41916         * NEWS: Update ia64 info.
41917
41918 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41919
41920         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41921         used as bcopy.
41922
41923 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41924
41925         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41926         * sysdeps/unix/syscalls.list (dup3): Likewise.
41927         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41928         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41929
41930 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41931
41932         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41933         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41934
41935 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41936
41937         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41938         thread pointer.
41939         (TLS_IE): Use mov/add instead of movq/addq to load thread
41940         pointer.
41941         (TLS_GD_PREFIX): New.
41942         (TLS_GD): Use it.
41943
41944 2012-05-11  David S. Miller  <davem@davemloft.net>
41945
41946         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41947         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41948         (_FPU_SETCW): Likewise.
41949
41950 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41951
41952         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41953         is 32-byte aligned.
41954
41955 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41956
41957         [BZ #11837]
41958         * iconvdata/gb18030.c: Update tables.
41959         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41960         characters specially.
41961         (BODY for TO_LOOP): Add encoding of missing ranges.
41962
41963 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41964
41965         [BZ #13673]
41966         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41967         * sysdeps/mach/hurd/dup3.c: Likewise.
41968         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41969         * sysdeps/powerpc/memmove.c:: Likewise.
41970
41971 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41972
41973         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41974         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41975
41976 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41977
41978         * elf/elf.h (R_X86_64_RELATIVE64): New.
41979         (R_X86_64_NUM): Updated.
41980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41981         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41982         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41983         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41984         tst-quad1pie tst-quad2pie
41985         (modules-names): Add tst-quadmod1 tst-quadmod2.
41986         ($(objpfx)tst-quad1): New dependency.
41987         ($(objpfx)tst-quad2): Likewise.
41988         ($(objpfx)tst-quad1pie): Likewise.
41989         ($(objpfx)tst-quad2pie): Likewise.
41990         * sysdeps/x86_64/tst-quad1.c: New file.
41991         * sysdeps/x86_64/tst-quad1pie.c: New file.
41992         * sysdeps/x86_64/tst-quad2.c: Likewise.
41993         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41994         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41995         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41996         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41997         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41998
41999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42000
42001         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42002         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42003         * streams/stropts.h (t_scalar_t): Define type.
42004
42005         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42006         (_PATH_PRESERVE): Set to "/var/lib".
42007         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42008
42009         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42010         instead of int.
42011
42012         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42013         if __dir_mkfile succeeded.
42014
42015         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42016         checking for _hurd_dtablesize.  Unlock it right after having
42017         finished _hurd_dtable allocation.
42018
42019 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42020
42021         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42022         * sysdeps/mach/hurd/configure: Regenerated.
42023         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42024         special-casing to...
42025         * sysdeps/gnu/configure.in: ... this new file.
42026         * sysdeps/unix/sysv/linux/configure: Regenerated.
42027         * sysdeps/gnu/configure: New generated file.
42028
42029         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42030         for Linux: use nsec instead of usec, as well as:
42031         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42032         members of type struct timespec.
42033         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42034         New macros.
42035         (struct stat64): Likewise.
42036         (_STATBUF_ST_NSEC): New macro.
42037         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42038
42039         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42040         __strtoul_internal rather than strtoul.
42041
42042 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42043
42044         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42045         and reject them.
42046
42047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42048
42049         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42050         which preserves existing values.
42051         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42052
42053 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42054
42055         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42056         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42057         greater than FD_SETSIZE.
42058
42059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42060
42061         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42062         allocated, call __vm_protect to finish enabling the existing space, and
42063         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42064         allocate the remainder.
42065
42066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42067
42068         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42069         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42070
42071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42072
42073         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42074         sysdeps/mach/hurd/readlink.c.
42075
42076         * posix/tst-sysconf.c (posix_options): Only use
42077         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42078         _POSIX_SYNCHRONIZED_IO when they are defined
42079         * sysdeps/mach/hurd/bits/posix_opt.h:
42080         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42081         (_XOPEN_REALTIME): Undefine macro.
42082         (_XOPEN_REALTIME_THREADS): Undefine macro.
42083         (_XOPEN_SHM): Undefine macro.
42084         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42085         macro to -1.
42086         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42087         macro to -1.
42088         (_POSIX_ASYNC_IO): Undefine macro.
42089         (_POSIX_PRIORITIZED_IO): Undefine macro.
42090         (_POSIX_SPIN_LOCKS): Define macro to -1.
42091
42092         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42093         SA_NODEFER, SA_RESETHAND.
42094         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42095         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42096         F_DUPFD_CLOEXEC.
42097
42098 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42099
42100         * elf/Makefile (pldd-modules): Define unconditionally.
42101
42102 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42103
42104         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42105
42106 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42107
42108         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42109         Return ENOENT when name is empty.
42110         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42111
42112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42113
42114         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42115
42116         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42117
42118 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42119
42120         Fix mlock in all cases except non-readable pages.
42121         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42122         instead of VM_PROT_ALL as parameter to __vm_wire function.
42123
42124         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42125         (__mkdir): When path is `/', just fail with EEXIST.
42126         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42127
42128 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42129
42130         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42131         <sys/uio.h> (for writev).
42132         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42133         and <sys/param.h> (for MIN).
42134
42135 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42136
42137         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42138         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42139         if interrupted.
42140
42141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42142
42143         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42144         Depend on against $(link-rpcuserlibs).
42145
42146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42147
42148         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42149         (__libc_stack_end): Do not use attribute_relro.
42150         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42151         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42152         to libthread-provided value.
42153         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42154         attribute_relro.
42155
42156 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42157
42158         [BZ #3748]
42159         * bits/libc-lock.h (__libc_once_get): New macro.
42160         * sysdeps/mach/bits/libc-lock.h: Likewise.
42161         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42163         instead of using implementation details.
42164
42165         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42166         * libio/freopen.c: Likewise.
42167         * libio/freopen64.c: Likewise.
42168         * misc/syslog.c: Likewise.
42169         * nscd/connections.c: Likewise.
42170         * nscd/netgroupcache.c: Likewise.
42171         * sysdeps/posix/getcwd.c: Likewise.
42172
42173 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42174
42175         * math/w_ilogbf.c: Add #include <limits.h>.
42176
42177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42178
42179         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42180         path instead of returning without unlocking.
42181
42182         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42183         immediate-write ioctls.
42184         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42185
42186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42187
42188         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42189         __builtin_frame_address instead of making assumptions about the
42190         location of the return address relative to DATA.  Force early load of
42191         the return address.
42192         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42193         __builtin_frame_address.
42194
42195         dup3 for GNU Hurd.
42196         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42197         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42198         implement dup3 and do some further code clean-ups.
42199         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42200         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42201
42202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42203
42204         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42205
42206         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42207         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42208         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42209         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42210         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42211         d->port.lock.
42212
42213         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42214         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42215         when handler == SIG_ERR, not when handler != SIG_ERR.
42216
42217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42218
42219         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42220         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42221         definitions.
42222
42223         accept4 for GNU Hurd.
42224         * include/sys/socket.h (__libc_accept4): New prototype.
42225         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42226         to implement __libc_accept4.
42227         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42228         __libc_accept4.
42229         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42230
42231         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42232         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42233         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42234         signal-defines.sym.
42235
42236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42237
42238         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42239
42240 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42241
42242         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42243         assertion on O_CLOEXEC flag.
42244         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42245         * hurd/intern-fd.c: Likewise.
42246         * hurd/port2fd.c: Likewise.
42247
42248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42249
42250         [BZ #3906]
42251         * bits/in.h (IPV6_PKTINFO): Define new macro.
42252         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42253
42254 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42255
42256         [BZ #13954]
42257         [BZ #13955]
42258         [BZ #13956]
42259         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42260         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42261         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42262         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42263         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42264         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42265         * math/libm-test.inc (logb_test) : Additional logb tests.
42266
42267 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42268             Andreas Jaeger  <aj@suse.de>
42269
42270         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42271         * configure: Regenerated.
42272         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42273         * config.make.in (link-obsolete-rpc): New substituted variable.
42274         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42275         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42276         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42277         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42278         so that libc.a contains the symbols.
42279         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42280         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42281         * sunrpc/auth_none.c: Likewise.
42282         * sunrpc/auth_unix.c: Likewise.
42283         * sunrpc/authdes_prot.c: Likewise.
42284         * sunrpc/authuxprot.c: Likewise.
42285         * sunrpc/clnt_gen.c: Likewise.
42286         * sunrpc/clnt_perr.c: Likewise.
42287         * sunrpc/clnt_raw.c: Likewise.
42288         * sunrpc/clnt_simp.c: Likewise.
42289         * sunrpc/clnt_tcp.c: Likewise.
42290         * sunrpc/clnt_udp.c: Likewise.
42291         * sunrpc/clnt_unix.c: Likewise.
42292         * sunrpc/des_crypt.c: Likewise.
42293         * sunrpc/des_soft.c: Likewise.
42294         * sunrpc/get_myaddr.c: Likewise.
42295         * sunrpc/key_call.c: Likewise.
42296         * sunrpc/key_prot.c: Likewise.
42297         * sunrpc/netname.c: Likewise.
42298         * sunrpc/pm_getmaps.c: Likewise.
42299         * sunrpc/pm_getport.c: Likewise.
42300         * sunrpc/pmap_clnt.c: Likewise.
42301         * sunrpc/pmap_prot.c: Likewise.
42302         * sunrpc/pmap_prot2.c: Likewise.
42303         * sunrpc/pmap_rmt.c: Likewise.
42304         * sunrpc/publickey.c: Likewise.
42305         * sunrpc/rpc_cmsg.c: Likewise.
42306         * sunrpc/rpc_common.c: Likewise.
42307         * sunrpc/rpc_dtable.c: Likewise.
42308         * sunrpc/rpc_prot.c: Likewise.
42309         * sunrpc/rpc_thread.c: Likewise.
42310         * sunrpc/rtime.c: Likewise.
42311         * sunrpc/svc.c: Likewise.
42312         * sunrpc/svc_auth.c: Likewise.
42313         * sunrpc/svc_raw.c: Likewise.
42314         * sunrpc/svc_run.c: Likewise.
42315         * sunrpc/svc_tcp.c: Likewise.
42316         * sunrpc/svc_udp.c: Likewise.
42317         * sunrpc/svc_unix.c: Likewise.
42318         * sunrpc/svcauth_des.c: Likewise.
42319         * sunrpc/xcrypt.c: Likewise.
42320         * sunrpc/xdr.c: Likewise.
42321         * sunrpc/xdr_array.c: Likewise.
42322         * sunrpc/xdr_float.c: Likewise.
42323         * sunrpc/xdr_intXX_t.c: Likewise.
42324         * sunrpc/xdr_mem.c: Likewise.
42325         * sunrpc/xdr_rec.c: Likewise.
42326         * sunrpc/xdr_ref.c: Likewise.
42327         * sunrpc/xdr_sizeof.c: Likewise.
42328         * sunrpc/xdr_stdio.c: Likewise.
42329
42330 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42331
42332         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42333         change.  Update copyright years.
42334
42335 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42336
42337         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42338
42339 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42340             Joseph Myers  <joseph@codesourcery.com>
42341             Paul Pluzhnikov  <ppluzhnikov@google.com>
42342
42343         [BZ #14012]
42344         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42345         requiring rpcgen.
42346         [cross-compiling] (extra-libs): Likewise.
42347         [cross-compiling] (extra-libs-others): Likewise.
42348         [cross-compiling] (librpcsvc-routines): Likewise.
42349         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42350         [cross-compiling] (omit-deps): Likewise.
42351         (sunrpc-CPPFLAGS): New variable.
42352         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42353         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42354         (cross-rpcgen-objs): New variable.
42355         (extra-objs): Append $(cross-rpcgen-objs).
42356         ($(cross-rpcgen-objs)): New rule.
42357         ($(objpfx)cross-rpcgen): Likewise.
42358         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42359         comment.
42360         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42361         ($(objpfx)x%.stmp): Likewise.
42362         * sunrpc/proto.h [IS_IN_build] (_): Define.
42363         [IS_IN_build] (_libc_intl_domainname): Likewise.
42364
42365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42366
42367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42368         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42369         and R_X86_64_TPOFF64.
42370
42371 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42372
42373         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42374         sysdeps/unix/sysv/syscalls.list.
42375         (stime): Likewise.
42376         (utime): Likewise.
42377         * sysdeps/unix/sysv/syscalls.list: Remove file.
42378
42379 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42380
42381         [BZ #3440]
42382         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42383         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42384         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42385         (__LC_IDENTIFICATION): Make these macros useful in #if
42386         expressions, as required by C99.
42387
42388 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42389
42390         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42391         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42392         after this.
42393
42394 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42395
42396         * stdlib/longlong.h: Updated from GCC.
42397
42398 2012-05-09  Andreas Jaeger  <aj@suse.de>
42399
42400         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42401         default is first entry.
42402         (run_mode): Set type.
42403         (main): Remove informal message about syslog.
42404         (options): Fix typo.
42405
42406         [BZ #14053]
42407         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42408         to asm.
42409         (lrint): Likewise.
42410         (llrintf): Likewise.
42411         (llrint): Likewise.
42412         (rint): Likewise.
42413         (rintf): Likewise.
42414         (nearbyint): Likewise.
42415         (nearbyintf): Likewise.
42416
42417 2012-05-09  Andreas Jaeger  <aj@suse.de>
42418             Pedro Alves  <palves@redhat.com>
42419
42420         * nscd/nscd.c (run_mode): Use enum.
42421         (main): Cleanup coding style issue.
42422
42423 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42424             Andreas Jaeger  <aj@suse.de>
42425
42426         * nscd/nscd.c (go_background): Replaced with...
42427         (run_mode): ... this.
42428         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42429         (options): Add -F --foreground.
42430         (main): Implement it.
42431         (parse_opt): Parse it.
42432
42433 2012-05-09  Andreas Jaeger  <aj@suse.de>
42434
42435         [BZ #14083]
42436         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42437         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42438         -Wconversion warning.
42439         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42440         Likewise.
42441
42442 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42443
42444         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42445         == 0.
42446         (LC_ALL): Use macro-int-constant.
42447         (LC_COLLATE): Likewise.
42448         (LC_CTYPE): Likewise.
42449         (LC_MESSAGES): Likewise.
42450         (LC_MONETARY): Likewise.
42451         (LC_NUMERIC): Likewise.
42452         (LC_TIME): Likewise.
42453         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42454         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42456         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42457         Specify type.
42458         [C99-based standards] (float_t): Expect type.
42459         [C99-based standards] (double_t): Expect type.
42460         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42461         type.
42462         [C99-based standards] (HUGE_VALL): Likewise.
42463         [C99-based standards] (INFINITY): Likewise.
42464         [C99-based standards] (NAN): Likewise.
42465         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42466         [C99-based standards] (FP_NAN): Likewise.
42467         [C99-based standards] (FP_NORMAL): Likewise.
42468         [C99-based standards] (FP_SUBNORMAL): Likewise.
42469         [C99-based standards] (FP_ZERO): Likewise.
42470         [C99-based standards] (FP_FAST_FMA): Use
42471         optional-macro-int-constant.  Specify type.  Require == 1.
42472         [C99-based standards] (FP_FAST_FMAF): Likewise.
42473         [C99-based standards] (FP_FAST_FMAL): Likewise.
42474         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42475         [C99-based standards] (FP_ILOGBNAN): Likewise.
42476         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42477         Specify type.
42478         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42479         [C99-based standards] (math_errhandling): Specify type.
42480         [ISO99 || ISO11] (signgam): Do not allow.
42481         [non-C99-based standards] (copysignf): Do not allow.
42482         [non-C99-based standards] (exp2f): Likewise.
42483         [non-C99-based standards] (log2f): Likewise.
42484         [non-C99-based standards] (modff): Allow.
42485         [non-C99-based standards] (erff): Do not allow.
42486         [non-C99-based standards] (erfcf): Likewise.
42487         [non-C99-based standards] (gammaf): Likewise.
42488         [non-C99-based standards] (hypotf): Likewise.
42489         [non-C99-based standards] (j0f): Likewise.
42490         [non-C99-based standards] (j1f): Likewise.
42491         [non-C99-based standards] (jnf): Likewise.
42492         [non-C99-based standards] (lgammaf): Likewise.
42493         [non-C99-based standards] (tgammaf): Likewise.
42494         [non-C99-based standards] (y0f): Likewise.
42495         [non-C99-based standards] (y1f): Likewise.
42496         [non-C99-based standards] (ynf): Likewise.
42497         [non-C99-based standards] (isnanf): Likewise.
42498         [non-C99-based standards] (acoshf): Likewise.
42499         [non-C99-based standards] (asinhf): Likewise.
42500         [non-C99-based standards] (atanhf): Likewise.
42501         [non-C99-based standards] (cbrtf): Likewise.
42502         [non-C99-based standards] (expm1f): Likewise.
42503         [non-C99-based standards] (ilogbf): Likewise.
42504         [non-C99-based standards] (log1pf): Likewise.
42505         [non-C99-based standards] (logbf): Likewise.
42506         [non-C99-based standards] (nextafterf): Likewise.
42507         [non-C99-based standards] (remainderf): Likewise.
42508         [non-C99-based standards] (rintf): Likewise.
42509         [non-C99-based standards] (scalbf): Likewise.
42510         [non-C99-based standards] (copysignl): Likewise.
42511         [non-C99-based standards] (exp2l): Likewise.
42512         [non-C99-based standards] (log2l): Likewise.
42513         [non-C99-based standards] (modfl): Allow.
42514         [non-C99-based standards] (erfl): Do not allow.
42515         [non-C99-based standards] (erfcl): Likewise.
42516         [non-C99-based standards] (gammal): Likewise.
42517         [non-C99-based standards] (hypotl): Likewise.
42518         [non-C99-based standards] (j0l): Likewise.
42519         [non-C99-based standards] (j1l): Likewise.
42520         [non-C99-based standards] (jnl): Likewise.
42521         [non-C99-based standards] (lgammal): Likewise.
42522         [non-C99-based standards] (tgammal): Likewise.
42523         [non-C99-based standards] (y0l): Likewise.
42524         [non-C99-based standards] (y1l): Likewise.
42525         [non-C99-based standards] (ynl): Likewise.
42526         [non-C99-based standards] (isnanl): Likewise.
42527         [non-C99-based standards] (acoshl): Likewise.
42528         [non-C99-based standards] (asinhl): Likewise.
42529         [non-C99-based standards] (atanhl): Likewise.
42530         [non-C99-based standards] (cbrtl): Likewise.
42531         [non-C99-based standards] (expm1l): Likewise.
42532         [non-C99-based standards] (ilogbl): Likewise.
42533         [non-C99-based standards] (log1pl): Likewise.
42534         [non-C99-based standards] (logbl): Likewise.
42535         [non-C99-based standards] (nextafterl): Likewise.
42536         [non-C99-based standards] (remainderl): Likewise.
42537         [non-C99-based standards] (rintl): Likewise.
42538         [non-C99-based standards] (scalbl): Likewise.
42539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42540         [non-C99-based standards] (FP_*): Do not allow.
42541         [C99-based standards] (FP_*): Change to
42542         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42543         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42544         allow.
42545         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42546         (SIG_ERR): Likewise.
42547         [X/Open-based standards] (SIG_HOLD): Likewise.
42548         (SIG_IGN): Likewise.
42549         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42550         positive value.
42551         (SIGFPE): Likewise.
42552         (SIGILL): Likewise.
42553         (SIGINT): Likewise.
42554         (SIGSEGV): Likewise.
42555         (SIGTER): Likewise.
42556         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42557         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42558         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42559         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42560         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42561         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42562         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42563         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42564         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42565         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42566         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42567         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42568         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42569         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42570         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42571         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42572         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42573         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42574         [X/Open-based standards] (SIGTRAP): Likewise.
42575         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42576         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42577         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42578         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42579         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42580         allow.
42581
42582 2012-05-08  Ian Wienand  <ianw@vmware.com>
42583
42584         [BZ #14080]
42585         * time/tzset.c (__tzset_parse_tz): Update default rules for
42586         daylight time changes in the Energy Policy Act of 2005.
42587
42588 2012-05-09  Andreas Jaeger  <aj@suse.de>
42589
42590         [BZ #13983]
42591         * elf/ldconfig.c (parse_conf): Change string to make clear that
42592         ldconfig only issued a warning if ld.so.conf does not exist.
42593
42594 2012-05-08  David S. Miller  <davem@davemloft.net>
42595
42596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42597         movxtod instead of popping the value on the stack.
42598
42599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42600
42601 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42602
42603         * config.h.in: Add HAVE_ARM_PCS_VFP.
42604
42605 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42606
42607         [BZ #13979]
42608         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42609         checking but the checks are disabled for any reason.
42610
42611 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42612
42613         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42614         and ELF64_R_TYPE with ELFW(R_TYPE).
42615
42616 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42617
42618         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42619         (ulimit): Likewise.
42620
42621         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42622         (settimeofday): Likewise.
42623
42624 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42625
42626         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42627         a struct th_u2 inside the union, and move tu_block/tu_code into
42628         a new th_u3 union of tu_block/tu_code inside of that.  Move
42629         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42630         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42631         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42632         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42633         (th_stuff): Change to th_u1.tu_stuff.
42634         (th_data): Define.
42635         (th_msg): Change to th_u1.th_u2.tu_data.
42636
42637 2012-05-07  David S. Miller  <davem@davemloft.net>
42638
42639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42640
42641         [BZ #14074]
42642         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42643         (SETUP_PIC_REG): Use it.
42644         (SETUP_PIC_REG_LEAF): Use it.
42645
42646 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42647
42648         [BZ #13885]
42649         [BZ #13923]
42650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42651         USE_AS_EXPM1L.
42652         (EXPL_FINITE): Likewise.
42653         (FLDLOG): Likewise.
42654         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42655         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42656         e_expl.S.
42657         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42658         USE_AS_EXPM1L.
42659         (EXPL_FINITE): Likewise.
42660         (FLDLOG): Likewise.
42661         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42662         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42663         e_expl.S.
42664         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42665         test of -max_value argument for long double.
42666         * sysdeps/i386/fpu/libm-test-ulps: Update.
42667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42668
42669 2012-05-06  David S. Miller  <davem@davemloft.net>
42670
42671         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42672         quad soft-float symbols whose references which are compiler
42673         generated.
42674         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42675
42676 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42677
42678         [BZ #13884]
42679         [BZ #13914]
42680         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42681         USE_AS_EXP10L.
42682         (EXPL_FINITE): Likewise.
42683         (FLDLOG): Likewise.
42684         (c0): Likewise.
42685         (c1): Likewise.
42686         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42687         Adjust comments for base varying.
42688         (__expl_finite): Change alias to EXPL_FINITE.
42689         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42690         e_expl.S.
42691         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42692         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42694         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42696         USE_AS_EXP10L.
42697         (EXPL_FINITE): Likewise.
42698         (FLDLOG): Likewise.
42699         (c0): Likewise.
42700         (c1): Likewise.
42701         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42702         Adjust comments for base varying.
42703         (__expl_finite): Change alias to EXPL_FINITE.
42704         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42705         tests for bugs.
42706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42707
42708         [BZ #14064]
42709         * math/libm-test.inc (check_float_internal): Correct ulp
42710         calculation for subnormal expected results.
42711
42712 2012-05-06  Andreas Jaeger  <aj@suse.de>
42713
42714         * Makeconfig (+math-flags): New, set to -frounding-math.
42715         (+cflags): Add +math-flags so that all of glibc gets compiled with
42716         it.
42717
42718         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42719
42720 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42721
42722         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42723         Disable one test.
42724
42725         [BZ #13787]
42726         [BZ #13922]
42727         [BZ #14036]
42728         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42729         (__ieee754_expl): Allow for and saturate large arguments.
42730         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42731         (u_threshold): Likewise.
42732         (__exp): Call __ieee754_exp before checking for overflow and
42733         underflow.
42734         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42735         (u_threshold): Likewise.
42736         (__expf): Call __ieee754_expf before checking for overflow and
42737         underflow.
42738         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42739         (u_threshold): Likewise.
42740         (__expl): Call __ieee754_expl before checking for overflow and
42741         underflow.
42742         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42743         (__ieee754_expl): Allow for and saturate large arguments.
42744         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42745         missing overflow exception on overflow.
42746         (expm1_test): Do not allow missing overflow exception on overflow.
42747
42748         * sysdeps/i386/fpu/e_expl.c: Move to ...
42749         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42750         rather than using inline asm.
42751         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42752         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42753         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42754
42755         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42756         (nice): Likewise.
42757         (poll): Likewise.
42758         (signal): Likewise.
42759         (time): Likewise.
42760         (times): Likewise.
42761
42762 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42763
42764         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42765         sysdeps/unix/common/syscalls.list.
42766         (fchmod): Likewise.
42767         (fchown): Likewise.
42768         (ftruncate): Likewise.
42769         (getrusage): Likewise.
42770         (gettimeofday): Likewise.
42771         (setpgid): Likewise.
42772         (setregid): Likewise.
42773         (setreuid): Likewise.
42774         (sigaction): Likewise.
42775         (truncate): Likewise.
42776         (vhangup): Likewise.
42777         * sysdeps/unix/common/syscalls.list: Remove file.
42778         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42779         * sysdeps/unix/sysv/linux/Implies: Likewise.
42780
42781 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42782
42783         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42785         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42786         Moved to ...
42787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42788         Here.
42789         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42790         to ...
42791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42792         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42793         to ...
42794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42795         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42796         to ...
42797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42798         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42799         to ...
42800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42801         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42802         to ...
42803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42804         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42805         to ...
42806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42807         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42808         to ...
42809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42810         Here.
42811         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42812         to ...
42813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42814         Here.
42815         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42816         to ...
42817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42818         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42819         Moved to ...
42820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42821         Here.
42822         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42823         to ...
42824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42825
42826 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42827
42828         * sysdeps/unix/common/bits/dirent.h: Remove file.
42829         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42830
42831         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42832         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42833         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42834         * sysdeps/unix/bsd/isatty.c: Likewise.
42835         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42836         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42837         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42838
42839 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840
42841         [BZ #13563]
42842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42843         long double comparison inaccuracies.
42844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42846
42847 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42848
42849         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42850         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42851
42852 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42853
42854         [BZ #14049]
42855         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42856         nonzero digits before rounding a hex value.
42857         * stdlib/tst-strtod.c (tests): Add another test.
42858
42859 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42860
42861         * sysdeps/s390/fpu/libm-test-ulps: Update.
42862
42863 2012-05-03  Andreas Jaeger  <aj@suse.de>
42864
42865         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42866         does not get optimized out.
42867         (malloc_opt_barrier): New.
42868
42869 2012-05-03  Andreas Jaeger  <aj@suse.de>
42870             Roland McGrath  <roland@hack.frob.com>
42871
42872         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42873         intermediate file deletion.
42874         (generated): Add .symlist files.
42875
42876 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42877
42878         [BZ #13775]
42879         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42880         Redirect under this condition.
42881         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42882         [__USE_GNU] (__dprintf_chk): Not under this condition.
42883         [__USE_GNU] (__vdprintf_chk): Likewise.
42884         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42885         under this condition.
42886         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42887         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42888         [__USE_XOPEN2K8] (vdprintf): Likewise.
42889         [__USE_GNU] (__dprintf_chk): Not under this condition.
42890         [__USE_GNU] (__vdprintf_chk): Likewise.
42891         [__USE_GNU] (dprintf): Likewise.
42892         [__USE_GNU] (vdprintf): Likewise.
42893
42894 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42895
42896         * elf/Makefile (common-generated): Set this instead of generated for
42897         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42898         $(all-built-dso)-derived lists.
42899
42900 2012-05-03  Andreas Jaeger  <aj@suse.de>
42901
42902         * sysdeps/i386/fpu/libm-test-ulps: Update.
42903
42904         * FAQ: Removed.
42905         * FAQ.in: Likewise.
42906         * scripts/gen-FAQ.pl: Likewise.
42907         * manual/install.texi (Installation): Point to online location of
42908         FAQ.
42909         * Makefile (files-for-dist): Remove FAQ.
42910         (FAQ): Remove.
42911
42912 2012-05-02  Allan McRae  <allan@archlinux.org>
42913
42914         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42915         (LDFLAGS-reldepmod5.so): Likewise.
42916         (LDFLAGS-reldep6mod1.so): Likewise.
42917         (LDFLAGS-reldep6mod4.so): Likewise.
42918         (LDFLAGS-reldep8mod3.so): Likewise.
42919         (LDFLAGS-unload4mod1.so): Likewise.
42920         (LDFLAGS-unload4mod2.so): Likewise.
42921         (LDFLAGS-tst-initorder): Likewise.
42922         (LDFLAGS-tst-initordera2.so): Likewise.
42923         (LDFLAGS-tst-initordera3.so): Likewise.
42924         (LDFLAGS-tst-initordera4.so): Likewise.
42925         (LDFLAGS-tst-initorderb2.so): Likewise.
42926         (LDFLAGS-noload): Likewise.
42927         (LDFLAGS-next): Likewise.
42928         (LDFLAGS-order2mod1.so): Likewise.
42929         (LDFLAGS-order2mod2.so): Likewise.
42930         (LDFLAGS-tst-initorder2): Likewise.
42931         (LDFLAGS-tst-initorder2a.so): Likewise.
42932         (LDFLAGS-tst-initorder2b.so): Likewise.
42933         (LDFLAGS-tst-initorder2c.so): Likewise.
42934         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42935
42936 2012-05-02  David S. Miller  <davem@davemloft.net>
42937
42938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42939
42940 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42941
42942         [BZ #14055]
42943         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42944
42945 2012-05-02  Andreas Jaeger  <aj@suse.de>
42946
42947         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42948         since we manipulate rounding mode.
42949         (CPPFLAGS-test-idouble.c): Likewise.
42950         (CPPFLAGS-test-ifloat.c): Likewise.
42951         (CFLAGS-test-ldouble.c): Likewise.
42952         (CFLAGS-test-double.c): Likewise.
42953         (CFLAGS-test-float.c): Likewise.
42954         (CFLAGS-test-misc.c): Likewise.
42955         (CFLAGS-test-test-fenv.c): Likewise.
42956
42957 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958
42959         [BZ #2550]
42960         [BZ #2570]
42961         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42962         comparisons to determine direction to adjust input.
42963
42964 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42965
42966         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42967         output to the target.
42968
42969         * scripts/localplt.awk: New file.
42970         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42971         (check-localplt-CFLAGS): Variable removed.
42972         ($(all-built-dso:=.jmprel)): New static pattern rule.
42973         (generated): Add those targets.
42974         (localplt-built-dso): New variable.
42975         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42976
42977         * elf/check-localplt.c: File removed.
42978
42979         * scripts/check-execstack.awk: New file.
42980         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42981         (check-execstack-CFLAGS): Variable removed.
42982         ($(objpfx)check-execstack.h): Target removed.
42983         ($(objpfx)execstack-default): New target.
42984         (generated): Add that instead of check-execstack.h.
42985         ($(all-built-dso:=.phdr)): New static pattern rule.
42986         (generated): Add those targets.
42987         * elf/check-execstack.c: File removed.
42988
42989         * scripts/check-textrel.awk: New file.
42990         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42991         (check-textrel-CFLAGS): Variable removed.
42992         (all-built-dso): Use := to define.o
42993         ($(all-built-dso:=.dyn)): New static pattern rule.
42994         (generated): Add those targets.
42995         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42996         * config.make.in (READELF): New substituted variable.
42997         * elf/check-textrel.c: File removed.
42998
42999 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43000
43001         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43002         allow.
43003         * conform/data/ctype.h-data [C99-based standards] (isblank):
43004         Expect function.
43005         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43006         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43008         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43009         Specify type.  Require positive value.
43010         (EILSEQ): Likewise.
43011         (ERANGE): Likewise.
43012         [ISO || POSIX] (EILSEQ): Do not expect.
43013         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43014         Specify type.  Require positive value.
43015         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43016         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43017         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43018         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43019         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43020         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43021         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43022         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43023         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43024         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43025         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43026         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43027         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43028         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43029         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43030         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43031         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43032         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43033         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43034         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43035         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43036         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43037         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43038         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43039         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43040         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43041         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43042         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43043         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43044         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43045         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43046         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43047         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43048         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43049         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43050         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43051         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43052         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43053         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43054         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43055         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43056         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43057         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43058         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43059         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43060         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43061         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43062         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43063         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43064         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43065         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43066         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43067         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43068         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43069         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43070         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43071         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43072         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43073         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43074         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43075         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43076         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43077         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43078         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43079         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43080         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43081         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43082         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43083         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43084         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43085         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43086         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43087         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43088         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43089         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43090         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43091         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43092         Require >= 2.
43093         (FLT_ROUNDS): Expect as macro, not constant.
43094         (FLT_MANT_DIG): Use macro-int-constant.
43095         (DBL_MANT_DIG): Likewise.
43096         (LDBL_MANT_DIG): Likewise.
43097         (FLT_DIG): Likewise.
43098         (DBL_DIG): Likewise.
43099         (LDBL_DIG): Likewise.
43100         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43101         (DBL_MIN_EXP): Likewise.
43102         (LDBL_MIN_EXP): Likewise.
43103         (FLT_MAX_EXP): Use macro-int-constant.
43104         (DBL_MAX_EXP): Likewise.
43105         (LDBL_MAX_EXP): Likewise.
43106         (FLT_MAX_10_EXP): Likewise.
43107         (DBL_MAX_10_EXP): Likewise.
43108         (LDBL_MAX_10_EXP): Likewise.
43109         (FLT_MAX): Use macro-constant.
43110         (DBL_MAX): Likewise.
43111         (LDBL_MAX): Likewise.
43112         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43113         (DBL_EPSILON): Likewise.
43114         (LDBL_EPSILON): Likewise.
43115         (FLT_MIN): Likewise.
43116         (DBL_MIN): Likewise.
43117         (LDBL_MIN): Likewise.
43118         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43119         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43120         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43121         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43122         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43123         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43124         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43125         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43126         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43127         [ISO11] (FLT_TRUE_MIN): Likewise.
43128         [ISO11] (LDBL_TRUE_MIN): Likewise.
43129         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43130         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43131         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43132         (SCHAR_MAX): Likewise.
43133         (UCHAR_MAX): Likewise.
43134         (CHAR_MIN): Likewise.
43135         (CHAR_MAX): Likewise.
43136         (MB_LEN_MAX): Use macro-int-constant.
43137         (SHRT_MIN): Use macro-int-constant.  Specify type.
43138         (SHRT_MAX): Likewise.
43139         (USHRT_MAX): Likewise.
43140         (INT_MAX): Likewise.
43141         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43142         bound negative.
43143         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43144         bound with "U".
43145         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43146         bound with "L".
43147         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43148         bound negative.  Suffix upper bound with "L".
43149         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43150         bound with "UL".
43151         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43152         Specify type.
43153         [C99-based standards] (LLONG_MAX): Likewise.
43154         [C99-based standards] (ULLONG_MAX): Likewise.
43155         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43156         == 0.
43157         [ISO11] (max_align_t): Require type.
43158         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43159
43160         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43161         from $CFLAGS, without defining away __attribute__ calls.
43162         (checknamespace): Use $CFLAGS_namespace.
43163
43164         * conform/conformtest.pl (@keywords): Only include C99 keywords
43165         for standards based on C99 or C11.
43166
43167         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43168         Disable tests.
43169         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43170         UNIX98]: Likewise.
43171
43172         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43173         usability of symbols in #if.
43174
43175         * conform/conformtest.pl: If macro or constant types start
43176         "promoted:", expect the symbol to be of the following type
43177         promoted by the integer promotions.
43178
43179         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43180         in one place.  Also handle "macro-constant".
43181
43182         * conform/conformtest.pl: Only accept expected macro values with
43183         "==".  Parse all "macro" lines in one place.
43184         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43185
43186         * conform/conformtest.pl: Handle braced types on "constant" lines
43187         instead of handling "typed-constant".
43188         * conform/data/signal.h-data: Use "constant" instead of
43189         "typed-constant".
43190
43191         * conform/conformtest.pl: Handle "optional-" at start of lines in
43192         one place rather than duplicating several cases.  Handle each
43193         format of "macro" line with initial "optional-".
43194
43195         * conform/conformtest.pl: Only accept expected constant or
43196         optional-constant values with "==".  Parse all "constant" lines in
43197         one place.  Parse all "optional-constant" lines in one place.
43198         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43199         * conform/data/fmtmsg.h-data: Likewise.
43200         * conform/data/netinet/in.h-data: Likewise.
43201         * conform/data/tar.h-data: Likewise.
43202         * conform/data/limits.h-data: Use "==" form on "constant" and
43203         "optional-constant" lines.
43204
43205         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43206         Use -std=c99 for XOPEN2K.
43207         (@knownproblems): Remove.
43208         (newtoken): Don't check %isknown.
43209
43210         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43211         Do not expect macro.
43212         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43213         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43214         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43215         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43216         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43217         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43218         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43219         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43220         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43221         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43222         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43223         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43224         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43225         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43226         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43227         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43228         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43229         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43230         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43231         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43232         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43233         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43234         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43235         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43236         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43237         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43238         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43239         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43240         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43241         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43242         [XPG3] (acosh): Likewise.
43243         [XPG3] (asinh): Likewise.
43244         [XPG3] (atanh): Likewise.
43245         [XPG3] (cbrt): Likewise.
43246         [XPG3] (expm1): Likewise.
43247         [XPG3] (ilogb): Likewise.
43248         [XPG3] (log1p): Likewise.
43249         [XPG3] (logb): Likewise.
43250         [XPG3] (nextafter): Likewise.
43251         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43252         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43253         [XPG3] (remainder): Likewise.
43254         [XPG3] (rint): Likewise.
43255         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43256         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43257         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43258         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43259         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43260         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43261         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43262         [UNIX98 || XOPEN2K] (scalb): Expect.
43263         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43264         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43265         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43266         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43267         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43268         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43269         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43270         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43271         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43272         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43273         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43274         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43275         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43276         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43277         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43278         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43279         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43280         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43281         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43282         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43283         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43284         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43285         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43286         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43287         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43288         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43289         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43290         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43291         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43292         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43293         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43294         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43295         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43296         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43297         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43298         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43299         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43300         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43301         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43302         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43303         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43304         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43305         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43306         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43307         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43308         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43309         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43310         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43311         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43312         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43313         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43314         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43315         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43316         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43317         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43318         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43319         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43320         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43321         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43322         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43323         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43324         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43325         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43326         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43327         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43328         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43329         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43330         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43331         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43332         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43333         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43334         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43335         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43336         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43337         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43338         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43339         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43340         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43341         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43342         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43343         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43344         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43345         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43346         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43347         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43348         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43349         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43350         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43351         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43352         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43353         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43354         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43355         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43356         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43357         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43358         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43359         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43360         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43361         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43362         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43363         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43364         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43365         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43366         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43367         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43368         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43369         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43370         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43371         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43372         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43373         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43374         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43375         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43376         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43377         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43378         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43379         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43380         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43381         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43382         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43383         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43384         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43385         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43386         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43387         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43388         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43389         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43390         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43391         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43392         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43393         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43394         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43395         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43396         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43397         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43398         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43399         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43400
43401         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43402         _XOPEN_SOURCE_EXTENDED for XPG4.
43403
43404         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43405
43406         * Makeconfig (localtime): Remove variable.
43407         (inst_localtime-file): Likewise.
43408
43409 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43410
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43412         Update.
43413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43414         Update.
43415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43416         Update.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43418         Update.
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43420         Update.
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43422         Update.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43424         Update.
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43426         Update.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43428         Update.
43429
43430 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43431
43432         [BZ #2550]
43433         [BZ #2570]
43434         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43435         comparisons to determine direction to adjust input.
43436         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43437         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43438         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43439         Likewise.
43440         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43441         Likewise.
43442         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43443         Likewise.
43444         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43445         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43446         Likewise.
43447         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43448         Likewise.
43449         * math/libm-test.inc (nexttoward_test): Add more tests.
43450
43451 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43452
43453         [BZ #14040]
43454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43455         in version GLIBC_2.1, not GLIBC_2.0.
43456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43457         Likewise.
43458
43459 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43460
43461         [BZ #13942]
43462         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43463         (1 - x) * (1 + x).
43464         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43465         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43466         * math/libm-test.inc (acos_test): Add more tests.
43467         (asin_test): Likewise.
43468         * sysdeps/i386/fpu/libm-test-ulps: Update.
43469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470
43471         [BZ #14034]
43472         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43473         of square root.
43474         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43475         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43476         * math/libm-test.inc (acos_test_tonearest): New function.
43477         (acos_test_towardzero): Likewise.
43478         (acos_test_downward): Likewise.
43479         (acos_test_upward): Likewise.
43480         (asin_test_tonearest): Likewise.
43481         (asin_test_towardzero): Likewise.
43482         (asin_test_downward): Likewise.
43483         (asin_test_upward): Likewise.
43484         (main): Call the new functions.
43485         * sysdeps/i386/fpu/libm-test-ulps: Update.
43486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43487
43488         [BZ #13884]
43489         [BZ #13924]
43490         * math/e_exp10.c: Include <float.h>.
43491         (__ieee754_exp10): Handle underflow here rather than multiplying
43492         large negative argument by M_LN10.
43493         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43494         of __ieee754_expf.
43495         * math/e_exp10l.c: Include <float.h>.
43496         (__ieee754_exp10l): Handle underflow here rather than multiplying
43497         large negative argument by M_LN10l.
43498         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43499         spurious overflow exception on underflow.
43500
43501 2012-04-29  Marek Polacek  <polacek@redhat.com>
43502
43503         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43504         (__fortify_function): New macro.
43505         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43506         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43507         __extern_always_inline.
43508         * libio/bits/stdio2.h: Likewise.
43509         * libio/bits/stdio.h: Likewise.
43510         * string/string.h: Likewise.
43511         * string/bits/string3.h: Likewise.
43512         * include/stdio.h: Likewise.
43513         * stdlib/bits/stdlib.h: Likewise.
43514         * stdlib/stdlib.h: Likewise.
43515         * rt/bits/mqueue2.h: Likewise.
43516         * rt/mqueue.h: Likewise.
43517         * posix/bits/unistd.h: Likewise.
43518         * posix/unistd.h: Likewise.
43519         * io/bits/poll2.h: Likewise.
43520         * io/bits/fcntl2.h: Likewise.
43521         * io/fcntl.h: Likewise.
43522         * io/sys/poll.h: Likewise.
43523         * misc/bits/syslog.h: Likewise.
43524         * misc/bits/syslog-ldbl.h: Likewise.
43525         * misc/sys/syslog.h: Likewise.
43526         * socket/bits/socket2.h: Likewise.
43527         * socket/sys/socket.h: Likewise.
43528         * debug/tst-chk1.c: Likewise.
43529         * wcsmbs/bits/wchar2.h: Likewise.
43530         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43531         * wcsmbs/wchar.h: Likewise.
43532
43533 2012-04-29  Andreas Jaeger  <aj@suse.de>
43534
43535         * Makerules (tests): Remove enable-check-abi protection.
43536         (check-abi-warn): Remove.
43537         (check-abi-%): Remove check-abi-warn usage.
43538
43539         * configure.in: Remove check-abi configure option.
43540         * configure: Regenerated.
43541         * config.make.in (enable-check-abi): Remove.
43542
43543 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43544
43545         [BZ #14033]
43546         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43547         double functions to double *_finite functions.
43548
43549         [BZ #13941]
43550         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43551         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43552         LDBL_MIN_EXP.
43553         * stdio-common/Makefile (tests): Add tst-sprintf3.
43554         * stdio-common/tst-sprintf3.c: New file.
43555
43556         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43557         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43558
43559 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43560
43561         * conform/conformtest.pl: Remove duplicate typed-constant
43562         handling.
43563
43564 2012-04-28  David S. Miller  <davem@davemloft.net>
43565
43566         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43567         (check-abi-%): Remove AWK script prerequisite and explicit
43568         abilist directory.
43569         (check-abi): Rewrite to just diff the symlist with the abilist.
43570         (config-tls, config-abi-config): Delete, no longer used.
43571         (update-abi-%): Remove AWK script and explicit abilist directory.
43572         (update-abi): Rewrite to simply compare and conditionally copy the
43573         symlist and the sysdep abilist file.  Remove update-abi-config
43574         checks.
43575         * abilist/ld.abilist: Remove.
43576         * abilist/libBrokenLocale.abilist: Remove.
43577         * abilist/libanl.abilist: Remove.
43578         * abilist/libcrypt.abilist: Remove.
43579         * abilist/libdl.abilist: Remove.
43580         * abilist/librt.abilist: Remove.
43581         * abilist/libthread_db.abilist: Remove.
43582         * abilist/libutil.abilist: Remove.
43583         * scripts/extract-abilist.awk: Remove.
43584         * scripts/merge-abilist.awk: Remove.
43585         * sysdeps/generic/libcidn.abilist: New file.
43586         * sysdeps/generic/libnss_compat.abilist: New file.
43587         * sysdeps/generic/libnss_db.abilist: New file.
43588         * sysdeps/generic/libnss_dns.abilist: New file.
43589         * sysdeps/generic/libnss_files.abilist: New file.
43590         * sysdeps/generic/libnss_hesiod.abilist: New file.
43591         * sysdeps/generic/libnss_nis.abilist: New file.
43592         * sysdeps/generic/libnss_nisplus.abilist: New file.
43593         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43594         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43595         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43596         file.
43597         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43598         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43599         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43600         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43601         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43602         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43603         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43604         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43605         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43606         file.
43607         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43608         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43609         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43610         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43611         file.
43612         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43613         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43614         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43615         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43616         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43617         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43618         file.
43619         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43620         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43621         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43622         file.
43623         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43625         New file.
43626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43627         New file.
43628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43629         New file.
43630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43631         New file.
43632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43633         New file.
43634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43635         New file.
43636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43637         New file.
43638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43639         New file.
43640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43641         New file.
43642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43643         New file.
43644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43645         New file.
43646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43647         New file.
43648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43649         New file.
43650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43651         file.
43652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43653         New file.
43654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43655         New file.
43656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43657         file.
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43659         New file.
43660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43661         New file.
43662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43663         file.
43664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43665         New file.
43666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43667         New file.
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43669         New file.
43670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43671         New file.
43672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43673         New file.
43674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43675         New file.
43676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43678         file.
43679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43680         New file.
43681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43682         file.
43683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43684         file.
43685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43686         file.
43687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43688         file.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43690         file.
43691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43692         New file.
43693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43694         file.
43695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43696         file.
43697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43698         New file.
43699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43700         file.
43701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43703         file.
43704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43705         New file.
43706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43707         file.
43708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43709         file.
43710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43711         file.
43712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43713         file.
43714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43715         file.
43716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43717         New file.
43718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43719         file.
43720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43721         file.
43722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43723         New file.
43724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43725         file.
43726         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43727         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43728         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43729         file.
43730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43731         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43732         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43733         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43734         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43735         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43736         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43737         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43738         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43739         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43742         file.
43743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43744         New file.
43745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43746         file.
43747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43748         file.
43749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43750         file.
43751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43752         file.
43753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43754         file.
43755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43756         New file.
43757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43758         New file.
43759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43760         file.
43761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43762         New file.
43763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43764         file.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43767         file.
43768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43769         New file.
43770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43771         file.
43772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43773         file.
43774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43775         file.
43776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43777         file.
43778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43779         file.
43780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43781         New file.
43782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43783         New file.
43784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43785         file.
43786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43787         New file.
43788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43789         file.
43790
43791 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43792
43793         * conform/conformtest.pl: Fix typo in handling typed-constant from
43794         allow-header.
43795
43796 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43797
43798         * README: Cut down references to pre-2.6 Linux kernels and
43799         Linuxthreads.  Update lists of configurations in libc and ports
43800         and sort alphabetically.  Say "or newer" with Linux kernel version
43801         requirements.
43802
43803         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43804
43805 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43806
43807         [BZ #887]
43808         * math/libm-test.inc (logb_test_downward): New test to expose
43809         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43810         rounding mode.
43811
43812 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43813
43814         [BZ #14027]
43815         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43816         to be done.
43817         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43818         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43819
43820 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43821
43822         * sysdeps/unix/i386/brk.S: Remove file.
43823         * sysdeps/unix/i386/dl-brk.S: Likewise.
43824         * sysdeps/unix/i386/pipe.S: Likewise.
43825         * sysdeps/unix/i386/sigreturn.S: Likewise.
43826         * sysdeps/unix/i386/syscall.S: Likewise.
43827         * sysdeps/unix/i386/vfork.S: Likewise.
43828         * sysdeps/unix/i386/wait.S: Likewise.
43829
43830         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43831         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43832
43833         * configure.in (arm*-none*): Do not allow without
43834         --enable-hacker-mode.
43835         (netbsd*): Remove case setting base_os.
43836         (386bsd*): Likewise.
43837         (freebsd*): Likewise.
43838         (bsdi*): Likewise.
43839         (osf*): Likewise.
43840         (sunos*): Likewise.
43841         (ultrix*): Likewise.
43842         (newsos*): Likewise.
43843         (dynix*): Likewise.
43844         (*bsd*): Likewise.
43845         (sysv*): Likewise.
43846         (isc*): Likewise.
43847         (esix*): Likewise.
43848         (sco*): Likewise.
43849         (minix*): Likewise.
43850         (irix4*): Likewise.
43851         (irix6*): Likewise.
43852         (solaris[2-9]*): Likewise.
43853         (none): Likewise.
43854         * configure: Regenerated.
43855
43856 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43857
43858         [BZ #11521]
43859         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43860         overflow or cancellation in calculating denominator.
43861         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43863         down expression to avoid unexpected rounding in newer GCCs.
43864         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43865
43866 2012-04-26  David S. Miller  <davem@davemloft.net>
43867
43868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43869         long-double compat symbols.
43870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43883
43884 2012-04-25  David S. Miller  <davem@davemloft.net>
43885
43886         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43887         HWCAP_* values only after the memory barriers have been defined.
43888         (atomic_full_barrier): Define.
43889         (atomic_read_barrier): Define.
43890         (atomic_write_barrier): Define.
43891
43892 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43893
43894         * shlib-versions: Add libgcc_s version information.
43895         * sysdeps/generic/libgcc_s.h: Remove.
43896         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43897         libgcc_s.h.
43898         * sysdeps/gnu/unwind-resume.c: Likewise.
43899         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43900
43901 2012-04-25  David S. Miller  <davem@davemloft.net>
43902
43903         * sysdeps/unix/sparc/brk.S: Delete.
43904         * sysdeps/unix/sparc/dl-brk.S: Delete.
43905         * sysdeps/unix/sparc/pipe.S: Delete.
43906         * sysdeps/unix/sparc/sysdep.S: Delete.
43907         * sysdeps/unix/sparc/sysdep.h: Delete.
43908         * sysdeps/unix/sparc/vfork.S: Delete.
43909         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43910         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43911         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43912         (ret_ERRVAL, r0, r1, MOVE): Define.
43913         (JUMPTARGET): Remove.
43914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43915         sysdeps/unix/sparc/sysdep.h
43916         (ENTRY, END): Remove.
43917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43918
43919 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43920
43921         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43922         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43923         -DIS_IN_build.
43924
43925         * timezone/README: Update upstream location and email address for
43926         tzcode and tzdata.
43927         * timezone/zdump.c: Update from tzcode 2012b.
43928         * timezone/zic.c: Likewise.
43929
43930         * configure.in (libc_cv_as_needed): Remove test.
43931         * configure: Regenerated.
43932         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43933         conditional definition.
43934         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43935         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43936         * config.make.in (have-as-needed): Remove variable.
43937
43938 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43939             Paul Pluzhnikov  <ppluzhnikov@google.com>
43940
43941         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43942         strings correctly.
43943
43944 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43945
43946         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43947         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43948         * sysdeps/sh/strlen.S: Likewise.
43949
43950 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43951
43952         * sysdeps/unix/fork.S: Remove file.
43953         * sysdeps/unix/i386/fork.S: Likewise.
43954         * sysdeps/unix/sparc/fork.S: Likewise.
43955
43956         * sysdeps/unix/system.c: Remove file.
43957         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43958
43959         * sysdeps/unix/getegid.S: Remove file.
43960         * sysdeps/unix/geteuid.S: Likewise.
43961
43962 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43963
43964         * scripts/check-localplt.awk: New file.
43965         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43966         of diff.
43967         * scripts/data/localplt-generic.data: Add a comment.
43968
43969         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43970         NODE when __dir_mkfile failed.
43971         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43972         Reported by Ludovic Courtès <ludo@gnu.org>.
43973
43974 2012-04-24  Andreas Jaeger  <aj@suse.de>
43975
43976         * Makerules (common-clean): Also remove gen-as-const-headers
43977         files.
43978
43979 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43980
43981         * Makerules (native-compile): Do not change working directory for
43982         build.  Use $(OUTPUT_OPTION) in command.
43983         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43984
43985 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43986
43987         [BZ #13886]
43988         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43989         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43990         * math/libm-test.inc (floor_test): Add more tests.
43991         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43992
43993 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43994
43995         * sysdeps/unix/getdents.c: Remove file.
43996         * sysdeps/unix/sysv/getdents.c: Likewise.
43997         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43998
43999         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44000         sysdeps/unix/mman/syscalls.list.
44001         (mmap): Likewise.
44002         (mprotect): Likewise.
44003         (msync): Likewise.
44004         (munmap): Likewise.
44005         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44006         * sysdeps/unix/mman/syscalls.list: Remove.
44007         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44008
44009         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44010         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44011         * configure: Regenerated.
44012         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44013         $(libgcc_s_suffix).
44014         * config.make.in (libgcc_s_suffix): Remove variable.
44015
44016 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44017
44018         * sysdeps/unix/sysv/gethostname.c: Move to ...
44019         * sysdeps/posix/gethostname.c: ... here.
44020
44021         * sysdeps/unix/execve.S: Remove file.
44022
44023         * sysdeps/unix/_exit.S: Remove file.
44024
44025 2012-04-23  Andreas Jaeger  <aj@suse.de>
44026
44027         [BZ #13739]
44028         * manual/Makefile: Remove make dist support, there's no
44029         need for a stand-alone documentation tar ball.
44030         (TEXI2DVI): Define always, it's not in Makeconfig.
44031         (dist): Removed.
44032         (tar-it): Removed.
44033         (edition): Removed.
44034         (glibc-doc-$(edition).tar): Removed
44035         (%.Z): Removed.
44036         (%.gz): Removed.
44037         (%.uu): Removed.
44038         (ETAGS): Remove, it's in Makeconfig.
44039         (move-if-change): Remove, it's in Makeconfig.
44040
44041 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44042
44043         [BZ #13970]
44044         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44045         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44046         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44047         (strtod_l, strtof_l, strtold_l): Remove __wur.
44048         It is not necessarily an error to ignore strtol's return value.
44049         One can reliably look at the stored endptr to decide whether
44050         the number had valid syntax.
44051
44052 2012-04-21  Andreas Jaeger  <aj@suse.de>
44053
44054         [BZ #13739]
44055         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44056
44057 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44058
44059         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44060         * sysdeps/unix/sysv/Versions: Remove file.
44061
44062 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44063
44064         [BZ #13927]
44065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44066
44067 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44068
44069         [BZ #7064]
44070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44071         version from __vm86.
44072
44073 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44074
44075         * sysdeps/unix/common/lxstat.c: Remove file.
44076         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44077
44078         * sysdeps/unix/sysv/Makefile: Remove file.
44079
44080         * sysdeps/unix/sysv/direct.h: Remove file.
44081
44082         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44083         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44084         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44085         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44086         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44087         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44088         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44089
44090         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44091
44092         * sysdeps/unix/xmknod.c: Remove file.
44093         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44094
44095         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44096
44097         * sysdeps/unix/sysv/i386/time.S: Remove file.
44098
44099         * sysdeps/unix/fxstat.c: Remove file.
44100         * sysdeps/unix/xstat.c: Likewise.
44101         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44102
44103         * sysdeps/unix/sysv/sigaction.c: Remove file.
44104
44105         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44106         (sysdep_headers): Remove variable.
44107         [termio.h not in sysdep_headers] (generated): Likewise.
44108         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44109         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44110         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44111         * sysdeps/unix/sysv/tcflow.c: Likewise.
44112         * sysdeps/unix/sysv/tcflush.c: Likewise.
44113         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44114         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44115         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44116         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44117         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44118
44119         * sysdeps/unix/siglist.c: Remove file.
44120
44121         * sysdeps/unix/getppid.S: Remove file.
44122
44123         * sysdeps/unix/mkdir.c: Remove file.
44124         * sysdeps/unix/rmdir.c: Likewise.
44125
44126 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44127
44128         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44129         ERR_MAX value.
44130         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44131         errlist-compat value.
44132
44133 2012-04-18  David S. Miller  <davem@davemloft.net>
44134
44135         * sysdeps/generic/memcopy.h (reg_char): Delete.
44136         * debug/strcat_chk.c: Use char, not reg_char.
44137         * debug/strcpy_chk.c: Likewise.
44138         * debug/strncat_chk.c: Likewise.
44139         * debug/strncpy_chk.c: Likewise.
44140         * string/memchr.c: Likewise.
44141         * string/memrchr.c: Likewise.
44142         * string/rawmemchr.c: Likewise.
44143         * string/strcat.c: Likewise.
44144         * string/strchr.c: Likewise.
44145         * string/strchrnul.c: Likewise.
44146         * string/strcmp.c: Likewise.
44147         * string/strcpy.c: Likewise.
44148         * string/strncat.c: Likewise.
44149         * string/strncmp.c: Likewise.
44150         * string/strncpy.c: Likewise.
44151
44152 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44153
44154         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44155         __builtin_memcopy is called when src and dest ranges are known to not
44156         overlap.
44157
44158 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44159
44160         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44161         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44162         fwd_align_merge macro call.
44163         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44164         bwd_align_merge macro call.
44165         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44166
44167 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44168
44169         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44170         bwd_align_merge macros.
44171         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44172         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44173         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44174
44175 2012-04-18  David S. Miller  <davem@davemloft.net>
44176
44177         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44178
44179 2012-04-18  Andreas Jaeger  <aj@suse.de>
44180
44181         [BZ# 6794]
44182         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44183         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44184         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44185
44186         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44187         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44188         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44189
44190         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44191         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44192         Adjust for changed ldbl-128 files.
44193
44194         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44195         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44196         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44197
44198 2012-04-17  David S. Miller  <davem@davemloft.net>
44199
44200         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44201
44202 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44203
44204         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44205         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44206         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44207         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44208         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44209         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44210
44211 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44212
44213         [BZ #6794]
44214         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44215         * math/libm-test.inc: Add ilogb errno and exception tests.
44216         * math/w_ilogb.c: New file: ilogb wrapper.
44217         * math/w_ilogbf.c: New file: ilogbf wrapper.
44218         * math/w_ilogbl.c: New file: ilogbl wrapper.
44219         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44220         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44221         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44222         exception being thrown with 0.0 as argument.
44223         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44224         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44225         exception being thrown with 0.0 as argument.
44226         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44227         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44228         exception being thrown with 0.0 as argument.
44229         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44230         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44231         exception being thrown with 0.0 as argument.
44232         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44233         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44234         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44235         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44236         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44237         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44238         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44239         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44240         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44241
44242 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44243
44244         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44245         with altivec.
44246
44247 2012-04-16  Marek Polacek  <polacek@redhat.com>
44248
44249         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44250
44251 2012-04-16  Marek Polacek  <polacek@redhat.com>
44252
44253         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44254         operands of fdivp instruction.
44255
44256 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44257
44258         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44259         * elf/tst-auditmod3b.c: Likewise.
44260         * elf/tst-auditmod4b.c: Likewise.
44261         * elf/tst-auditmod5b.c: Likewise.
44262         * elf/tst-auditmod6b.c: Likewise.
44263         * elf/tst-auditmod6c.c: Likewise.
44264         * elf/tst-auditmod7b.c: Likewise.
44265         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44266         * sysdeps/x86_64/preconfigure.in: Likewise.
44267         * sysdeps/x86_64/preconfigure: Regenerated.
44268
44269 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44270
44271         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44272         __ILP32__.
44273
44274 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44275
44276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44277         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44278
44279 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44280
44281         [BZ #13973]
44282         * locale/iso-639.def: Fix gl language name. Spotted by
44283         Yaron Shahrabani.
44284
44285 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44286
44287         [BZ #2074]
44288         * libio/libio.h (__io_write_fn): Update comment.
44289
44290 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44291
44292         [BZ #2074]
44293         * stdio.texi (Hook Functions): The user provided writer function
44294         is not allowed to return -1.
44295
44296 2012-04-11  David S. Miller  <davem@davemloft.net>
44297
44298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44299
44300 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44301
44302         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44303         Add a leading slash to rtkaio.
44304
44305 2012-04-11  Jim Meyering  <meyering@redhat.com>
44306
44307         [BZ #11959]
44308         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44309         It is not necessarily an error to ignore fwrite's return
44310         value.  One can reliably use ferror to test for errors after
44311         the fact.
44312
44313 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44314
44315         * bits/types.h (__snseconds_t): New type.
44316         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44317
44318         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44320         (__SNSECONDS_T_TYPE): Likewise.
44321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44322         (__SNSECONDS_T_TYPE): Likewise.
44323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44324         (__SNSECONDS_T_TYPE): Likewise.
44325
44326 2012-04-10  Andreas Jaeger  <aj@suse.de>
44327
44328         [BZ #2636]
44329         * manual/time.texi (Processor Time): Return type of times is
44330         elapsed real time since an arbitrary point in the past.
44331         (CPU Time): Move CLK_TCK from here...
44332         (Processor Time): ...to here.  Correct description.
44333         * manual/conf.texi (Constants for Sysconf): Correct description of
44334         _SC_CLK_TCK.
44335
44336 2012-04-10  David S. Miller  <davem@davemloft.net>
44337
44338         [BZ #13967]
44339         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44340         where the is a gap between DT_REL(A) and DT_JMPREL.
44341
44342 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44343
44344         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44345         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44346         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44347
44348 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44349
44350         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44351         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44352         (dl_main): Handle --inhibit-cache.
44353         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44354         _dl_inhibit_cache.
44355         * elf/dl-load.c (_dl_map_object): Use it.
44356         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44357
44358 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44359
44360         [BZ #13872]
44361         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44362         (__ieee754_powl): Saturate large exponents rather than testing for
44363         overflow of y*log2(x).
44364         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44365         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44366         exceptions.
44367
44368         [BZ #11521]
44369         * math/s_ctan.c: Include <float.h>.
44370         (__ctan): Avoid internal overflow or cancellation in calculating
44371         denominator.
44372         * math/s_ctanf.c: Likewise.
44373         * math/s_ctanl.c: Likewise.
44374         * math/s_ctanh.c: Likewise.
44375         * math/s_ctanhf.c: Likewise.
44376         * math/s_ctanhl.c: Likewise.
44377         * math/libm-test.inc (ctan_test): Add more tests.
44378         (ctanh_test): Likewise.
44379         * sysdeps/i386/fpu/libm-test-ulps: Update.
44380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44381
44382 2012-04-09  Andreas Jaeger  <aj@suse.de>
44383
44384         [BZ #6894]
44385         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44386         is an optional BSD extension.
44387
44388         [BZ #10254]
44389         * manual/stdio.texi (Opening Streams): Document additional fopen
44390         parameters.
44391
44392 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44393
44394         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44395         %eax without telling the compiler.
44396
44397 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44398
44399         [BZ # 13963]
44400         * manual/install.texi: Use sourceware.org.
44401
44402 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44403
44404         [BZ #13873]
44405         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44406         (__ieee754_pow): Generate overflow and underflow using huge*huge
44407         and tiny*tiny rather than just returning constant infinity or zero
44408         for large exponents.
44409         * math/libm-test.inc (pow_test): Require overflow exceptions for
44410         applicable cases of large exponents.
44411
44412         [BZ #706]
44413         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44414         (__ieee754_pow): Use iterative multiplication algorithm only for
44415         integer exponents with absolute value below 1024.  Check for odd
44416         integer exponents when using algorithm for real exponents.
44417         * math/libm-test.inc (pow_test): Add more tests.
44418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44419
44420 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44421
44422         [BZ #13705]
44423         * math/libm-test.inc (exp_test): Do not allow overflow exception
44424         on underflow test.
44425
44426 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44427
44428         [BZ #13705]
44429         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44430         instead of __kernel_standard_f.
44431
44432 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44433
44434         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44435         * sysdeps/x86_64/memset_chk.S: Likewise.
44436
44437 2012-04-08  Andreas Jaeger  <aj@suse.de>
44438
44439         [BZ #10153]
44440         * manual/startup.texi (Environment Access): Describe return value
44441         for putenv and setenv.
44442
44443         [BZ #6895]
44444         * manual/filesys.texi (Directory Entries): Add description for
44445         DT_LNK.
44446
44447         [BZ #6890]
44448         * manual/filesys.texi (Directory Entries): Clarify that it's file
44449         system not operating system in the description of DT_UNKNOWN.
44450
44451         [BZ #6578]
44452         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44453
44454 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44455
44456         [BZ #6649]
44457         * manual/llio.texi (Opening and Closing Files): Add cross
44458         reference to explain mode argument.
44459
44460 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44461
44462         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44463         * sysdeps/x86_64/memset_chk.S: Likewise.
44464
44465 2012-04-07  David S. Miller  <davem@davemloft.net>
44466
44467         * elf/elf.h (R_SPARC_WDISP10): Define.
44468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44469         R_SPARC_SIZE32.
44470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44471         R_SPARC_SIZE64 and R_SPARC_H34.
44472
44473 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44474
44475         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44476         conditions and remove no longer applicable assertion.
44477
44478 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44479
44480         * bits/byteswap.h: Include <features.h>.
44481         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44482         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44483
44484 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44485
44486         * bits/byteswap.h (__bswap_16): Removed.
44487         Include <bits/byteswap-16.h> to get __bswap_16.
44488         * sysdeps/i386/bits/byteswap.h: Likewise.
44489         * sysdeps/s390/bits/byteswap.h: Likewise.
44490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44491         * bits/byteswap-16.h: New file.
44492         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44493         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44494         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44495         * string/Makefile (headers): Add bits/byteswap-16.h.
44496
44497 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44498
44499         [BZ #13895]
44500         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44501         extra indirection.
44502         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44503         * nss/tst-nss-static.c: New.
44504
44505 2012-04-06  Robert Millan  <rmh@gnu.org>
44506
44507         [BZ #6486]
44508         * manual/llio.texi (File Position Primitive): lseek
44509         refers to WHENCE when it really means OFFSET.
44510
44511 2012-04-06  Andreas Jaeger  <aj@suse.de>
44512
44513         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44514         strncmp declarations.
44515
44516         * abilist/libc.abilist: Add __poll and __ppoll.
44517
44518 2012-04-05  David S. Miller  <davem@davemloft.net>
44519
44520         * scripts/check-local-headers.sh: Accept a host triplet in the
44521         path matched by the exclude regexp.
44522
44523         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44524         definition.
44525         * sysdeps/powerpc/powerpc32/dl-machine.h
44526         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44527         * sysdeps/s390/s390-32/dl-machine.h
44528         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44529         * sysdeps/sparc/sparc32/dl-machine.h
44530         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44531         * sysdeps/sparc/sparc64/dl-machine.h
44532         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44533
44534         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44535         lazy binding.
44536         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44537         undefined symbol errors.
44538
44539         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44540         DT_NEEDED entries.
44541
44542 2012-04-05  Michael Matz  <matz@suse.de>
44543
44544         [BZ #13592]
44545         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44546
44547 2012-04-05  Andreas Jaeger  <aj@suse.de>
44548
44549         [BZ #13908]
44550         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44551         comment.
44552
44553 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44554
44555         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44556         which ROUND is no valid rounding mode.
44557
44558 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44559
44560         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44561         read again.
44562         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44563
44564 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44565
44566         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44567         an exception using FPU order intentionally.
44568
44569 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44570
44571         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44572         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44573         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44574         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44575
44576 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44577
44578         [BZ #12340]
44579         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44580         EINVAL when BUFLEN is too smal.
44581
44582 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44583
44584         [BZ #13553]
44585         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44586         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44587
44588 2012-04-03  Andreas Jaeger  <aj@suse.de>
44589
44590         [BZ #13938]
44591         * manual/setjmp.texi (System V contexts): Fix sentence.
44592
44593         [BZ #13926]
44594         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44595         New macro for this case.
44596         [!__GNUC__] (__bswap_64): New inline function for this case.
44597         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44598         * bits/byteswap.h: Likewise.
44599         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44600         ull, guard with __GLIBC_HAVE_LONG_LONG.
44601
44602         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44603         __GLIBC_HAVE_LONG_LONG.
44604
44605         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44606         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44607
44608 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44609
44610         [BZ #13691]
44611         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44612         inptr and inend, rather than using last_ch.
44613
44614 2012-04-02  David S. Miller  <davem@davemloft.net>
44615
44616         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44617         * stdio-common/printf-parse.h (read_int): Change return type to
44618         'int', return -1 on INT_MAX overflow.
44619         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44620         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44621         overflows INT_MAX.  Check for overflow of in-format-string precision
44622         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44623         SIZE_MAX not INT_MAX for integer overflow test.
44624         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44625         skip the construct in the format string but do not record anything.
44626         * stdio-common/bug22.c: Adjust to test both width/prevision
44627         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44628         explicitly for proper errno values.
44629
44630 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44631
44632         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44633         CHAR_MAX.
44634         * string/test-strcmp.c [! WIDE]: Likewise.
44635         * time/tst-mktime2.c: Likewise for INT_MAX.
44636         * string/test-string.h: #include <sys/param.h> for MIN.
44637
44638         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44639         * sysdeps/i386/init-first.c (init): Likewise.
44640         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44641         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44642         * sysdeps/sh/init-first.c (init): Likewise.
44643
44644 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44645
44646         * po/ru.po: Update from translation team.
44647         * po/vi.po: Likewise.
44648
44649 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44650
44651         * resolv/nss_dns/dns-host.c: Merge copyright years.
44652
44653 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44654
44655         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44656         Optimize memcpy with prefetch if
44657         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44658         src, dst pointers have unequal 16 byte alignments.
44659
44660 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44661
44662         [BZ #13928]
44663         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44664         from a CNAME entry and return the minimum ttl for the query.
44665         (gaih_getanswer_slice): Likewise.
44666
44667 2012-03-30  Jeff Law  <law@redhat.com>
44668
44669         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44670         due to long keys.
44671         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44672         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44673
44674         * resolv/nss_dns/dns-host.c: Update copyright year.
44675
44676 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44677
44678         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44679         requests to save a system call.  Fix check that all bytes are sent.
44680
44681         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44682         comments for sendmmsg.
44683
44684 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44685
44686         [BZ #13691]
44687         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44688         with only 1 character between 0x0041 and 0x01b0.
44689         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44690         * wcsmbs/tst-mbsnrtowcs.c: New file.
44691
44692 2012-03-29  David S. Miller  <davem@davemloft.net>
44693
44694         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44695         small copies by hand.
44696
44697 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44698
44699         [BZ #13761]
44700         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44701         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44702         group memberships.
44703
44704 2012-03-28  David S. Miller  <davem@davemloft.net>
44705
44706         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44707         that branches into memcpy.
44708         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44711         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44713         bits.
44714         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44715         implementation too.
44716         * sysdeps/sparc/mempcpy.S: New file.
44717
44718         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44719         the IFUNC routine in the libc case.
44720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44721
44722         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44723         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44724         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44725         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44726         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44727         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44728         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44729         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44730
44731         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44732         loop to 256 bytes instead of 64 bytes and fix test signedness.
44733
44734         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44735         * sysdeps/sparc/sparc32/Makefile: rather than here...
44736         * sysdeps/sparc/sparc64/Makefile: and here.
44737
44738 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44739
44740         * malloc/mallocbug.c: Avoid warnings about unused variables.
44741
44742 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44743
44744         [BZ #13760]
44745         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44746         in the right place. Discard and retry query if response is
44747         larger than input buffer size.
44748
44749 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44750
44751         [BZ #369]
44752         [BZ #2678]
44753         [BZ #3866]
44754         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44755         x for large integer exponent.
44756         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44757         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44758         sign of result as needed afterwards.
44759         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44760         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44761         result for underflowing pow the same as for overflow.
44762         (__kernel_standard_l): Handle powl overflow and underflow here
44763         rather than calling __kernel_standard.
44764         * math/libm-test.inc (pow_test): Add more tests.
44765
44766         [BZ #3868]
44767         [BZ #13879]
44768         [BZ #13910]
44769         [BZ #13911]
44770         [BZ #13912]
44771         [BZ #13913]
44772         [BZ #13915]
44773         [BZ #13916]
44774         [BZ #13917]
44775         [BZ #13918]
44776         [BZ #13919]
44777         [BZ #13920]
44778         [BZ #13921]
44779         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44780         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44781         (__kernel_standard_l): New function.
44782         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44783         __kernel_standard.
44784         * math/w_acosl.c (__acosl): Likewise.
44785         * math/w_asinl.c (__asinl): Likewise.
44786         * math/w_atan2l.c (__atan2l): Likewise.
44787         * math/w_atanhl.c (__atanhl): Likewise.
44788         * math/w_coshl.c (__coshl): Likewise.
44789         * math/w_exp10l.c (__exp10l): Likewise.
44790         * math/w_exp2l.c (__exp2l): Likewise.
44791         * math/w_fmodl.c (__fmodl): Likewise.
44792         * math/w_hypotl.c (__hypotl): Likewise.
44793         * math/w_j0l.c (__j0l, __y0l): Likewise.
44794         * math/w_j1l.c (__j1l, __y1l): Likewise.
44795         * math/w_jnl.c (__jnl, __ynl): Likewise.
44796         * math/w_lgammal.c (__lgammal): Likewise.
44797         * math/w_log10l.c (__log10l): Likewise.
44798         * math/w_log2l.c (__log2l): Likewise.
44799         * math/w_logl.c (__logl): Likewise.
44800         * math/w_powl.c (__powl): Likewise.
44801         * math/w_remainderl.c (__remainderl): Likewise.
44802         * math/w_scalbl.c (sysv_scalbl): Likewise.
44803         * math/w_sinhl.c (__sinhl): Likewise.
44804         * math/w_sqrtl.c (__sqrtl): Likewise.
44805         * math/w_tgammal.c (__tgammal): Likewise.
44806         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44807         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44808         * math/libm-test.inc (acos_test): Add more tests.
44809         (acosh_test): Likewise.
44810         (asin_test): Likewise.
44811         (atanh_test): Likewise.
44812         (exp_test): Likewise.
44813         (exp10_test): Likewise.
44814         (exp2_test): Likewise.
44815         (expm1_test): Likewise.
44816         (lgamma_test): Likewise.
44817         (log_test): Likewise.
44818         (log10_test): Likewise.
44819         (log1p_test): Likewise.
44820         (log2_test): Likewise.
44821         (pow_test): Do not allow some spurious overflow exceptions.
44822         (sqrt_test): Add more tests.
44823         (tgamma_test): Likewise.
44824         (y0_test): Likewise.
44825         (y1_test): Likewise.
44826         (yn_test): Likewise.
44827
44828 2012-03-27  Anton Blanchard  <anton@samba.org>
44829
44830         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44831         MAP_HUGETLB.
44832         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44833         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44834         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44835
44836 2012-03-27  David S. Miller  <davem@davemloft.net>
44837
44838         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44839
44840         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44841         have-as-vis3 check.
44842
44843 2012-03-27  Andreas Jaeger  <aj@suse.de>
44844
44845         * sysdeps/x86_64/elf/configure.in: Moved to ...
44846         * sysdeps/x86_64/configure.in: ... here.
44847         * sysdeps/x86_64/elf/start.S: Moved to ...
44848         * sysdeps/x86_64/start.S: ... here.
44849         * sysdeps/x86_64/elf/configure: Delete.
44850
44851         * sysdeps/x86_64/configure.in: Merge contents from
44852         sysdeps/i386/configure.in (without i686 check).
44853
44854         * sysdeps/i386/elf/Versions: Merge into ...
44855         * sysdeps/i386/Versions: ... this.
44856         * sysdeps/i386/elf/Versions: Delete file.
44857         * sysdeps/i386/elf/start.S: Moved to ...
44858         * sysdeps/i386/start.S: ...here.
44859         * sysdeps/i386/elf/configure.in: Merge into...
44860         * sysdeps/i386/configure.in: ...here.
44861         * sysdeps/i386/elf/configure.in: Delete file.
44862         * sysdeps/i386/elf/configure: Delete file.
44863
44864         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44865         * debug/backtracesyms.c: ... here.
44866         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44867         * debug/backtracesymsfd.c: ... here.
44868         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44869         * sysdeps/generic/ifunc-sel.h: ... here.
44870
44871         * sysdeps/unix/i386/start.c: Delete file.
44872         * sysdeps/unix/sparc/start.c: Delete file.
44873         * sysdeps/unix/start.c: Delete file.
44874
44875         * sysdeps/sh/elf/configure.in: Moved to ...
44876         * sysdeps/sh/configure.in: ... here.
44877         * sysdeps/sh/elf/start.S: Moved to ...
44878         * sysdeps/sh/start.S: ... here.
44879         * sysdeps/sh/elf/configure: Delete file.
44880
44881         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44882         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44883         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44884         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44885         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44886         * sysdeps/powerpc/powerpc64/start.S: here.
44887         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44888         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44889         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44890         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44891         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44892
44893         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44894         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44895         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44896         * sysdeps/powerpc/powerpc32/start.S: ... here.
44897         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44898         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44899         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44900
44901         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44902         * sysdeps/powerpc/ifunc-sel.h: ... here.
44903         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44904         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44905
44906         * sysdeps/sparc/elf/configure.in: Moved to ...
44907         * sysdeps/sparc/configure.in: ... here.
44908         * sysdeps/sparc/elf/configure: Delete file.
44909         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44910         * sysdeps/sparc/sparc32/start.S: ... here.
44911         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44912         * sysdeps/sparc/sparc64/start.S: ... here.
44913         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44914         * sysdeps/sparc/sparc32/Makefile: ... this.
44915         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44916         * sysdeps/sparc/sparc64/Makefile: ... this.
44917
44918         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44919         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44920         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44921         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44922         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44923         * sysdeps/s390/s390-32/setjmp.S: ... here.
44924         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44925         * sysdeps/s390/s390-32/configure.in: ... here.
44926         * sysdeps/s390/s390-32/elf/configure: Delete file.
44927         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44928         * sysdeps/s390/s390-32/start.S: ... here.
44929
44930         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44931         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44932         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44933         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44934         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44935         * sysdeps/s390/s390-64/setjmp.S: ... here.
44936         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44937         * sysdeps/s390/s390-64/configure.in: ... here
44938         * sysdeps/s390/s390-64/elf/configure: Delete file.
44939         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44940         * sysdeps/s390/s390-64/start.S: ... here.
44941         * sysdeps/s390/s390-64/elf/configure: Delete.
44942
44943         * configure.in: Remove support for elf directories in sysdeps.
44944
44945         * configure: Regenerated.
44946         * sysdeps/i386/configure: Regenerated.
44947         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44948         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44949         * sysdeps/s390/s390-32/configure: Regenerated.
44950         * sysdeps/s390/s390-64/configure: Regenerated.
44951         * sysdeps/sh/configure: Regenerated.
44952         * sysdeps/sparc/configure: Regenerated.
44953         * sysdeps/x86_64/configure: Regenerated.
44954
44955 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44956
44957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44958
44959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44960         denormal result into account.
44961
44962 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44963
44964         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44965         Reported by Allan McRae <allan@archlinux.org>.
44966
44967 2012-03-23  Jeff Law  <law@redhat.com>
44968
44969         * nss/getnssent.c (__nss_getent): Fix typo.
44970
44971 2012-03-23  David S. Miller  <davem@davemloft.net>
44972
44973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44974
44975 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44976
44977         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44978         to pad to uint64_t for each field.
44979         (dl_tls_index): Replace unsigned long with uint64_t.
44980
44981 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44982         Paul Pluzhnikov  <ppluzhnikov@google.com>
44983
44984         [BZ #6528]
44985         * grp/Makefile (otherlibs): Don't set it.
44986         * inet/Makefile (otherlibs): Likewise.
44987         * login/Makefile (otherlibs): Likewise.
44988         * nscd/Makefile (otherlibs): Likewise.
44989         * posix/Makefile (otherlibs): Likewise.
44990         * pwd/Makefile (otherlibs): Likewise.
44991         * rt/Makefile (otherlibs): Likewise.
44992         * sunrpc/Makefile (otherlibs): Likewise.
44993         * nss/Makefile (otherlibs): Likewise.
44994         Add libnss_files to routines and static-only-routines.
44995         ($(objpfx)getent): Remove rule.
44996         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44997         static-only-routines.
44998
44999 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45000
45001         [BZ #13892]
45002         * math/s_cexp.c: Include <float.h>.
45003         (__cexp): Handle exp result overflowing not necessarily
45004         overflowing both real and imaginary parts of result.
45005         * math/s_cexpf.c: Likewise.
45006         * math/s_cexpl.c: Likewise.
45007         * math/libm-test.inc (cexp_test): Add more tests.
45008         * sysdeps/i386/fpu/libm-test-ulps: Update.
45009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45010
45011 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45012
45013         * include/link.h (ELFW): New macro.
45014         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45015         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45016
45017 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45018
45019         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45020         with uint64_t.
45021
45022 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45023
45024         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45025         declaration.
45026         (struct La_x32_retval): Likewise.
45027
45028 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45029
45030         * sysdeps/x86_64/preconfigure.in: New file.
45031         * sysdeps/x86_64/preconfigure: New generated file.
45032
45033 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45034
45035         [BZ #13824]
45036         * math/e_exp2l.c: Include <float.h>.
45037         (__ieee754_exp2l): Handle overflow and underflow cases
45038         separately.  Only pass fractional part of argument to
45039         __ieee754_expl.
45040         * math/libm-test.inc (exp2_test): Add more tests.
45041
45042         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45043         negating x to take absolute value.
45044         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45045         Likewise.
45046         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45047         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45048         Likewise.
45049         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45050         computing low part if x was negated.
45051         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45052
45053 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45054
45055         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45056         la_x32_gnu_pltexit.
45057         (pltexit): Cast int_retval to ptrdiff_t.
45058         * elf/tst-auditmod3b.c: Likewise.
45059         * elf/tst-auditmod4b.c: Likewise.
45060         * elf/tst-auditmod5b.c: Likewise.
45061         * elf/tst-auditmod6b.c: Likewise.
45062         * elf/tst-auditmod6c.c: Likewise.
45063         * elf/tst-auditmod7b.c: Likewise.
45064
45065         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45066         and x32_gnu_pltexit.
45067
45068         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45069         __ELF_NATIVE_CLASS.
45070         (La_x32_regs): New macro.
45071         (La_x32_retval): Likewise.
45072         (la_x32_gnu_pltenter): New function prototype.
45073         (la_x32_gnu_pltexit): Likewise.
45074
45075 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45076
45077         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45078         exponent.
45079
45080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45081
45082         * configure.in (libc_cv_cc_nofma): Check for option to disable
45083         generation of FMA instructions.
45084         * configure: Regenerate.
45085         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45086         * sysdeps/ieee754/dbl-64/Makefile: New file.
45087         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45088         Remove brandred-fma4.
45089         (CFLAGS-brandred-fma4.c): Remove.
45090         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45091         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45092         define.
45093         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45094         define.
45095
45096 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45097
45098         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45099         LLONG_MAX != LONG_MAX.
45100         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45101         (_fitoa_word): Likewise.
45102         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45103         LLONG_MAX != LONG_MAX.
45104         * stdio-common/_itowa.h: Include <_itoa.h>.
45105         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45106         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45107         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45108         only if not defined.
45109         (_ITOA_WORD_TYPE): Likewise.
45110         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45111         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45112
45113 2012-03-21  David S. Miller  <davem@davemloft.net>
45114
45115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45116
45117 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45118
45119         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45120         of x86_64 when setting libc_cv_slibdir, libdir and
45121         libc_cv_localedir.
45122         * sysdeps/unix/sysv/linux/configure: Regenerated.
45123
45124 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45125
45126         * manual/lang.texi (Old Varargs): Remove section.
45127         (How Variadic): Update menu.
45128         (va_start): Do not mention varargs.h.
45129
45130 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45131             Joseph Myers  <joseph@codesourcery.com>
45132
45133         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45134         link test.
45135         * configure: Regenerated.
45136
45137 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45138
45139         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45140         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45141         conformtest.pl
45142
45143 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45144
45145         * NOTES: Remove.
45146         * Makefile (files-for-dist): Remove NOTES.
45147         (NOTES): Remove rule.
45148         * README: Don't refer to NOTES.
45149         * manual/creature.texi: Don't include macros.texi.
45150         * manual/intro.texi (creature.texi): Remove comment referring to
45151         NOTES.
45152
45153         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45154         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45155         * configure: Regenerated.
45156         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45157         LIBC_TRY_CC_OPTION.
45158         (libc_cv_as_i686): Likewise.
45159         (libc_cv_cc_avx): Likewise.
45160         (libc_cv_cc_sse2avx): Likewise.
45161         (libc_cv_cc_fma4): Likewise.
45162         (libc_cv_cc_novzeroupper): Likewise.
45163         * sysdeps/i386/configure: Regenerated.
45164
45165         [BZ #13883]
45166         * sysdeps/i386/fpu/s_cexp.S: Remove.
45167         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45168         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45169         * math/libm-test.inc (cexp_test): Add more tests.
45170         * sysdeps/i386/fpu/libm-test-ulps: Update.
45171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45172
45173 2012-03-21  Allan McRae  <allan@archlinux.org>
45174
45175         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45176
45177 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45178
45179         [BZ #13871]
45180         * math/w_exp2.c: Do not include <float.h>.
45181         (o_threshold, u_threshold): Remove.
45182         (__exp2): Calculate result before checking finiteness and calling
45183         __kernel_standard.
45184         * math/w_exp2f.c: Likewise.
45185         * math/w_exp2l.c: Likewise.
45186         * math/libm-test.inc (exp2_test): Require overflow exception for
45187         1e6 input.
45188
45189         [BZ #3866]
45190         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45191         range of signed 64-bit integers before using fistpll.  Remove
45192         checks for whether integers fit in mantissa bits.
45193         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45194         the range of signed 32-bit integers before using fistpl.  Remove
45195         checks for whether integers fit in mantissa bits.
45196         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45197         (__ieee754_powl): Test for y outside the range of signed 64-bit
45198         integers before using fistpll.  Reduce 64-bit values to 63-bit
45199         ones as needed.
45200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45201         divide-by-zero is raised for zero to large negative powers.
45202         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45203         (__ieee754_powl): Test for y outside the range of signed 64-bit
45204         integers before using fistpll.  Reduce 64-bit values to 63-bit
45205         ones as needed.
45206         * math/libm-test.inc (pow_test): Add more tests.
45207
45208 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45209
45210         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45211         <stdio-common/_itoa.h>.
45212         * debug/segfault.c: Likewise.
45213         * elf/dl-cache.c: Likewise.
45214         * elf/dl-minimal.c: Likewise.
45215         * elf/dl-misc.c: Likewise.
45216         * elf/dl-sysdep.c: Likewise.
45217         * elf/dl-version.c: Likewise.
45218         * elf/rtld.c: Likewise.
45219         * hurd/hurdsock.c: Likewise.
45220         * hurd/lookup-retry.c: Likewise.
45221         * malloc/malloc.c: Likewise.
45222         * malloc/mtrace.c: Likewise.
45223         * nscd/nscd_getgr_r.c: Likewise.
45224         * nscd/nscd_getpw_r.c: Likewise.
45225         * nscd/nscd_getserv_r.c: Likewise.
45226         * posix/getopt_init.c: Likewise.
45227         * posix/wordexp.c: Likewise.
45228         * stdio-common/_itoa.c: Likewise.
45229         * stdio-common/printf_fphex.c: Likewise.
45230         * stdio-common/vfprintf.c: Likewise.
45231         * string/_strerror.c: Likewise.
45232         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45233         * sysdeps/i386/i686/hp-timing.h: Likewise.
45234         * sysdeps/mach/_strerror.c: Likewise.
45235         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45236         * sysdeps/mach/hurd/sethostid.c: Likewise.
45237         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45238         * sysdeps/mach/xpg-strerror.c: Likewise.
45239         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45240         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45241         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45242         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45244         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45245         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45246         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45247         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45248         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45249         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45250         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45251         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45252         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45253         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45254         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45255         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45256         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45257         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45258         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45259         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45260
45261         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45262
45263         * stdio-common/_itoa.h: Moved to ...
45264         * sysdeps/generic/_itoa.h: Here.
45265
45266         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45267
45268         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45269         instead of "_itoa.h" and "_itowa.h".
45270         * stdio-common/vfprintf.: Likewise.
45271
45272 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45273
45274         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45275         <bits/wordsize.h>.
45276         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45277         (__signbit): Likwise.
45278         (llrintf): Likwise.
45279         (llrint): Likwise.
45280
45281 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45282
45283         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45284         __WORDSIZE != 64.
45285
45286 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45287
45288         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45289         OVERFLOW_EXCEPTION_OK.
45290         * math/libm-test.inc ("Philosophy"): Update comment about
45291         exception testing.
45292         (OVERFLOW_EXCEPTION): Define.
45293         (OVERFLOW_EXCEPTION_OK): Likewise.
45294         (INVALID_EXCEPTION_OK): Renumber.
45295         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45296         (IGNORE_ZERO_INF_SIGN): Likewise.
45297         (test_exceptions): Handle FE_OVERFLOW.
45298         (exp10_test): Expect overflow exceptions.
45299         (exp2_test): Likewise.
45300         (expm1_test): Likewise.
45301         (nextafter_test): Likewise.
45302         (pow_test): Likewise.
45303         (scalbn_test): Likewise.
45304         (scalbln_test): Likewise.
45305
45306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45307
45308         * sysdeps/x86_64/bits/atomic.h
45309         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45310         64bit integer.
45311         (atomic_exchange_acq): Likewise.
45312         (__arch_exchange_and_add_body): Likewise.
45313         (__arch_add_body): Likewise.
45314         (atomic_add_negative): Likewise.
45315         (atomic_add_zero): Likewise.
45316
45317 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45318
45319         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45320         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45321
45322 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45323
45324         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45325         Check __x86_64__ instead of __WORDSIZE.
45326
45327 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45328
45329         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45330
45331 2012-03-19  David S. Miller  <davem@davemloft.net>
45332
45333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45334
45335         * sysdeps/sparc/fpu/fenv_private.h: New file.
45336         * sysdeps/sparc/fpu/math_private.h: Use it.
45337         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45338         Remove.
45339         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45340         (libc_feholdexcept_setroundl): Remove.
45341         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45342         Remove.
45343         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45344         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45345
45346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45347
45348         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45349         int64_t instead of long int.
45350         (INSERT_WORDS64): Likwise.
45351
45352 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45353
45354         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45355         _Unwind_GetCFA return to _Unwind_Ptr first.
45356
45357 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45358
45359         [BZ #13629]
45360         * math/s_clog.c: Include <float.h>.
45361         (__clog): Scale large or subnormal inputs.
45362         * math/s_clogf.c: Likewise.
45363         * math/s_clogl.c: Likewise.
45364         * math/s_clog10.c: Include <float.h>.
45365         (M_LOG10_2): Define.
45366         (__clog10): Scale large or subnormal inputs.
45367         * math/s_clog10f.c: Likewise.
45368         * math/s_clog10l.c: Likewise.
45369         * math/libm-test.inc (clog_test): Add more tests.
45370         (clog10_test): Likewise.
45371         * sysdeps/i386/fpu/libm-test-ulps: Update.
45372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45373
45374         [BZ #11451]
45375         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45376         x and y.
45377         * math/libm-test.inc (atan2_test): Add another test.
45378
45379         * Makerules (common-objdir-compile): Remove.
45380         * sysdeps/unix/Makefile (config-generated): Do not add
45381         $(unix-generated) to variable.
45382         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45383         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45384         Remove rule.
45385         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45386         Likewise.
45387         [generic bits/local_lim.h] (before-compile): Do not append to
45388         variable.
45389         [generic bits/local_lim.h] (common-generated): Likewise.
45390         [generic sys/param.h] (before-compile): Do not append to variable.
45391         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45392         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45393         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45394         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45395         include.
45396         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45397         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45398         [generic sys/param.h] ($(addprefix
45399         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45400         [generic sys/param.h] (common-generated): Do not append to
45401         variable.
45402         [generic sys/param.h] (sysdep_headers): Likewise.
45403         [generic bits/errno.h] (before-compile): Do not append to
45404         variable.
45405         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45406         rule.
45407         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45408         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45409         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45410         [generic bits/errno.h] (common-generated): Do not append to
45411         variable.
45412         [generic bits/ioctls.h] (before-compile): Do not append to
45413         variable.
45414         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45415         rule.
45416         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45417         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45418         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45419         rule.
45420         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45421         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45422         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45423         [generic bits/ioctls.h] (common-generated): Do not append to
45424         variable.
45425         [generic sys/syscall.h] (syscall.h): Remove variable.
45426         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45427         rule.
45428         [generic sys/syscall.h] (before-compile): Do not append to
45429         variable.
45430         [generic sys/syscall.h] (common-generated): Likewise.
45431         * sysdeps/unix/errnos-tmpl.c: Remove file.
45432         * sysdeps/unix/errnos.awk: Likewise.
45433         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45434         * sysdeps/unix/ioctls.awk: Likewise.
45435         * sysdeps/unix/mk-local_lim.c: Likewise.
45436         * sysdeps/unix/snarf-ioctls: Likewise.
45437
45438 2012-03-19  Richard Henderson  <rth@twiddle.net>
45439
45440         * sysdeps/i386/fpu/fenv_private.h: New file.
45441         * sysdeps/i386/fpu/math_private.h: Use it.
45442         (math_opt_barrier, math_force_eval): Remove.
45443         (libc_feholdexcept_setround_53bit): Remove.
45444         (libc_feupdateenv_53bit): Remove.
45445         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45446         (math_opt_barrier, math_force_eval): Remove.
45447         (libc_feholdexcept): Remove.
45448         (libc_feholdexcept_setround): Remove.
45449         (libc_fetestexcept, libc_fesetenv): Remove.
45450         (libc_feupdateenv_test): Remove.
45451         (libc_feupdateenv, libc_feholdsetround): Remove.
45452         (libc_feresetround): Remove.
45453
45454         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45455         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45456
45457         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45458         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45459         (libc_feupdateenv_testl): New.
45460         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45461         (libc_feupdateenv_testf): New.
45462         (libc_feupdateenv): Use libc_feupdateenv_test.
45463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45464         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45465
45466         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45467         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45468         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45469         (libc_feresetround_noex): New.
45470         (libc_feresetround_noexf): New.
45471         (libc_feresetround_noexl): New.
45472         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45473         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45474         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45475         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45476         SET_RESTORE_ROUND.
45477         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45479         (__cos): Likewise.
45480         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45481         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45482         SET_RESTORE_ROUND_NOEX.
45483         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45484         SET_RESTORE_ROUND_NOEXF.
45485         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45486         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45487         (libc_feholdsetroundf): New.
45488         (libc_feresetround, libc_feresetroundf): New.
45489
45490         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45491         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45492         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45493
45494         * sysdeps/generic/math_private.h: Include <fenv.h>.
45495         (default_libc_feholdexcept): New.
45496         (default_libc_feholdexcept_setround): New.
45497         (default_libc_fesetenv, default_libc_feupdateenv): New.
45498         (libc_feholdexcept): Only define if undefined.
45499         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45500         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45501         (libc_feholdexcept_setroundl): Likewise.
45502         (libc_feholdexcept_setround_53bit): Likewise.
45503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45504         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45505         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45506         (libc_feupdateenv_53bit): Likewise.
45507         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45508         (libc_feholdexcept): Convert from macro to inline function.
45509         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45510         (libc_fesetenv, libc_feupdateenv): Likewise.
45511
45512         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45513         not previously defined.
45514         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45515         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45516         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45517         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45518         * sysdeps/ieee754/flt-32/math_private.h: New file.
45519         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45520         math_private.h below SET_FLOAT_WORD.
45521         (__isnan, __isinf_ns, __finite): Remove.
45522         (__isnanf, __isinf_nsf, __finitef): Remove.
45523
45524 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45525
45526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45527
45528 2012-03-17  David S. Miller  <davem@davemloft.net>
45529
45530         [BZ #6471]
45531         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45532         for 2.16.
45533
45534 2012-03-16  David S. Miller  <davem@davemloft.net>
45535
45536         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45537         warnings.
45538
45539         [BZ #6471]
45540         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45541         properly.
45542         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45543         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45544         sysdep_routines when subdir is sysvipc.
45545         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45546         __getshmlba helper.
45547
45548         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45549
45550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45551
45552         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45553         [__LP64__].
45554
45555 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45556
45557         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45558         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45559         (__lround): Renamed to ...
45560         (__llround): This.  Replace long int with long long int.
45561         Define lround functions as aliases of llround functions.
45562         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45563
45564 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45565
45566         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45567         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45568         adresses to uintptr_t.  Replace "long int" and "unsigned long
45569         int" with "greg_t" on va_arg.
45570
45571 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45572
45573         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45574         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45575
45576         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45577         Move e_machine check before EI_CLASS check.  Handle x32
45578         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45579         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45580         SKIP_EM_IA_64 and include
45581         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45582
45583         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45584         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45585         (add_system_dir): New macro.
45586
45587         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45588         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45589
45590 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45591
45592         [BZ #2551]
45593         [BZ #2552]
45594         [BZ #2553]
45595         [BZ #2554]
45596         [BZ #2562]
45597         [BZ #2563]
45598         [BZ #2565]
45599         [BZ #2566]
45600         [BZ #2576]
45601         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45602         (y0): Likewise.
45603         * math/w_j0f.c (j0f): Likewise.
45604         (y0f): Likewise.
45605         * math/w_j0l.c (__j0l): Likewise.
45606         (__y0l): Likewise.
45607         * math/w_j1.c (j1): Likewise.
45608         (y1): Likewise.
45609         * math/w_j1f.c (j1f): Likewise.
45610         (y1f): Likewise.
45611         * math/w_j1l.c (__j1l): Likewise.
45612         (__y1l): Likewise.
45613         * math/w_jn.c (jn): Likewise.
45614         (yn): Likewise.
45615         * math/w_jnf.c (jnf): Likewise.
45616         (ynf): Likewise.
45617         * math/w_jnl.c (__jnl): Likewise.
45618         (__ynl): Likewise.
45619         * math/libm-test.inc (j0_test): Add more tests.
45620         (j1_test): Likewise.
45621         (jn_test): Likewise.  Add trailing semicolon to existing test.
45622         (y0_test): Likewise.
45623         (y1_test): Likewise.
45624         * sysdeps/i386/fpu/libm-test-ulps: Update.
45625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45626
45627         [BZ #13851]
45628         [BZ #13854]
45629         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45630         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45631         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45632         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45633         (__tanl): Set errno for infinite argument.
45634         * sysdeps/i386/fpu/mptan.c: Remove.
45635         * sysdeps/i386/fpu/s_tan.S: Likewise.
45636         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45637         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45638         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45639         * math/libm-test.inc (tan_test): Add more tests and enable more
45640         tests for double and long double.
45641         * sysdeps/i386/fpu/libm-test-ulps: Update.
45642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45643
45644 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45645
45646         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45647         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45648
45649 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45650
45651         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45652         * configure.in: Use it for both main tree and add-ons.
45653         * configure: Regenerated.
45654
45655 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45656
45657         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45658
45659 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45660
45661         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45662         in comment.
45663
45664         [BZ #13851]
45665         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45666         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45670         infinite argument.
45671         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45672         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45673         != 0 for prec == 2.
45674         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45675         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45676         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45677         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45678         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45679         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45680         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45681         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45682         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45683         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45684         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45685         * math/libm-test.inc (cos_test): Add more tests and enable more
45686         tests for long double.
45687         (sin_test): Likewise.
45688         (sincos_test): Likewise.
45689         * sysdeps/i386/fpu/libm-test-ulps: Update.
45690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45691
45692 2012-03-16  David S. Miller  <davem@davemloft.net>
45693
45694         * sysdeps/sparc/fpu/math_private.h: New file.
45695
45696 2012-03-15  David S. Miller  <davem@davemloft.net>
45697
45698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45699         file.
45700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45702         file.
45703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45708         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45709         sysdep routines.
45710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45711
45712         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45713         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45714
45715         * sysdeps/sparc/sparc-ifunc.h: New file.
45716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45717         sparc-ifunc.h
45718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45720         Likewise.
45721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45722         Likewise.
45723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45727         Likewise.
45728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45733         Likewise.
45734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45735         Likewise.
45736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45742         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45743         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45754         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45756         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45760
45761 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45762
45763         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45764         scaling.
45765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45766
45767 2012-03-15  Andreas Jaeger  <aj@suse.de>
45768
45769         [BZ #13852]
45770         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45771         ieee754/flt-32 implementation for sin, cos and sincos.
45772         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45773         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45774         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45775         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45776         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45777         ieee754/flt-32 implementation for tan.
45778
45779         * math/libm-test.inc (cos_test): Enable some large input tests for
45780         float as well
45781         (sin_test): Likewise.
45782         (sincos_test): Likewise.
45783         (tan_test): Add tests for large input.
45784
45785         * sysdeps/i386/fpu/libm-test-ulps: Update.
45786
45787 2012-03-15  Andreas Jaeger  <aj@suse.de>
45788
45789         [BZ #13658]
45790         * math/libm-test.inc (cos_test): Add more test cases.
45791         (sin_test): Likewise.
45792         (sincos_test): Likewise.
45793
45794 2012-03-15  Andreas Jaeger  <aj@suse.de>
45795
45796         [BZ #13837]
45797         * math/libm-test.inc (cos_test): Add a test case for large input
45798         value.
45799         (sin_test): Likewise.
45800         (sincos_test): Likewise.
45801
45802 2012-03-15  Andreas Jaeger  <aj@suse.de>
45803             Joseph Myers  <joseph@codesourcery.com>
45804
45805         [BZ #13658]
45806         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45807         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45808         * sysdeps/i386/fpu/branred.c: Likewise.
45809         * sysdeps/i386/fpu/dosincos.c: Likewise.
45810         * sysdeps/i386/fpu/mpa.c: Likewise.
45811         * sysdeps/i386/fpu/s_cos.S: Likewise.
45812         * sysdeps/i386/fpu/s_sin.S: Likewise.
45813         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45814         * sysdeps/i386/fpu/sincos32.c: Likewise.
45815
45816         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45817         Define.
45818         (libc_feupdateenv_53bit): Define.
45819         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45820         Define.
45821         (libc_feupdateenv_53bit): Define.
45822
45823         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45824         53 bit (without extend i386 double precision).
45825
45826         * math/libm-test.inc (sincos_test): Add tests for large input.
45827         (sin): Likewise.
45828         (cos): Likewise.
45829
45830         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45831
45832 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45833
45834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45835
45836 2012-03-15  David S. Miller  <davem@davemloft.net>
45837
45838         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45839         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45840         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45841         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45854         file.
45855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45857         file.
45858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45860         file.
45861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45863         file.
45864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45866         fmin/fmax sysdep routines.
45867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45868
45869 2012-03-14  David S. Miller  <davem@davemloft.net>
45870
45871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45875         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45876         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45877         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45878         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45891         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45894         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45897         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45898         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45899         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45900         routines.
45901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45902         file.
45903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45905         file.
45906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45908         file.
45909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45911         file.
45912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45914         file.
45915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45917         file.
45918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45919         file.
45920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45921         file.
45922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45923         file.
45924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45925         New file.
45926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45927         file.
45928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45929         file.
45930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45932         file.
45933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45935         file.
45936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45938         file.
45939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45941         VIS3 routines.
45942
45943         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45944         New file.
45945
45946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45947
45948         * sysdeps/sparc/configure.in: New file.
45949         * sysdeps/sparc/configure: Generate.
45950         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45951         * configure: Regenerate.
45952         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45953         * config.make.in (have-as-vis3): New.
45954         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45955         available use -Av9d instead of -Av9a.
45956         * sysdeps/sparc/sparc64/Makefile: Likewise.
45957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45959         New file.
45960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45961         file.
45962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45963         New file.
45964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45965         file.
45966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45967         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45968         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45969         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45970         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45971
45972         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45973         fzeros/fnegs to load 0x80000000 into a float register instead of
45974         using the stack.
45975         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45976
45977 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45978
45979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45980         bits/syscall.h.
45981         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45982         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45983         ($(inst_includedir)/bits/syscall.h): Remove rule.
45984         ($(objpfx)bits/syscall.d): Include instead of
45985         $(objpfx)syscall-list.d.
45986         (generated): Change syscall-list.h and syscall-list.d to
45987         bits/syscall.h and bits/syscall.d.
45988
45989 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45990
45991         [BZ #13846]
45992         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45993
45994 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45995
45996         [BZ #13841]
45997         * math/s_csqrt.c: Include <float.h>.
45998         (__csqrt): Scale large or subnormal inputs.
45999         * math/s_csqrtf.c: Likewise.
46000         * math/s_csqrtl.c: Likewise.
46001         * math/libm-test.inc (csqrt_test): Add more tests.
46002         * sysdeps/i386/fpu/libm-test-ulps: Update.
46003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46004
46005         [BZ #13840]
46006         * math/libm-test.inc (hypot_test): Add more tests.
46007
46008 2012-03-13  David S. Miller  <davem@davemloft.net>
46009
46010         [BZ #13840]
46011         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46012         double-precision for the calculation instead of scaling.
46013
46014 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46015
46016         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46017         manipulate bits before adding and subtracting TWO52[sx].
46018         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46019         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46020         Likewise.
46021         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46022
46023 2012-03-13  David S. Miller  <davem@davemloft.net>
46024
46025         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46026         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46028         rtld-global-offsets.h
46029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46030
46031         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46032         large parameters.
46033
46034         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46035
46036         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46037         'err' in the ifdef scope in which it is actually used.
46038
46039         * nss/nss_db/db-init.c: Include string.h
46040
46041 2012-03-12  David S. Miller  <davem@davemloft.net>
46042
46043         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46044         masking out of the most significant byte of random value used.
46045         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46046         Fix coding style in previous change.
46047
46048         * sysdeps/unix/sysv/linux/kernel-features.h
46049         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46050         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46051         expression.
46052         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46053         later.
46054
46055 2012-03-11  David S. Miller  <davem@davemloft.net>
46056
46057         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46058         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46060         for 'resultvar' otherwise things get truncated on 64-bit.
46061
46062         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46063         Fix masking out of the most significant byte of random value used.
46064
46065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46066
46067 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46068
46069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46070
46071 2012-03-09  David S. Miller  <davem@davemloft.net>
46072
46073         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46074         variables with appropriate CPP guards.
46075         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46076         from the frame pointer, not the stack pointer.  Correct layout
46077         comments.  Fix test on resulting framesize and the management of
46078         the outregs buffer for pltexit.  Preserve floating point return
46079         values across _dl_call_pltexit call.
46080         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46081         framesize and the management of the outregs buffer for pltexit.
46082         Preserve floating point return values across _dl_call_pltexit
46083         call.
46084         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46085         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46086         (la_sparc64_gnu_pltexit): New functions.
46087         (print_exit): Fix format string for return register value.
46088
46089 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46090
46091         * sunrpc/Makefile (others): Add rpcgen.
46092         ($(objpfx)rpcgen): Remove special build rule and dependency on
46093         libc.
46094         * sunrpc/rpcgen.c: New file.
46095
46096 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46097
46098         [BZ #13673]
46099         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46100         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46101         * sysdeps/i386/crti.S: Likewise.
46102         * sysdeps/i386/crtn.S: Likewise.
46103         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46104         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46105         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46106         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46107         * sysdeps/sh/crti.S: Likewise.
46108         * sysdeps/sh/crtn.S: Likewise.
46109         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46110
46111         [BZ #13673]
46112         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46113         with URL.
46114         * locale/programs/locfile-kw.gperf: Likewise.
46115         * locale/programs/charmap-kw.h: Regenerated.
46116         * locale/programs/locfile-kw.h: Likewise.
46117
46118         [BZ #13673]
46119         * intl/plural.y: Replace FSF snail mail address with URL.
46120         * intl/plural.c: Regenerated.
46121
46122 2012-03-09  Richard Henderson  <rth@twiddle.net>
46123
46124         * include/math_private.h: Remove file.
46125         * math/math_private.h: Move file ...
46126         * sysdeps/generic/math_private.h: ... here.
46127
46128         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46129         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46130         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46131
46132         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46133         and <math_private.h>.
46134         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46135         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46136         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46137         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46138         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46139         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46140         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46142         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46143         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46145         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46146         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46148         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46149         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46150         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46151         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46152         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46153         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46155         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46156         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46157         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46158         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46159         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46160         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46161         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46163         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46164         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46166         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46167         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46168         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46169         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46170         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46171         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46172         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46173         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46174         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46175         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46176         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46177         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46178         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46179         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46180         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46181         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46182         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46183         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46184         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46185         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46186         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46187         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46188         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46189         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46190         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46191         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46192         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46193         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46194         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46195         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46196         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46197         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46198         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46202         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46203         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46204         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46205         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46212         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46214         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46215         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46216         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46217         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46218         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46221         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46222         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46223         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46224         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46225         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46226         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46227         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46228         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46229         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46230         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46231         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46232         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46233         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46234         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46235         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46236         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46237         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46238         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46239         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46240         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46241         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46242         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46243         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46244         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46245         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46246         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46247         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46248         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46249         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46250         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46251         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46252         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46253         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46254         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46255         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46256         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46257         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46258         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46259         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46260         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46261         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46262         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46263         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46264         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46265         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46266         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46267         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46268         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46269         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46270         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46271         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46272         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46273         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46274         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46275         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46276         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46277         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46278         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46279         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46280         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46281         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46282         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46283         * sysdeps/ieee754/k_standard.c: Likewise.
46284         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46286         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46288         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46290         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46293         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46294         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46296         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46297         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46298         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46299         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46300         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46301         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46302         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46307         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46309         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46310         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46311         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46312         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46313         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46314         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46315         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46316         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46317         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46319         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46320         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46321         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46322         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46323         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46324         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46325         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46326         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46327         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46328         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46329         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46330         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46332         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46333         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46334         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46335         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46336         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46337         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46340         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46341         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46342         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46343         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46344         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46345         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46346         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46349         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46350         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46351         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46352         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46353         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46354         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46356         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46357         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46358         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46359         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46360         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46361         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46363         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46364         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46365         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46366         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46367         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46368         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46369         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46370         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46371         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46372         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46373         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46374         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46375         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46376         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46377         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46378         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46379         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46380         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46381         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46382         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46385         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46386         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46387         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46388         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46389         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46390         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46391         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46392         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46393         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46394         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46395         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46396         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46397         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46398         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46399         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46400         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46401         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46402         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46403         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46404         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46405         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46406         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46407         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46408         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46409         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46411         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46412         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46413         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46414         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46415         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46416         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46417         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46418         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46419         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46420         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46421         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46422         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46423         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46424         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46425         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46426         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46427         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46428         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46429         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46430         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46431         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46432         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46433         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46434         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46435         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46436         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46437         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46438         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46439         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46440         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46441         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46442         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46443         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46444         * sysdeps/ieee754/s_lib_version.c: Likewise.
46445         * sysdeps/ieee754/s_matherr.c: Likewise.
46446         * sysdeps/ieee754/s_signgam.c: Likewise.
46447         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46448         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46449         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46450         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46451         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46452         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46453         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46454         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46455         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46456         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46457         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46458         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46459         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46460         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46461         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46462         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46463         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46464         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46465         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46466         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46467         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46468
46469 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46470
46471         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46472         * sunrpc/rpc_main.c: Likewise.
46473         * sunrpc/rpc_svcout.c: Likewise.
46474
46475 2012-03-09  David S. Miller  <davem@davemloft.net>
46476
46477         * include/math_private.h: New file.
46478
46479 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46480
46481         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46482         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46483         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46484         from <bits/socket_type.h>.
46485         (enum __socket_type): Don't define here.
46486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46488         bits/socket_type.h.
46489
46490         [BZ #13566]
46491         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46492         checking __USE_GNU.
46493
46494         * Makerules ($(inst_includedir)/%.h): New rule.
46495         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46496         (install-others): Remove variable setting.
46497         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46498
46499 2012-03-08  Richard Henderson  <rth@twiddle.net>
46500
46501         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46502         from macro to inline function; merge with the
46503         !__LIBC_INTERNAL_MATH_INLINES version.
46504         (__ieee754_sqrtf): Likewise.
46505
46506         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46507         to inline function.
46508         (__rintf, __floor, __floorf): Likewise.
46509
46510         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46511         macro to inline function.
46512         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46513
46514         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46515         not <math/math_private.h>.
46516
46517 2012-03-08  David S. Miller  <davem@davemloft.net>
46518
46519         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46520         copyright year.
46521         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46522
46523 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46524
46525         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46526         normalization.
46527         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46528         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46529
46530 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46531
46532         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46533         be defined individually, they must be defined as a block.  Define
46534         S for printing a string instead of hidint the different by using a
46535         macro for adding the 'l'.
46536         * stdio-common/tst-fphex-wide.c: Adjust.
46537
46538 2012-03-07  Marek Polacek  <polacek@redhat.com>
46539
46540         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46541
46542 2012-03-08  Marek Polacek  <polacek@redhat.com>
46543
46544         [BZ #13806]
46545         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46546         * stdio-common/tst-fphex.c: Define a few macros to make the
46547         test reusable.  Use them.
46548         * stdio-common/tst-fphex-wide.c: New file.
46549
46550 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46551
46552         [BZ #6911]
46553         * manual/macros.texi (gnusystems): New macro.
46554         (nongnusystems): Likewise.
46555         (gnulinuxhurdsystems): Likewise.
46556         (gnuhurdsystems): Likewise..
46557         (gnulinuxsystems): Likewise.
46558         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46559         variants of the GNU system, not "GNU system".
46560         * manual/conf.texi: Likewise.
46561         * manual/errno.texi: Likewise.  Update example of errno macro
46562         expansion.
46563         * manual/filesys.texi: Likewise.
46564         (getumask): Document as specific to GNU/Hurd.
46565         * manual/install.texi: Likewise.  Reword some references to
46566         GNU/Linux.
46567         * manual/intro.texi: Likewise.
46568         * manual/io.texi: Likewise.
46569         (File Name Portability): Detail which constraints are inapplicable
46570         to all GNU systems and which are only inapplicable to GNU/Hurd.
46571         * manual/job.texi: Likewise.
46572         * manual/llio.texi: Likewise.
46573         (O_NOCTTY): Document as present on GNU/Linux.
46574         * manual/maint.texi: Likewise.
46575         * manual/memory.texi: Likewise.
46576         * manual/pattern.texi: Likewise.
46577         * manual/pipe.texi: Likewise.
46578         * manual/process.texi: Likewise.
46579         * manual/resource.texi: Likewise.
46580         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46581         child on GNU/Hurd.
46582         * manual/setjmp.texi: Likewise.
46583         * manual/signal.texi: Likewise.
46584         * manual/startup.texi: Likewise.
46585         * manual/stdio.texi: Likewise.
46586         * manual/terminal.texi: Likewise.
46587         (ONLCR): Document as POSIX.
46588         (OXTABS): Document availability on GNU/Linux as XTABS.
46589         (ONOEOT): Document availability separately from other bits.
46590         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46591         * manual/time.texi: Likewise.
46592         * manual/users.texi: Likewise.
46593         * INSTALL: Regenerated.
46594         * sysdeps/gnu/errlist.c: Regenerated.
46595
46596         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46597         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46598         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46599         puts.
46600         * configure: Regenerated.
46601
46602 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46603
46604         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46605         default includes instead of AC_HEADER_CHECK.
46606         * sysdeps/i386/configure: Regenerated.
46607
46608         [BZ #10716]
46609         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46610         * math/s_cacoshf.c (__cacoshf): Likewise.
46611         * math/s_cacoshl.c (__cacoshl): Likewise.
46612         * math/s_casinh.c (__casinh): Set signs of result from argument.
46613         * math/s_casinhf.c (__casinhf): Likewise.
46614         * math/s_casinhl.c (__casinhl): Likewise.
46615         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46616         (casinh_test): Add more tests.
46617         * sysdeps/i386/fpu/libm-test-ulps: Update.
46618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46619
46620 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46621
46622         * po/zh_TW.po: Update from translation team.
46623
46624         * login/Makefile (distribute): Remove variable.
46625         * catgets/Makefile: Likewise.
46626         * mach/Makefile: Likewise.
46627         * malloc/Makefile: Likewise.
46628         * misc/Makefile: Likewise.
46629         * iconv/Makefile: Likewise.
46630         * nscd/Makefile: Likewise.
46631         * hurd/Makefile: Likewise.
46632         * manual/Makefile: Likewise.
46633         * locale/Makefile: Likewise.
46634         * intl/Makefile: Likewise.
46635         * conform/Makefile: Likewise.
46636         * nss/Makefile: Likewise.
46637         * time/Makefile: Likewise.
46638         * soft-fp/Makefile: Likewise.
46639         * dirent/Makefile: Likewise.
46640         * gmon/Makefile: Likewise.
46641         * po/Makefile: Likewise.
46642         * rt/Makefile: Likewise.
46643         * socket/Makefile: Likewise.
46644         * math/Makefile: Likewise.
46645         * signal/Makefile: Likewise.
46646         * debug/Makefile: Likewise.
46647         * elf/Makefile: Likewise.
46648         * timezone/Makefile: Likewise.
46649         * stdlib/Makefile: Likewise.
46650         * iconvdata/Makefile: Likewise.
46651         * sunrpc/Makefile: Likewise.
46652         * io/Makefile: Likewise.
46653         * argp/Makefile: Likewise.
46654         * inet/Makefile: Likewise.
46655         * hesiod/Makefile: Likewise.
46656         * grp/Makefile: Likewise.
46657         * csu/Makefile: Likewise.
46658         * wctype/Makefile: Likewise.
46659         * crypt/Makefile: Likewise.
46660         * libio/Makefile: Likewise.
46661         * string/Makefile: Likewise.
46662         * nis/Makefile: Likewise.
46663         * resolv/Makefile: Likewise.
46664         * stdio-common/Makefile: Likewise.
46665         * wcsmbs/Makefile: Likewise.
46666         * dlfcn/Makefile: Likewise.
46667         * posix/Makefile: Likewise.
46668
46669         [BZ #6959]
46670         * timezone/Makefile: Don't install timezone files, just the programs
46671         and scripts.
46672
46673 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46674
46675         * nss/databases.def: Add missing gshadow entry.
46676
46677         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46678
46679 2012-03-06  Marek Polacek  <polacek@redhat.com>
46680
46681         [BZ #13726]
46682         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46683         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46684         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46685         * stdio-common/tst-long-dbl-fphex.c: New file.
46686
46687 2012-03-06  David S. Miller  <davem@davemloft.net>
46688
46689         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46690         (set_obp_int): New function.
46691         (get_obp_int): New function.
46692         (__get_clockfreq_via_dev_openprom): Likewise.
46693         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46694         Avoid unused variable warnings on 'val' and use builtin_expect.
46695         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46696         __builtin_expect.
46697         (INLINE_CLONE_SYSCALL): Likewise.
46698
46699 2012-03-05  David S. Miller  <davem@davemloft.net>
46700
46701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46702
46703 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46704
46705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46706
46707         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46708         only for |x| >= 40.
46709         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46710
46711 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46712
46713         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46714         Replace gettimeofday with __vdso_gettimeofday.
46715
46716         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46717         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46718         __vdso_clock_gettime and __vdso_getcpu.
46719
46720         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46721         time with __vdso_time.
46722
46723 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46724
46725         * manual/lang.texi (size_t): Note types to which size_t may be
46726         equivalent with the GNU C Library, but do not describe when
46727         differences between them are significant.
46728
46729 2012-03-05  Andreas Jaeger  <aj@suse.de>
46730
46731         * sysdeps/i386/fpu/libm-test-ulps: Update.
46732
46733 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46734
46735         [BZ #3976]
46736         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46737         (__ieee754_pow): Save and restore rounding mode and use
46738         round-to-nearest for main computations.
46739         * math/libm-test.inc (pow_test_tonearest): New function.
46740         (pow_test_towardzero): Likewise.
46741         (pow_test_downward): Likewise.
46742         (pow_test_upward): Likewise.
46743         (main): Call the new functions.
46744         * sysdeps/i386/fpu/libm-test-ulps: Update.
46745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46746
46747         [BZ #3976]
46748         * math/libm-test.inc (cosh_test_tonearest): New function.
46749         (cosh_test_towardzero): Likewise.
46750         (cosh_test_downward): Likewise.
46751         (cosh_test_upward): Likewise.
46752         (sinh_test_tonearest): Likewise.
46753         (sinh_test_towardzero): Likewise.
46754         (sinh_test_downward): Likewise.
46755         (sinh_test_upward): Likewise.
46756         (main): Call the new functions.
46757         * sysdeps/i386/fpu/libm-test-ulps: Update.
46758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46759
46760 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46761
46762         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46763         default stack guard is set in last bytes.
46764         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46765
46766 2012-03-05  Kees Cook  <keescook@chromium.org>
46767
46768         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46769
46770         [BZ #13656]
46771         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46772         possibly allocate from heap instead of stack.
46773         * stdio-common/bug-vfprintf-nargs.c: New file.
46774         * stdio-common/Makefile (tests): Add nargs overflow test.
46775
46776 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46777
46778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46779
46780 2012-03-03  Marek Polacek  <polacek@redhat.com>
46781
46782         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46783         * math/math_private.h: Likewise.
46784         * stdlib/tst-strtod.c: Likewise.
46785         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46786         * sysdeps/x86_64/bits/atomic.h: Likewise.
46787
46788 2012-03-02  David S. Miller  <davem@davemloft.net>
46789
46790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46794         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46795         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46796         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46797         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46798
46799 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46800
46801         [BZ #13792]
46802         * manual/examples/README: New file, says the example source files
46803         can be used under GPL>=2.
46804         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46805         line containing just "*/".
46806         * manual/examples/add.c: Add copyright header (GPL>=2).
46807         * manual/examples/argp-ex1.c: Likewise.
46808         * manual/examples/argp-ex2.c: Likewise.
46809         * manual/examples/argp-ex3.c: Likewise.
46810         * manual/examples/argp-ex4.c: Likewise.
46811         * manual/examples/atexit.c: Likewise.
46812         * manual/examples/db.c: Likewise.
46813         * manual/examples/dir.c: Likewise.
46814         * manual/examples/dir2.c: Likewise.
46815         * manual/examples/execinfo.c: Likewise.
46816         * manual/examples/filecli.c: Likewise.
46817         * manual/examples/filesrv.c: Likewise.
46818         * manual/examples/fmtmsgexpl.c: Likewise.
46819         * manual/examples/genpass.c: Likewise.
46820         * manual/examples/inetcli.c: Likewise.
46821         * manual/examples/inetsrv.c: Likewise.
46822         * manual/examples/isockad.c: Likewise.
46823         * manual/examples/longopt.c: Likewise.
46824         * manual/examples/memopen.c: Likewise.
46825         * manual/examples/memstrm.c: Likewise.
46826         * manual/examples/mkfsock.c: Likewise.
46827         * manual/examples/mkisock.c: Likewise.
46828         * manual/examples/mygetpass.c: Likewise.
46829         * manual/examples/pipe.c: Likewise.
46830         * manual/examples/popen.c: Likewise.
46831         * manual/examples/rprintf.c: Likewise.
46832         * manual/examples/search.c: Likewise.
46833         * manual/examples/select.c: Likewise.
46834         * manual/examples/setjmp.c: Likewise.
46835         * manual/examples/sigh1.c: Likewise.
46836         * manual/examples/sigusr.c: Likewise.
46837         * manual/examples/stpcpy.c: Likewise.
46838         * manual/examples/strdupa.c: Likewise.
46839         * manual/examples/strftim.c: Likewise.
46840         * manual/examples/strncat.c: Likewise.
46841         * manual/examples/subopt.c: Likewise.
46842         * manual/examples/swapcontext.c: Likewise.
46843         * manual/examples/termios.c: Likewise.
46844         * manual/examples/testopt.c: Likewise.
46845         * manual/examples/testpass.c: Likewise.
46846         * manual/examples/timeval_subtract.c: Likewise.
46847
46848         [BZ #13792]
46849         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46850         function to ...
46851         * manual/timeval_subtract.c.texi: ... here, new file.
46852
46853 2012-03-02  David S. Miller  <davem@davemloft.net>
46854
46855         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46856
46857 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46858
46859         [BZ #3976]
46860         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46861         (__sin): Save and restore rounding mode and use round-to-nearest
46862         for all computations.
46863         (__cos): Save and restore rounding mode and use round-to-nearest
46864         for all computations.
46865         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46866         <fenv.h>.
46867         (tan): Save and restore rounding mode and use round-to-nearest for
46868         all computations.
46869         * math/libm-test.inc (cos_test_tonearest): New function.
46870         (cos_test_towardzero): Likewise.
46871         (cos_test_downward): Likewise.
46872         (cos_test_upward): Likewise.
46873         (sin_test_tonearest): Likewise.
46874         (sin_test_towardzero): Likewise.
46875         (sin_test_downward): Likewise.
46876         (sin_test_upward): Likewise.
46877         (tan_test_tonearest): Likewise.
46878         (tan_test_towardzero): Likewise.
46879         (tan_test_downward): Likewise.
46880         (tan_test_upward): Likewise.
46881         (main): Call the new functions.
46882         * sysdeps/i386/fpu/libm-test-ulps: Update.
46883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46884
46885         [BZ #10135]
46886         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46887         small n, then large n, before computing and testing k+n.
46888         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46890         Likewise.
46891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46892         Likewise.
46893         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46894         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46897         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46898         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46899         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46900         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46901         * math/libm-test.inc (scalbn_test): Add more tests.
46902         (scalbln_test): Likewise.
46903
46904         * manual/filesys.texi (mode_t): Describe constraints on size and
46905         signedness, not exact equivalence to a particular type.
46906         (ino_t): Likewise.
46907         (ino64_t): Likewise.
46908         (dev_t): Likewise.
46909         (nlink_t): Likewise.
46910         (blkcnt_t): Likewise.
46911         (blkcnt64_t): Likewise.
46912         * manual/llio.texi (off_t): Likewise.
46913
46914         [BZ #3976]
46915         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46916         (__ieee754_exp): Save and restore rounding mode and use
46917         round-to-nearest for all computations.
46918         * math/libm-test.inc (exp_test_tonearest): New function.
46919         (exp_test_towardzero): Likewise.
46920         (exp_test_downward): Likewise.
46921         (exp_test_upward): Likewise.
46922         (main): Call the new functions.
46923         * sysdeps/i386/fpu/libm-test-ulps: Update.
46924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46925
46926 2012-03-01  Chris Demetriou  <cgd@google.com>
46927
46928         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46929         have predictable order.
46930
46931 2012-03-01  David S. Miller  <davem@davemloft.net>
46932
46933         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46934
46935         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46936         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46937         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46938         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46939
46940         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46941         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46942         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46944         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46945         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46946         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46947         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46948         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46949
46950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46951
46952         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46953         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46954         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46955
46956         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46957         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46958         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46959         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46960         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46961         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46962         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46963         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46964         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46965         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46966         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46967         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46969         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46970         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46972         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46973         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46974         * sysdeps/sparc/elf/configure: Regenerated.
46975
46976 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46977
46978         * configure.in (AS, LD): Require binutils 2.20 or later.
46979         * configure: Regenerated.
46980         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46981         as required minimum version.
46982         * INSTALL: Regenerated.
46983
46984         [BZ #2541]
46985         [BZ #4108]
46986         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46987         before squaring exponent.
46988         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46989         bottom long double and 27 bits of top long double before squaring
46990         exponent.
46991         * math/libm-test.inc (erfc_test): Add more tests.
46992         * sysdeps/i386/fpu/libm-test-ulps: Update.
46993         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46995
46996 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46997
46998         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46999         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47000         containing bit-fields.
47001         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47002         * soft-fp/single.h (_FP_UNION_S): Likewise.
47003         * soft-fp/double.h (_FP_UNION_D): Likewise.
47004
47005 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47006
47007         [BZ #13786]
47008         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47009         not include ../strcmp.S.
47010         [USE_AS_STRNCASECMP_L]: Likewise.
47011         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47012         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47013         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47014         (__strncasecmp_l_ia32): Define as alias to
47015         __strncasecmp_l_nonascii.
47016
47017         [BZ #5794]
47018         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47019         * sysdeps/i386/fpu/libm-test-ulps: Update.
47020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47021
47022         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47024
47025 2012-02-29  Jeff Law  <law@redhat.com>
47026
47027         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47028         out of bounds read.
47029
47030 2012-02-29  Marek Polacek  <polacek@redhat.com>
47031
47032         [BZ #13706]
47033         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47034         * elf/Makefile: Add rules to run tst-unused-dep.out.
47035
47036 2012-02-28  David S. Miller  <davem@davemloft.net>
47037
47038         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47039         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47040         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47041         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47042         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47043         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47044
47045 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47046
47047         * math/libm-test.inc (llround_test): Move one test from
47048         lround_test.  Use TEST_f_L in moved test.
47049         (lround_test): Move misplaced test to llround_test.  Add testcase
47050         from bug 2561.
47051
47052 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47053
47054         * sysdeps/x86_64/fpu/e_expf.S: New file.
47055         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47056
47057 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47058
47059         [BZ #13637]
47060         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47061         of remain_len that may cause incomplete multi-byte character and
47062         false match.
47063         * posix/bug-regex33.c: New file.
47064         * posix/Makefile (tests): Add bug-regex33.
47065
47066 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47067
47068         * manual/macros.texi: New file.
47069         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47070         * manual/libc.texinfo: Include macros.texi.
47071         * manual/creatute.texi: Likewise.
47072         * manual/install.texi: Likewise.
47073         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47074         @glibcadj{} in references to the GNU C Library.
47075         * manual/charset.texi: Likewise.
47076         * manual/conf.texi: Likewise.
47077         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47078         when not using those macros.
47079         * manual/creature.texi: Likewise.
47080         * manual/crypt.texi: Likewise.
47081         * manual/errno.texi: Likewise.
47082         * manual/filesys.texi: Likewise.
47083         * manual/header.texi: Likewise.
47084         * manual/install.texi: Likewise.
47085         * manual/intro.texi: Likewise.
47086         * manual/io.texi: Likewise.
47087         * manual/job.texi: Likewise.
47088         * manual/lang.texi: Likewise.
47089         * manual/libc.texiinfo: Likewise.
47090         * manual/llio.texi: Likewise.
47091         * manual/locale.texi: Likewise.
47092         * manual/maint.texi: Likewise.
47093         * manual/math.texi: Likewise.
47094         * manual/memory.texi: Likewise.
47095         * manual/message.texi: Likewise.
47096         * manual/nss.texi: Likewise.
47097         * manual/pattern.texi: Likewise.
47098         * manual/process.texi: Likewise.
47099         * manual/resource.texi: Likewise.
47100         * manual/search.texi: Likewise.
47101         * manual/setjmp.texi: Likewise.
47102         * manual/signal.texi: Likewise.
47103         * manual/socket.texi: Likewise.
47104         * manual/startup.texi: Likewise.
47105         * manual/stdio.texi: Likewise.
47106         * manual/string.texi: Likewise.
47107         * manual/sysinfo.texi: Likewise.
47108         * manual/syslog.texi: Likewise.
47109         * manual/terminal.texi: Likewise.
47110         * manual/time.texi: Likewise.
47111         * manual/users.texi: Likewise.
47112         * INSTALL: Regenerated.
47113         * NOTES: Regenerated.
47114         * sysdeps/gnu/errlist.c: Regenerated.
47115
47116 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47117
47118         * include/dirent.h: Include <dirstream.h> before
47119         <dirent/dirent.h>.
47120
47121 2012-02-28  David S. Miller  <davem@davemloft.net>
47122
47123         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47124         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47125         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47126         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47127
47128 2012-02-27  David S. Miller  <davem@davemloft.net>
47129
47130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47132         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47133         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47134
47135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47136         frame pointer instead of stack pointer relative arg slot.
47137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47138         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47139         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47140
47141 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47142
47143         [BZ #3992]
47144         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47145
47146 2012-02-27  David S. Miller  <davem@davemloft.net>
47147
47148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47152         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47153         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47154         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47155         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47156
47157 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47158
47159         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47160         later.  Allow versions 5-9.
47161         * configure: Regenerated.
47162         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47163         required minimum version and 4.6 as recommended version.  Do not
47164         mention bugs in GCC 2.7 and 2.8.
47165         * INSTALL: Regenerated.
47166
47167 2012-02-27  David S. Miller  <davem@davemloft.net>
47168
47169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47173         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47174         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47175         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47176         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47177
47178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47179         manipulate bits before adding and subtracting TWO112[sx].
47180         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47181
47182 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47183
47184         [BZ #13775]
47185         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47186         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47187         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47188         being in POSIX, because they are in 1003.1-2008.
47189
47190         * rt/tst-aio.c: Include <fcntl.h>.
47191         * rt/tst-aio7.c: Likewise.
47192         * rt/tst-aio64.c: Likewise.
47193
47194         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47195
47196 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47197
47198         * manual/install.texi (--with-headers): Describe headers as
47199         interface headers, not private headers.
47200         (Specific advice for GNU/Linux systems): Describe use of headers
47201         from "make headers_install", not private headers from older
47202         kernels.
47203         * INSTALL: Regenerated.
47204         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47205         Change to 2.6.19.
47206         * sysdeps/unix/sysv/linux/configure: Regenerated.
47207
47208         * manual/llio.texi (fclean): Remove documentation.
47209
47210         * manual/Makefile (libc-texi-generated): New variable.  Include
47211         version.texi.
47212         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47213         $(libc-texi-generated), not duplicated list of files.
47214         (version.texi, stamp-version): New rules.
47215         (realclean): Remove $(libc-texi-generated), not individual files
47216         from that list.  Do not remove dir-add.texinfo.
47217         * manual/libc.texinfo: Comment out uses of edition numbers and
47218         references to printed manual.  Remove last-updated dates.
47219         (EDITION): Comment out.
47220         (ISBN): Likewise.
47221         (VERSION, UPDATED): Remove.
47222         (version.texi): Include.
47223
47224 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47225
47226         * sysdeps/posix/spawni.c: Include <signal.h>.
47227         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47228         * sysdeps/pthread/aio_fsync.c: Likewise.
47229
47230 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47231
47232         * conform/Makefile (tests): Run only when not cross-compiling and
47233         when fast-check is not defined.
47234
47235         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47236         * conform/data/limits.h-data: Fixes for POSIX2008.
47237         * conform/run-conformtest.sh: Run all tests.
47238         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47239         headers.
47240         * include/bits/dlfcn.h: Likewise.
47241         * include/langinfo.h: Likewise.
47242         * include/monetary.h: Likewise.
47243         * include/sys/poll.h: Likewise.
47244
47245         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47246         for __USE_GNU.
47247         * posix/spawn.h: Define __need_sigset_t.
47248         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47249         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47250         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47251         to get sigevent_t only.
47252         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47253         only for __USE_GNU.
47254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47255         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47256         process_vm_writev only for __USE_GNU.
47257         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47258
47259         * conform/Makefile: For now ignore errors from run-conformtest.
47260         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47261         POSIX to avoid namespace pollution.  Don't prepend headers.
47262         * conform/data/aio.h-data: Fixes for POSIX testing.
47263         * conform/data/fcntl.h-data: Likewise.
47264         * conform/data/glob.h-data: Likewise.
47265         * conform/data/grp.h-data: Likewise.
47266         * conform/data/pthread.h-data: Likewise.
47267         * conform/data/pwd.h-data: Likewise.
47268         * conform/data/signal.h-data: Likewise.
47269         * conform/data/spawn.h-data: Likewise.
47270         * conform/data/stdio.h-data: Likewise.
47271         * conform/data/stdlib.h-data: Likewise.
47272         * conform/data/stropts.h-data: Likewise.
47273         * conform/data/sys/mman.h-data: Likewise.
47274         * conform/data/sys/stat.h-data: Likewise.
47275         * conform/data/sys/types.h-data: Likewise.
47276         * conform/data/sys/wait.h-data: Likewise.
47277         * conform/data/time.h-data: Likewise.
47278         * conform/data/unistd.h-data: Likewise.
47279         * conform/data/utime.h-data: Likewise.
47280
47281         * io/sys/stat.h: fchmod was always in POSIX.
47282         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47283         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47284         * rt/aio.h: Define __need_timespec before including <time.h>.
47285         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47286         struct.  Add forward declaration of pthread_attr_t and use it in
47287         sigevent.
47288         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47290         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47291         always remove CLK_TCK definition.
47292
47293 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47294
47295         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47296
47297 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47298
47299         * conform/run-conformtest.sh: New file.
47300         * conform/Makefile: Run run-conformtest for tests.
47301         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47302         support.
47303
47304         * conform/data/uchar.h-data: New file.
47305         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47306         * conform/data/arpa/inet.h-data: Likewise.
47307         * conform/data/assert.h-data: Likewise.
47308         * conform/data/complex.h-data: Likewise.
47309         * conform/data/cpio.h-data: Likewise.
47310         * conform/data/ctype.h-data: Likewise.
47311         * conform/data/dirent.h-data: Likewise.
47312         * conform/data/dlfcn.h-data: Likewise.
47313         * conform/data/errno.h-data: Likewise.
47314         * conform/data/fcntl.h-data: Likewise.
47315         * conform/data/float.h-data: Likewise.
47316         * conform/data/fmtmsg.h-data: Likewise.
47317         * conform/data/fnmatch.h-data: Likewise.
47318         * conform/data/ftw.h-data: Likewise.
47319         * conform/data/glob.h-data: Likewise.
47320         * conform/data/grp.h-data: Likewise.
47321         * conform/data/iconv.h-data: Likewise.
47322         * conform/data/inttypes.h-data: Likewise.
47323         * conform/data/langinfo.h-data: Likewise.
47324         * conform/data/libgen.h-data: Likewise.
47325         * conform/data/limits.h-data: Likewise.
47326         * conform/data/locale.h-data: Likewise.
47327         * conform/data/math.h-data: Likewise.
47328         * conform/data/monetary.h-data: Likewise.
47329         * conform/data/mqueue.h-data: Likewise.
47330         * conform/data/ndbm.h-data: Likewise.
47331         * conform/data/net/if.h-data: Likewise.
47332         * conform/data/netdb.h-data: Likewise.
47333         * conform/data/netinet/in.h-data: Likewise.
47334         * conform/data/nl_types.h-data: Likewise.
47335         * conform/data/poll.h-data: Likewise.
47336         * conform/data/pthread.h-data: Likewise.
47337         * conform/data/pwd.h-data: Likewise.
47338         * conform/data/regex.h-data: Likewise.
47339         * conform/data/sched.h-data: Likewise.
47340         * conform/data/search.h-data: Likewise.
47341         * conform/data/semaphore.h-data: Likewise.
47342         * conform/data/setjmp.h-data: Likewise.
47343         * conform/data/signal.h-data: Likewise.
47344         * conform/data/spawn.h-data: Likewise.
47345         * conform/data/stdarg.h-data: Likewise.
47346         * conform/data/stdio.h-data: Likewise.
47347         * conform/data/stdlib.h-data: Likewise.
47348         * conform/data/string.h-data: Likewise.
47349         * conform/data/strings.h-data: Likewise.
47350         * conform/data/stropts.h-data: Likewise.
47351         * conform/data/sys/ipc.h-data: Likewise.
47352         * conform/data/sys/mman.h-data: Likewise.
47353         * conform/data/sys/msg.h-data: Likewise.
47354         * conform/data/sys/resource.h-data: Likewise.
47355         * conform/data/sys/select.h-data: Likewise.
47356         * conform/data/sys/sem.h-data: Likewise.
47357         * conform/data/sys/shm.h-data: Likewise.
47358         * conform/data/sys/socket.h-data: Likewise.
47359         * conform/data/sys/stat.h-data: Likewise.
47360         * conform/data/sys/statvfs.h-data: Likewise.
47361         * conform/data/sys/time.h-data: Likewise.
47362         * conform/data/sys/timeb.h-data: Likewise.
47363         * conform/data/sys/times.h-data: Likewise.
47364         * conform/data/sys/types.h-data: Likewise.
47365         * conform/data/sys/uio.h-data: Likewise.
47366         * conform/data/sys/un.h-data: Likewise.
47367         * conform/data/sys/utsname.h-data: Likewise.
47368         * conform/data/sys/wait.h-data: Likewise.
47369         * conform/data/syslog.h-data: Likewise.
47370         * conform/data/tar.h-data: Likewise.
47371         * conform/data/termios.h-data: Likewise.
47372         * conform/data/utime.h-data: Likewise.
47373         * conform/data/utmpx.h-data: Likewise.
47374         * conform/data/varargs.h-data: Likewise.
47375         * conform/data/wchar.h-data: Likewise.
47376         * conform/data/wctype.h-data: Likewise.
47377         * conform/data/wordexp.h-data: Likewise.
47378
47379         * include/stropts.h: New file.
47380         * include/uchar.h: New file.
47381         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47382         * include/assert.h: Likewise.
47383         * include/ctype.h: Likewise.
47384         * include/dirent.h: Likewise.
47385         * include/dlfcn.h: Likewise.
47386         * include/fcntl.h: Likewise.
47387         * include/fnmatch.h: Likewise.
47388         * include/glob.h: Likewise.
47389         * include/grp.h: Likewise.
47390         * include/libio.h: Likewise.
47391         * include/locale.h: Likewise.
47392         * include/math.h: Likewise.
47393         * include/net/if.h: Likewise.
47394         * include/netdb.h: Likewise.
47395         * include/netinet/in.h: Likewise.
47396         * include/pthread.h: Likewise.
47397         * include/pwd.h: Likewise.
47398         * include/regex.h: Likewise.
47399         * include/sched.h: Likewise.
47400         * include/search.h: Likewise.
47401         * include/setjmp.h: Likewise.
47402         * include/signal.h: Likewise.
47403         * include/stdio.h: Likewise.
47404         * include/stdlib.h: Likewise.
47405         * include/string.h: Likewise.
47406         * include/sys/cdefs.h: Likewise.
47407         * include/sys/mman.h: Likewise.
47408         * include/sys/msg.h: Likewise.
47409         * include/sys/resource.h: Likewise.
47410         * include/sys/select.h: Likewise.
47411         * include/sys/socket.h: Likewise.
47412         * include/sys/stat.h: Likewise.
47413         * include/sys/statvfs.h: Likewise.
47414         * include/sys/time.h: Likewise.
47415         * include/sys/times.h: Likewise.
47416         * include/sys/uio.h: Likewise.
47417         * include/sys/utsname.h: Likewise.
47418         * include/sys/wait.h: Likewise.
47419         * include/termios.h: Likewise.
47420         * include/time.h: Likewise.
47421         * include/ulimit.h: Likewise.
47422         * include/unistd.h: Likewise.
47423         * include/utime.h: Likewise.
47424         * include/wchar.h: Likewise.
47425         * include/wctype.h: Likewise.
47426         * include/wordexp.h: Likewise.
47427
47428         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47429
47430         * time/time.h: TIME_UTC must be a macro.
47431         Make timespec_get available for ISO C11 only as well.
47432
47433 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47434
47435         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47436         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47437
47438 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47439
47440         * configure.in: Use -o not -a in test for unsupported multi-arch.
47441
47442 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47443
47444         * manual/texinfo.tex: Update to version 2012-01-19.16.
47445
47446 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47447
47448         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47449
47450 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47451
47452         [BZ #13738]
47453         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47454         * manual/fdl-1.3.texi: New file.
47455         * manual/fdl-1.1.texi: File removed.
47456
47457         [BZ #13738]
47458         * manual/libc.texinfo (FDL_VERSION): New @set.
47459         Use it for mention of FDL in cover text.
47460         (Documentation License): Use it in @include file name.
47461
47462 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47463             Roland McGrath  <roland@hack.frob.com>
47464
47465         [BZ #5461]
47466         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47467         (not LONG_LONG_MAX and LONG_LONG_MIN.
47468         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47469         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47470         name.
47471         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47472
47473 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47474
47475         [BZ #2547]
47476         [BZ #11365]
47477         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47478         manipulate bits before adding and subtracting TWO23[sx].
47479         * math/libm-test.inc (nearbyint_test): Add more tests.
47480
47481 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47482
47483         [BZ #2548]
47484         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47485         bits before adding and subtracting TWO23[sx].
47486         * math/libm-test.inc (rint_test): Add more tests.
47487         (rint_test_tonearest): Likewise.
47488         (rint_test_towardzero): Likewise.
47489         (rint_test_downward): Likewise.
47490         (rint_test_upward: Likewise.
47491
47492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47493
47494         [BZ #10110]
47495         * include/stdc-predef.h: New file.  Extracted from features.h.
47496         * include/features.h: Include stdc-predef.h.
47497         * Makefile (headers): Add stdc-predef.h.
47498         * CONFORMANCE (Compiler limitations): Update.
47499
47500 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47501
47502         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47503
47504 2012-02-21  David S. Miller  <davem@davemloft.net>
47505
47506         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47507         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47508
47509 2012-02-20  David S. Miller  <davem@davemloft.net>
47510
47511         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47512         using a normal save/restore sequence, rather than allocating a
47513         dummy stack frame just to store a frame pointer and restore.
47514         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47515
47516 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47517
47518         * manual/install.texi: Fix stray word in line-wrapped comment.
47519
47520 2012-02-20  David S. Miller  <davem@davemloft.net>
47521
47522         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47523         both binutils and gcc support GOTDATA.
47524
47525         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47526         "rd %pc" in the PIC register setup sequences.
47527
47528         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47529         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47530         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47531         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47532         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47533         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47534         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47535         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47537         (SYSCALL_ERROR_HANDLER): Likewise.
47538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47539         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47541         (SYSCALL_ERROR_HANDLER): Likewise.
47542
47543         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47544         (HAVE_GCC_GOTDATA): New.
47545         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47546         relocation support in both binutils and gcc.
47547         * sysdeps/sparc/elf/configure: Regenerate.
47548
47549         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47550         * sysdeps/sparc/sparc32/elf/configure: Delete.
47551         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47552         * sysdeps/sparc/sparc64/elf/configure: Delete.
47553         * sysdeps/sparc/elf/configure.in: New file.
47554         * sysdeps/sparc/elf/configure: Generate.
47555
47556         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47557         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47558         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47559         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47560         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47561
47562 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47563
47564         * manual/install.texi: Do not mention specific glibc version
47565         numbers.
47566         * manual/libc.texinfo (VERSION, UPDATED): Update.
47567         (@copying): Use @copyright{} and range of years.
47568
47569 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47570
47571         [BZ #13695]
47572         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47573         [crti.S not in sysdirs] (generated): Do not append.
47574         [crti.S not in sysdirs] (omit-deps): Likewise.
47575         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47576         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47577         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47578         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47579         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47580         Likewise.
47581         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47582         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47583         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47584         * csu/defs.awk: Remove file.
47585         * sysdeps/generic/initfini.c: Likewise.
47586         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47587         variable.
47588         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47589         Likewise.
47590
47591 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47592
47593         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47594         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47595         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47596         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47597         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47598         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47599         <bits/epoll.h>.
47600         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47601         (__EPOLL_PACKED): Define to empty if not defined by
47602         <bits/epoll.h>.
47603         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47605         bits/epoll.h.
47606
47607 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47608
47609         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47610         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47611         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47612         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47613         <bits/timerfd.h>.
47614         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47616         bits/timerfd.h.
47617
47618 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47619
47620         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47621         in C locale.
47622         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47623         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47624         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47626
47627 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47628
47629         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47630         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47631
47632 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47633
47634         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47635         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47636         defined.
47637         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47638         Likewise.
47639         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47640         entry for 2.16.
47641
47642 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47643
47644         * math/w_acos.c: Use non-signaling floating-point comparisons.
47645         * math/w_acosf.c: Likewise.
47646         * math/w_acosh.c: Likewise.
47647         * math/w_acoshf.c: Likewise.
47648         * math/w_acoshl.c: Likewise.
47649         * math/w_acosl.c: Likewise.
47650         * math/w_asin.c: Likewise.
47651         * math/w_asinf.c: Likewise.
47652         * math/w_asinl.c: Likewise.
47653         * math/w_atanh.c: Likewise.
47654         * math/w_atanhf.c: Likewise.
47655         * math/w_atanhl.c: Likewise.
47656         * math/w_exp2.c: Likewise.
47657         * math/w_exp2f.c: Likewise.
47658         * math/w_exp2l.c: Likewise.
47659         * math/w_j0.c: Likewise.
47660         * math/w_j0f.c: Likewise.
47661         * math/w_j0l.c: Likewise.
47662         * math/w_j1.c: Likewise.
47663         * math/w_j1f.c: Likewise.
47664         * math/w_j1l.c: Likewise.
47665         * math/w_jn.c: Likewise.
47666         * math/w_jnf.c: Likewise.
47667         * math/w_log.c: Likewise.
47668         * math/w_log10.c: Likewise.
47669         * math/w_log10f.c: Likewise.
47670         * math/w_log10l.c: Likewise.
47671         * math/w_log2.c: Likewise.
47672         * math/w_log2f.c: Likewise.
47673         * math/w_log2l.c: Likewise.
47674         * math/w_logf.c: Likewise.
47675         * math/w_logl.c: Likewise.
47676         * math/w_sqrt.c: Likewise.
47677         * math/w_sqrtf.c: Likewise.
47678         * math/w_sqrtl.c: Likewise.
47679         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47680         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47681         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47682         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47683         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47684
47685 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47686
47687         [BZ #9739]
47688         * manual/string.texi (strnlen): Use correct parameter name in
47689         equivalent expression.
47690
47691 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47692
47693         [BZ #11174]
47694         * manual/users.texi (seteuid): Consistently use neweuid for
47695         argument name.
47696
47697 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47698
47699         [BZ #13704]
47700         * manual/nss.texi (Services in the NSS configuration): Correct
47701         list of services in example configuration file.
47702
47703 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47704
47705         [BZ #11322]
47706         * manual/arith.texi: Remove statements about negative zero
47707         behaving identically to zero.
47708
47709 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47710
47711         [BZ #5993]
47712         * manual/install.texi: Do not document upgrading from libc5.
47713
47714 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47715
47716         [BZ #4596]
47717         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47718
47719 2012-02-18  David S. Miller  <davem@davemloft.net>
47720
47721         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47722         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47723         %o7 across the call.
47724         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47725         instead.
47726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47727         SETUP_PIC_REG_LEAF.
47728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47729         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47730         * sysdeps/sparc/crtn.S: Likewise.
47731
47732 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47733
47734         * aout/Makefile: Remove.
47735
47736 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47737
47738         [BZ #13058]
47739         * manual/examples/argp-ex1.c (main): Format definition in GNU
47740         style.
47741         * manual/examples/argp-ex2.c (main): Likewise.
47742         * manual/examples/argp-ex3.c (main): Likewise.
47743         * manual/examples/argp-ex4.c (main): Likewise.
47744         * manual/examples/longopt.c (main): Use new-style prototype
47745         definition.
47746         * manual/examples/strncat.c (main): Specify return type and use
47747         (void) for arguments.
47748         * manual/examples/subopt.c (main): Use char **argv argument.
47749
47750 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47751
47752         [BZ #5077]
47753         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47754         rounding modes.
47755
47756 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47757
47758         [BZ #6907]
47759         * manual/string.texi (strchr): Change when strchrnul is
47760         recommended.
47761
47762 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47763
47764         [BZ #174]
47765         * manual/locale.texi (setlocale): Document LOCPATH.
47766
47767 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47768
47769         [BZ #10210]
47770         * manual/process.texi (execle): Move @dots{} before last argument.
47771
47772 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47773
47774         [BZ #12047]
47775         * manual/charset.texi (Generic Charset Conversion): Fix typo
47776         (LC_TYPE -> LC_CTYPE).
47777
47778 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47779
47780         [BZ #5805]
47781         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47782         (scalbnf): Likewise.
47783         (scalbnl): Likewise.
47784         (scalbln): Likewise.
47785         (scalblnf): Likewise.
47786         (scalblnl): Likewise.
47787         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47788         (vwarnx): Likewise.
47789         (verr): Likewise.
47790         (verrx): Likewise.
47791         * manual/filesys.texi (telldir): Use braces around return type.
47792         * manual/llio.texi (mmap): Add space after comma.
47793         (mmap64): Likewise.
47794         * manual/math.texi (jn): Use @var{} on parameter names.
47795         (jnf): Likewise.
47796         (jnl): Likewise.
47797         (yn): Likewise.
47798         (ynf): Likewise.
47799         (ynl): Likewise.
47800         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47801         line.
47802         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47803         "...".
47804         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47805         (sched_get_priority_max): Likewise.
47806         * manual/signal.texi (sigvec): Add space after comma.
47807         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47808         names.
47809         (if_indextoname): Likewise.
47810         (if_freenameindex): Likewise.
47811         (sendto): Use ',' instead of '.' in prototype.
47812         * manual/startup.texi (syscall): Use @dots{} instead of literal
47813         "...".
47814         * manual/stdio.texi (__fpending): Separate initial words of
47815         paragraph from @deftypefun line.
47816         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47817         "...".
47818         (vsyslog): Use @var{} on parameter names.
47819         * manual/terminal.texi (stty): Use @var{} on parameter names.
47820         * manual/users.texi (getutmp): Use @var{} on parameter names.
47821         (getutmpx): Likewise.
47822
47823 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47824
47825         [BZ #6884]
47826         * manual/stdio.texi (fopen): Fix typos in description of
47827         ",ccs=STRING".
47828
47829 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47830
47831         [BZ #4026]
47832         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47833         get clock_id definition.
47834
47835 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47836
47837         [BZ #4822]
47838         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47839         (madvise): Cast every argument to void on its own.
47840
47841 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47842
47843         [BZ #9902]
47844         * manual/startup.texi (Exit Status): Fix typo.
47845
47846 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47847
47848         [BZ #10140]
47849         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47850         * manual/examples/argp-ex2.c: Likewise.
47851         * manual/examples/argp-ex3.c: Likewise.
47852
47853 2012-02-16  Richard Henderson  <rth@redhat.com>
47854
47855         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47856         * sysdeps/s390/s390-32/initfini.c: Remove.
47857         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47858         * sysdeps/s390/s390-64/initfini.c: Remove.
47859
47860 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47861
47862         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47863         compiler output for sysdeps/generic/initfini.c.
47864         * sysdeps/sh/elf/initfini.c: Remove file.
47865
47866 2012-02-16  David S. Miller  <davem@davemloft.net>
47867
47868         [BZ #11494]
47869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47870
47871         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47872         * sysdeps/sparc/crti.S: New file.
47873         * sysdeps/sparc/crtn.S: New file.
47874         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47875         * sysdeps/sparc/sparc64/Makefile: Likewise.
47876
47877 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47878
47879         [BZ #3335]
47880         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47881
47882 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47883
47884         [BZ #4822]
47885         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47886
47887         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47888         (write, read, close): Likewise.
47889         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47890
47891 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47892
47893         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47894         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47895         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47896         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47897         <bits/signalfd.h>.
47898         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47900         bits/signalfd.h.
47901
47902 2012-02-14  Marek Polacek  <polacek@redhat.com>
47903
47904         * sysdeps/x86_64/crti.S: New file.
47905         * sysdeps/x86_64/crtn.S: New file.
47906         * sysdeps/x86_64/elf/initfini.c: Remove file.
47907
47908 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47909
47910         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47911         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47912         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47913         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47914         <bits/inotify.h>.
47915         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47917         bits/inotify.h.
47918
47919 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47920
47921         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47922         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47923         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47924         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47925         <bits/eventfd.h>.
47926         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47928         bits/eventfd.h.
47929
47930 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47931
47932         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47933         __feraiseexcept instead of feraiseexcept.
47934
47935         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47936         nanosleep invocations.
47937         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47938         strings, and add error checking for a nanosleep invocations.
47939
47940 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47941
47942         Replace FSF snail mail address with URLs, as per GNU coding standards.
47943         Most of the snail mail addresses were wrong anyway, and omitting
47944         them makes the source code easier to maintain.  Almost all of the
47945         changes are to license notices and to locale LC_IDENTIFICATION
47946         addresses, except for this one:
47947         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47948         not its snail mail address.
47949
47950 2012-02-09  Richard Henderson  <rth@twiddle.net>
47951
47952         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47953         of kernel-features.h.
47954
47955         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47956
47957 2012-02-08  Marek Polacek  <polacek@redhat.com>
47958
47959         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47960         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47961         * sysdeps/gnu/_G_config.h: Likewise.
47962         * sysdeps/generic/_G_config.h: Likewise.
47963
47964 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47965
47966         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47967         tests.
47968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47969
47970         * sysdeps/powerpc/powerpc32/crti.S: New file.
47971         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47972         * sysdeps/powerpc/powerpc64/crti.S: New file.
47973         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47974
47975         * Makeconfig (have-initfini): Don't set.
47976         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47977         * configure.in (nopic_initfini): Don't substitute.
47978         * config.h.in (HAVE_INITFINI): Don't #undef.
47979         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47980         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47981
47982 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47983
47984         Support crti.S and crtn.S provided directly by architectures.
47985         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47986         [crti.S in sysdirs] (omit-deps): Likewise.
47987         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47988         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47989         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47990         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47991         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47992         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47993         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47994         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47995         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47996         compiler output for sysdeps/generic/initfini.c.
47997         * sysdeps/i386/elf/Makefile: Remove file.
47998         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47999
48000 2012-02-07  Marek Polacek  <polacek@redhat.com>
48001
48002         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48003         * sysdeps/gnu/_G_config.h: Likewise.
48004         * sysdeps/mach/hurd/_G_config.h: Likewise.
48005
48006 2012-02-07  Marek Polacek  <polacek@redhat.com>
48007
48008         * math/Makefile (tests): Add tst-CMPLX2.
48009         * math/tst-CMPLX2.c: New file.
48010
48011 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48012
48013         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48014
48015         * math/libm-test.inc (jn_test): Add missing L suffix.
48016
48017 2012-02-06  Marek Polacek  <polacek@redhat.com>
48018
48019         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48020         * sysdeps/i386/fpu/e_powf.S: Likewise.
48021         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48022         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48023         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48024         * sysdeps/i386/fpu/e_pow.S: Likewise.
48025         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48026         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48027         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48028         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48029         * sysdeps/i386/fpu/e_log2.S: Likewise.
48030         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48031         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48032         * sysdeps/i386/fpu/e_powl.S: Likewise.
48033         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48034         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48035         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48036         * sysdeps/i386/fpu/e_logl.S: Likewise.
48037         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48038         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48039         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48040         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48041         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48042         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48043         * sysdeps/i386/fpu/e_log.S: Likewise.
48044         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48045         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48046         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48047         * sysdeps/i386/fpu/e_logf.S: Likewise.
48048         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48049         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48050         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48051         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48052         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48053         * sysdeps/i386/fpu/e_log10.S: Likewise.
48054         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48055         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48056         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48057         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48058         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48059         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48060         * sysdeps/i386/asm-syntax.h: Likewise.
48061         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48062         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48063         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48064         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48065         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48066         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48067         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48068         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48069         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48070         * sysdeps/powerpc/sysdep.h: Likewise.
48071         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48072         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48073
48074 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48075
48076         [BZ #411]
48077         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48078
48079 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48080
48081         * sysdeps/i386/sysdep.h: Include <features.h>.
48082         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48083         version.
48084
48085 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48086
48087         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48088         Define.
48089         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48090         LOAD_PIC_REG_STR.
48091
48092 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48093
48094         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48095         (SETUP_PIC_REG): Use GET_PC_THUNK.
48096         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48097         macro.
48098
48099 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48100
48101         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48102         for non-PIC compilation.
48103         (SETUP_PIC_REG): Add .p2align directive.
48104         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48105         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48106         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48107         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48108         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48109         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48110         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48111         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48112         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48113         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48114         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48115         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48116         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48117         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48118         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48119         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48120         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48121         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48122         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48123         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48124         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48125         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48126         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48127         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48128         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48132         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48133         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48134         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48135         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48136         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48137         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48138         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48139         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48140         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48141         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48142         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48143         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48144         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48145
48146 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48147
48148         * math/tst-CMPLX.c: Include <stdio.h>.
48149
48150 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48151
48152         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48153         float.
48154         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48155         * sysdeps/sparc/bits/mathdef.h: Likewise.
48156
48157 2012-01-31  Marek Polacek  <polacek@redhat.com>
48158
48159         * libio/libio.h: Don't define _PARAMS.
48160         * locale/programs/config.h: Don't define PARAMS.
48161         * stdlib/strtol_l.c: Likewise.
48162         (__strtol_l): Remove PARAMS from the prototype.
48163
48164 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48165
48166         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48167         names.  Just use the correct names.  Remove unnecessary wrapper
48168         functions.
48169         * malloc/arena.c: Likewise.
48170         * malloc/hooks.c: Likewise.
48171
48172         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48173         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48174         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48175
48176 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48177
48178         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48179         into tail calls.
48180         (update_get_addr): New function.
48181         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48182         GET_ADDR_MODULE parameter.
48183
48184 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48185
48186         * crypt/cert.c: Remove __STDC__ conditionals.
48187         * crypt/crypt-entry.c: Likewise.
48188         * crypt/crypt_util.c: Likewise.
48189         * libio/filedoalloc.c: Likewise.
48190         * libio/fileops.c: Likewise.
48191         * libio/genops.c: Likewise.
48192         * libio/iofclose.c: Likewise.
48193         * libio/iofdopen.c: Likewise.
48194         * libio/iofopen.c: Likewise.
48195         * libio/iofopen64.c: Likewise.
48196         * libio/iogetdelim.c: Likewise.
48197         * libio/iopopen.c: Likewise.
48198         * libio/obprintf.c: Likewise.
48199         * libio/oldfileops.c: Likewise.
48200         * libio/oldiofclose.c: Likewise.
48201         * libio/oldiofdopen.c: Likewise.
48202         * libio/oldiofopen.c: Likewise.
48203         * libio/oldiopopen.c: Likewise.
48204         * libio/wfiledoalloc.c: Likewise.
48205         * libio/wgenops.c: Likewise.
48206         * locale/programs/xmalloc.c: Likewise.
48207         * misc/syslog.c: Likewise.
48208         * stdio-common/xbug.c: Likewise.
48209         * string/memchr.c: Likewise.
48210         * string/memcmp.c: Likewise.
48211         * string/memrchr.c: Likewise.
48212         * string/rawmemchr.c: Likewise.
48213         * sysdeps/posix/getcwd.c: Likewise.
48214         * time/strftime_l.c: Likewise.
48215
48216 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48217
48218         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48219         * config.make.in (config-cflags-sse2avx): Define.
48220         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48221         Fix typo.
48222
48223 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48224
48225         * scripts/config.guess: Update from upstream config git repository.
48226         * scripts/config.sub: Likewise.
48227
48228 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48229
48230         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48231         (EM_NUM): Update.
48232         (R_TILEPRO_*, R_TILEGX_*): New macros.
48233
48234         * scripts/firstversions.awk: Fix bug in version range handling.
48235
48236         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48237
48238         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48239
48240         * include/sys/epoll.h: New file.
48241         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48242         libc_hidden_def.
48243
48244 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48245
48246         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48247         Avoid unnecessary __WORDSIZE == 64 test.
48248         (fmaxf): Use VEX format if possible.
48249         (fmax): Likewise.
48250         (fminf): Likewise.
48251         (fmin): Likewise.
48252
48253         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48254         * math/math_private.h: Remove libc_fegetround* and
48255         libc_fesetround*.
48256         * sysdeps/i386/configure.in: Check for -msse2avx.
48257         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48258         also if SSE2AVX is defined.
48259         Remove libc_fegetround* and libc_fesetround*.
48260         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48261         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48262         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48263         of HAS_YMM_USABLE.
48264         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48265         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48266         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48267         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48268         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48269
48270         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48271
48272 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48273
48274         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48275         size is not set.
48276         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48277
48278 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48279
48280         [BZ #13618]
48281         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48282         relocation.
48283         * Makeconfig (libm): Define.
48284         * elf/Makefile: Add rules to build and run tst-relsort1.
48285         * elf/tst-relsort1.c: New file.
48286         * elf/tst-relsort1mod1.c: New file.
48287         * elf/tst-relsort1mod2.c: New file.
48288
48289 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48290
48291         * math/s_ldexp.c: Remove __STDC__ conditionals.
48292         * math/s_ldexpf.c: Likewise.
48293         * math/s_ldexpl.c: Likewise.
48294         * math/s_nextafter.c: Likewise.
48295         * math/s_nexttowardf.c: Likewise.
48296         * math/s_significand.c: Likewise.
48297         * math/s_significandf.c: Likewise.
48298         * math/s_significandl.c: Likewise.
48299         * math/w_jnl.c: Likewise.
48300         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48301         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48302         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48303         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48304         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48305         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48306         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48307         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48308         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48309         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48310         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48311         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48312         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48313         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48314         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48315         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48316         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48317         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48318         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48319         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48320         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48321         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48322         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48323         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48324         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48325         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48326         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48327         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48328         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48329         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48330         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48331         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48332         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48333         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48334         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48335         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48336         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48337         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48338         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48339         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48340         * sysdeps/ieee754/k_standard.c: Likewise.
48341         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48342         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48343         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48344         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48345         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48346         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48347         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48348         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48349         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48350         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48351         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48352         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48353         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48354         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48355         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48357         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48358         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48359         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48360         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48361         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48362         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48363         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48364         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48365         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48366         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48370         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48371         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48372         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48373         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48374         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48376         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48377         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48378         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48379         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48380         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48381         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48382         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48383         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48384         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48385         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48386         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48387         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48389         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48390         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48391         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48394         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48395         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48396         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48397         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48398         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48399         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48401         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48402         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48403         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48404         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48405         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48406         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48407         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48408         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48409         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48410         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48411         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48412         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48413         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48414         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48415         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48416         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48417         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48418         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48419         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48420         * sysdeps/ieee754/s_matherr.c: Likewise.
48421         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48422         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48425
48426 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48427
48428         * crypt/md5.h: Remove __STDC__ conditionals.
48429         * libio/libioP.h: Likewise.
48430         * locale/programs/config.h: Likewise.
48431         * sysdeps/generic/sysdep.h: Likewise.
48432         * sysdeps/i386/asm-syntax.h: Likewise.
48433         * sysdeps/s390/asm-syntax.h: Likewise.
48434         * sysdeps/unix/sysdep.h: Likewise.
48435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48437
48438 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48439
48440         * libio/libio.h: Remove __STDC__ conditionals.
48441         * malloc/obstack.h: Likewise.
48442         * math/complex.h: Likewise.
48443         * math/math.h: Likewise.
48444         * sysdeps/generic/_G_config.h: Likewise.
48445         * sysdeps/gnu/_G_config.h: Likewise.
48446         * sysdeps/mach/hurd/_G_config.h: Likewise.
48447         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48448         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48449         * sysdeps/sparc/bits/mathdef.h: Likewise.
48450
48451 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48452
48453         [BZ #13583]
48454         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48455         Clean up HAS_* macros.
48456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48457         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48458         possible.
48459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48460         HAS_AVX.
48461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48466
48467 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48468
48469         * elf/tst-unique3.cc (gets): Remove declaration.
48470         * elf/tst-unique3lib.cc (gets): Likewise.
48471         * elf/tst-unique3lib2.cc (gets): Likewise.
48472         * elf/tst-unique4.cc (gets): Likewise.
48473
48474 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48475
48476         * include/stdio.h: Add C++ protection.  Add gets declarations and
48477         definitions.
48478         * debug/tst-chk1.c: Don't declare gets here.
48479         * stdio-common/tst-gets.c: Likewise.
48480
48481 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48482
48483         * posix/glob: Remove directory.
48484
48485 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48486
48487         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48488
48489 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48490
48491         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48492         of the non-standard EPFNOSUPPORT.
48493
48494 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48495
48496         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48497         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48498         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48499
48500 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48501
48502         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48503
48504 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48505
48506         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48507         transient errors.
48508         * nscd/grpcache.c (cache_addgr): Likewise.
48509         * nscd/hstcache.c (cache_addhst): Likewise.
48510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48511         * nscd/pwdcache.c (cache_addpw): Likewise.
48512         * nscd/servicescache.c (cache_addserv): Likewise.
48513
48514 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48515
48516         * malloc/malloc.c: Various cleanups.
48517         * malloc/hooks.c: Likewise.
48518
48519         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48520         * stdlib/bug-fmtmsg1.c: New file.
48521
48522         * stdlib/fmtmsg.c (init): Add missing unlock.
48523         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48524
48525 2012-01-12  Marek Polacek  <polacek@redhat.com>
48526
48527         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48528         and _GNU_SOURCE.
48529
48530 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48531
48532         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48533         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48534         macro to ensure uniqueness of label name.
48535         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48536         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48537
48538 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48541
48542         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48543         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48545         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48546
48547 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48548
48549         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48550
48551         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48552         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48553         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48554
48555         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48556
48557         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48558         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48559         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48561
48562         * math/bits/math-finite.h: Add ldexp support.
48563
48564 2012-01-10  Marek Polacek  <polacek@redhat.com>
48565
48566         * locale/programs/localedef.h (show_archive_content): Add noreturn
48567         attribute.
48568
48569 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48572
48573 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48574
48575         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48576
48577         * io/Makefile (headers): Add bits/poll2.h.
48578
48579 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48580
48581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48582         typo #include statement.
48583
48584 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48585
48586         * include/sys/cdefs.h: Define __attribute_alloc_size.
48587         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48588         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48589         * elf/pldd.c: Likewise.
48590         * iconv/iconv_charmap.c: Likewise.
48591         * iconv/iconvconfig.c: Likewise.
48592         * iconv/strtab.c: Likewise.
48593         * locale/programs/locale.c: Likewise.
48594         * locale/programs/localedef.h: Likewise.
48595         * locale/programs/simple-hash.c: Likewise.
48596         * nscd/nscd.h: Likewise.
48597         * nss/makedb.c: Likewise.
48598         * sysdeps/generic/ldconfig.h: Likewise.
48599         * locale/programs/localedef.c: Remove xmalloc prototype.
48600         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48601
48602 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48603
48604         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48605         appropriate.
48606
48607 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48608
48609         * math/Makefile (tests): Add tst-CMPLX.
48610         * math/tst-CMPLX.c: New file.
48611
48612         * math/complex.h (CMPLXL): Fix typo.
48613
48614         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48615         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48616         GLIBC_2.16.
48617         * debug/tst-chk1.c: Add poll and ppoll tests.
48618         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48619         * include/sys/poll.h: Add hidden proto for ppoll.
48620         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48621         * sysdeps/mach/hurd/ppoll.c: Likewise.
48622         * io/ppoll.c: Likewise.
48623         * debug/poll_chk.c: New file.
48624         * debug/ppoll_chk.c: New file.
48625         * include/bits/poll2.h: New file.
48626         * io/bits/poll2.h: New file.
48627
48628         [BZ #1350]
48629         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48630
48631         * configure.in: static is always set to yes.  Remove.
48632         * config.make.in: Don't set build-static.
48633         * Makeconfig: Remove use of build-static.
48634         * dlfcn/Makefile: Likewise.
48635         * elf/Makefile: Likewise.
48636         * math/Makefile: Likewise.
48637         * misc/Makefile: Likewise.
48638         * nptl/Makefile: Likewise.
48639         * sysdeps/mach/hurd/Makefile: Likewise.
48640
48641         * configure.in: PWD_P is not used anymore.
48642         * config.make.in: Remove PWD_P entry.
48643
48644         * configure.in: Remove last remnants of RANLIB.
48645         No need to check for signed size_t anymore.
48646         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48647         and IA-64.
48648         Remove __builtin_expect test because we require at least gcc 3.4.
48649         * aclocal.m4: Likewise.
48650
48651         * wcsmbs/mbrtoc16.c: Implement using towc function.
48652         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48653         * wcsmbs/wcsmbsload.c: Likewise.
48654         * iconv/gconv_simple.c: Likewise.
48655         * iconv/gconv_int.h: Likewise.
48656         * iconv/gconv_builtin.h: Likewise.
48657         * iconv/iconv_prog.c: Remove CHAR16 handling.
48658
48659         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48660
48661         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48662
48663         * configure.in: Remove --with-elf and --enable-bounded options.
48664         Dont set base_machine for ia64.  More non-ELF conditions removed.
48665         Remove testing and setting of leading underscore information.
48666         * config.make.in (build-bounded): Set to no.
48667         * config.h.in: Remove NO_UNDERSCORES entry.
48668         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48669         them.
48670         * csu/start.c: Remove !NO_UNDERSCORE code.
48671         * locale/localeinfo.h: Likewise.
48672         * sysdeps/generic/machine-gmon.h: Likewise.
48673         * sysdeps/generic/sysdep.h: Likewise.
48674         * sysdeps/i386/sysdep.h: Likewise.
48675         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48676         * sysdeps/mach/sysdep.h: Likewise.
48677         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48678         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48679         * sysdeps/sh/sysdep.h: Likewise.
48680         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48681         * sysdeps/unix/i386/sysdep.S: Likewise.
48682         * sysdeps/unix/sparc/start.c: Likewise.
48683         * sysdeps/unix/sparc/sysdep.S: Likewise.
48684         * sysdeps/unix/sparc/sysdep.h: Likewise.
48685         * sysdeps/unix/start.c: Likewise.
48686         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48687         * sysdeps/x86_64/sysdep.h: Likewise.
48688
48689 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48690
48691         [BZ #13553]
48692         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48693         for non-gcc.
48694         * argp/argp-fmtstream.h: Use const instead __const.
48695         * argp/argp.h: Likewise.
48696         * assert/assert.h: Likewise.
48697         * bits/fenv.h: Likewise.
48698         * bits/sched.h: Likewise.
48699         * bits/sigset.h: Likewise.
48700         * bits/sigthread.h: Likewise.
48701         * catgets/nl_types.h: Likewise.
48702         * conform/data/pthread.h-data: Likewise.
48703         * crypt/crypt-private.h: Likewise.
48704         * crypt/crypt.h: Likewise.
48705         * crypt/crypt_util.c: Likewise.
48706         * ctype/ctype.h: Likewise.
48707         * debug/execinfo.h: Likewise.
48708         * debug/mbsnrtowcs_chk.c: Likewise.
48709         * debug/mbsrtowcs_chk.c: Likewise.
48710         * debug/wcsnrtombs_chk.c: Likewise.
48711         * debug/wcsrtombs_chk.c: Likewise.
48712         * debug/wcstombs_chk.c: Likewise.
48713         * dirent/dirent.h: Likewise.
48714         * dlfcn/dlfcn.h: Likewise.
48715         * elf/neededtest4.c: Likewise.
48716         * grp/grp.h: Likewise.
48717         * gshadow/gshadow.h: Likewise.
48718         * iconv/gconv.h: Likewise.
48719         * iconv/gconv_int.h: Likewise.
48720         * iconv/gconv_simple.c: Likewise.
48721         * iconv/iconv.h: Likewise.
48722         * iconv/loop.c: Likewise.
48723         * iconv/skeleton.c: Likewise.
48724         * include/aio.h: Likewise.
48725         * include/aliases.h: Likewise.
48726         * include/argz.h: Likewise.
48727         * include/arpa/inet.h: Likewise.
48728         * include/assert.h: Likewise.
48729         * include/dirent.h: Likewise.
48730         * include/dlfcn.h: Likewise.
48731         * include/execinfo.h: Likewise.
48732         * include/fcntl.h: Likewise.
48733         * include/fenv.h: Likewise.
48734         * include/glob.h: Likewise.
48735         * include/grp.h: Likewise.
48736         * include/libintl.h: Likewise.
48737         * include/mntent.h: Likewise.
48738         * include/netdb.h: Likewise.
48739         * include/pwd.h: Likewise.
48740         * include/rpc/netdb.h: Likewise.
48741         * include/sched.h: Likewise.
48742         * include/search.h: Likewise.
48743         * include/shadow.h: Likewise.
48744         * include/signal.h: Likewise.
48745         * include/stdio.h: Likewise.
48746         * include/stdlib.h: Likewise.
48747         * include/string.h: Likewise.
48748         * include/sys/socket.h: Likewise.
48749         * include/sys/stat.h: Likewise.
48750         * include/sys/statfs.h: Likewise.
48751         * include/sys/statvfs.h: Likewise.
48752         * include/sys/syslog.h: Likewise.
48753         * include/sys/time.h: Likewise.
48754         * include/sys/uio.h: Likewise.
48755         * include/time.h: Likewise.
48756         * include/unistd.h: Likewise.
48757         * include/utmp.h: Likewise.
48758         * include/wchar.h: Likewise.
48759         * include/wctype.h: Likewise.
48760         * inet/aliases.h: Likewise.
48761         * inet/arpa/inet.h: Likewise.
48762         * inet/netinet/ether.h: Likewise.
48763         * inet/netinet/in.h: Likewise.
48764         * intl/libintl.h: Likewise.
48765         * io/bits/fcntl2.h: Likewise.
48766         * io/fcntl.h: Likewise.
48767         * io/ftw.h: Likewise.
48768         * io/sys/poll.h: Likewise.
48769         * io/sys/stat.h: Likewise.
48770         * io/sys/statfs.h: Likewise.
48771         * io/sys/statvfs.h: Likewise.
48772         * io/utime.h: Likewise.
48773         * libio/bits/stdio.h: Likewise.
48774         * libio/bits/stdio2.h: Likewise.
48775         * libio/libio.h: Likewise.
48776         * libio/libioP.h: Likewise.
48777         * libio/stdio.h: Likewise.
48778         * locale/lc-ctype.c: Likewise.
48779         * locale/locale.h: Likewise.
48780         * login/utmp.h: Likewise.
48781         * malloc/arena.c: Likewise.
48782         * malloc/malloc.c: Likewise.
48783         * malloc/malloc.h: Likewise.
48784         * malloc/mcheck.c: Likewise.
48785         * malloc/mtrace.c: Likewise.
48786         * math/bits/mathcalls.h: Likewise.
48787         * math/fenv.h: Likewise.
48788         * math/math_private.h: Likewise.
48789         * misc/bits/error.h: Likewise.
48790         * misc/bits/syslog.h: Likewise.
48791         * misc/err.h: Likewise.
48792         * misc/error.h: Likewise.
48793         * misc/fstab.h: Likewise.
48794         * misc/mntent.h: Likewise.
48795         * misc/regexp.h: Likewise.
48796         * misc/search.h: Likewise.
48797         * misc/sgtty.h: Likewise.
48798         * misc/sys/mman.h: Likewise.
48799         * misc/sys/syslog.h: Likewise.
48800         * misc/sys/uio.h: Likewise.
48801         * misc/sys/xattr.h: Likewise.
48802         * misc/ttyent.h: Likewise.
48803         * nis/rpcsvc/ypclnt.h: Likewise.
48804         * nss/nss.h: Likewise.
48805         * posix/bits/unistd.h: Likewise.
48806         * posix/fnmatch.h: Likewise.
48807         * posix/glob.h: Likewise.
48808         * posix/sched.h: Likewise.
48809         * posix/spawn.h: Likewise.
48810         * posix/sys/wait.h: Likewise.
48811         * posix/unistd.h: Likewise.
48812         * posix/wordexp.h: Likewise.
48813         * pwd/pwd.h: Likewise.
48814         * resolv/netdb.h: Likewise.
48815         * resource/sys/resource.h: Likewise.
48816         * rt/aio.h: Likewise.
48817         * rt/bits/mqueue2.h: Likewise.
48818         * rt/mqueue.h: Likewise.
48819         * shadow/shadow.h: Likewise.
48820         * signal/signal.h: Likewise.
48821         * socket/send.c: Likewise.
48822         * socket/sendto.c: Likewise.
48823         * socket/sys/socket.h: Likewise.
48824         * stdio-common/printf.h: Likewise.
48825         * stdlib/bits/stdlib.h: Likewise.
48826         * stdlib/fmtmsg.h: Likewise.
48827         * stdlib/monetary.h: Likewise.
48828         * stdlib/stdlib.h: Likewise.
48829         * stdlib/ucontext.h: Likewise.
48830         * streams/stropts.h: Likewise.
48831         * string/argz.h: Likewise.
48832         * string/bits/string2.h: Likewise.
48833         * string/string.h: Likewise.
48834         * string/strings.h: Likewise.
48835         * sunrpc/rpc/auth.h: Likewise.
48836         * sunrpc/rpc/auth_des.h: Likewise.
48837         * sunrpc/rpc/clnt.h: Likewise.
48838         * sunrpc/rpc/netdb.h: Likewise.
48839         * sunrpc/rpc/pmap_clnt.h: Likewise.
48840         * sunrpc/rpc/xdr.h: Likewise.
48841         * sysdeps/generic/inttypes.h: Likewise.
48842         * sysdeps/generic/net/if.h: Likewise.
48843         * sysdeps/generic/sys/swap.h: Likewise.
48844         * sysdeps/gnu/net/if.h: Likewise.
48845         * sysdeps/gnu/utmpx.h: Likewise.
48846         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48847         * sysdeps/i386/i486/bits/string.h: Likewise.
48848         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48849         * sysdeps/s390/bits/string.h: Likewise.
48850         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48851         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48852         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48853         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48854         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48855         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48856         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48857         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48858         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48859         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48860         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48861         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48862         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48863         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48864         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48865         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48866         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48868         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48870         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48871         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48872         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48873         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48874         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48875         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48876         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48877         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48878         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48879         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48880         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48881         * sysvipc/sys/ipc.h: Likewise.
48882         * sysvipc/sys/msg.h: Likewise.
48883         * sysvipc/sys/sem.h: Likewise.
48884         * sysvipc/sys/shm.h: Likewise.
48885         * termios/termios.h: Likewise.
48886         * time/sys/time.h: Likewise.
48887         * time/time.h: Likewise.
48888         * wcsmbs/bits/wchar2.h: Likewise.
48889         * wcsmbs/uchar.h: Likewise.
48890         * wcsmbs/wchar.h: Likewise.
48891         * wctype/wctype.h: Likewise.
48892
48893         [BZ #13551]
48894         * Makeconfig: Remove all but ELF support including AIX support.
48895         * Makerules: Likewise.
48896         * config.h.in: Likewise.
48897         * config.make.in: Likewise.
48898         * configure: Likewise.
48899         * configure.in: Likewise.
48900         * csu/Makefile: Likewise.
48901         * csu/version.c: Likewise.
48902         * debug/Makefile: Likewise.
48903         * dlfcn/Makefile: Likewise.
48904         * elf/Makefile: Likewise.
48905         * extra-lib.mk: Likewise.
48906         * iconv/Makefile: Likewise.
48907         * include/libc-symbols.h: Likewise.
48908         * include/shlib-compat.h: Likewise.
48909         * resolv/Makefile: Likewise.
48910         * resolv/res_libc.c: Likewise.
48911         * rt/Makefile: Likewise.
48912         * sysdeps/i386/asm-syntax.h: Likewise.
48913         * sysdeps/i386/sysdep.h: Likewise.
48914         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48915         * sysdeps/mach/sysdep.h: Likewise.
48916         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48917         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48918         * sysdeps/s390/asm-syntax.h: Likewise.
48919         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48920         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48921         * sysdeps/sh/sysdep.h: Likewise.
48922         * sysdeps/unix/sparc/sysdep.h: Likewise.
48923         * sysdeps/wordsize-32/divdi3.c: Likewise.
48924         * sysdeps/x86_64/sysdep.h: Likewise.
48925
48926         * argp/Versions: Remove _argp_unlock_xxx.
48927
48928         [BZ #13559]
48929         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48930         * abilist/libBrokenLocale.abilist: Likewise.
48931         * abilist/libanl.abilist: Likewise.
48932         * abilist/libc.abilist: Likewise.
48933         * abilist/libcrypt.abilist: Likewise.
48934         * abilist/libdl.abilist: Likewise.
48935         * abilist/libm.abilist: Likewise.
48936         * abilist/libnsl.abilist: Likewise.
48937         * abilist/libpthread.abilist: Likewise.
48938         * abilist/libresolv.abilist: Likewise.
48939         * abilist/librt.abilist: Likewise.
48940         * abilist/libthread_db.abilist: Likewise.
48941         * abilist/libutil.abilist: Likewise.
48942         * abilist/libnss_db.abilist: New file.
48943
48944         * scripts/abilist.awk: Add support for indirect functions.
48945
48946         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48947
48948         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48949
48950         * shlib-versions: Remove entries for ports architectures.
48951
48952         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48953         files in ports.
48954         * elf/stackguard-macros.h: Remove support for IA-64.
48955         * elf/tst-auditmod1.c: Likewise.
48956         * sysdeps/generic/ldsodefs.h: Likewise.
48957
48958         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48959         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48960         configure files.
48961
48962         [BZ #13552]
48963         * configure.in: Remove --enable-omitfp support.
48964         * FAQ.in: Adjust.
48965         * config.make.in: Likewise.
48966         * Makeconfig: Likewise.
48967         * manual/install.texi: Likewise.
48968
48969         In case anyone cares, the IA-64 architecture could move to ports.
48970         * sysdeps/ia64/*: Removed.
48971         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48972         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48973
48974         [BZ #13555]
48975         * configure.in: Remove entries for unsupported architectures.
48976
48977         [BZ #13533]
48978         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48979         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48980         routines.
48981         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48982         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48983         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48984         fall back to using wcrtomb.
48985         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48986         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48987         renaming.
48988         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48989         * wcsmbs/tst-c16c32-1.c: New file.
48990
48991         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48992         local variable.
48993
48994         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48995
48996         * elf/tst-unique3.cc: Add explicit declaration of gets.
48997         * elf/tst-unique3lib.cc: Likewise.
48998         * elf/tst-unique3lib2.cc: Likewise.
48999         * elf/tst-unique4.cc: Likewise.
49000
49001         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49002
49003 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49004
49005         [BZ #13566]
49006         * assert/assert.h (static_assert): Don't define for C++.
49007         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49008         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49009
49010 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49011
49012         * iconv/loop.c (single loop): Fix assertion in storing of
49013         remaining bytes.
49014
49015         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49016
49017 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49018
49019         * posix/getconf.c: Update copyright year.
49020         * nss/getent.c: Likewise.
49021         * nss/makedb.c: Likewise.
49022         * iconv/iconvconfig.c: Likewise.
49023         * iconv/iconv_prog.c: Likewise.
49024         * elf/ldconfig.c: Likewise.
49025         * elf/pldd.c: Likewise.
49026         * elf/sotruss.ksh: Likewise.
49027         * catgets/gencat.c: Likewise.
49028         * csu/version.c: Likewise.
49029         * elf/ldd.bash.in: Likewise.
49030         * elf/sprof.c (print_version): Likewise.
49031         * locale/programs/locale.c: Likewise.
49032         * locale/programs/localedef.c: Likewise.
49033         * login/programs/pt_chown.c: Likewise.
49034         * nscd/nscd.c (print_version): Likewise.
49035         * debug/xtrace.sh: Likewise.
49036         * malloc/memusage.sh: Likewise.
49037         * malloc/mtrace.pl: Likewise.
49038         * debug/catchsegv.sh: Likewise.
49039
49040 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49041
49042         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49043         pure attribute.
49044
49045 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49046
49047         [BZ #13533]
49048         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49049         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49050         transformations.
49051         * iconv/gconv_int.h: Likewise.
49052         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49053         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49054         from libc for GLIBC_2.16.
49055         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49056         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49057         * wcsmbs/uchar.h: Really define mbstate_t.
49058         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49059         * wcsmbs/c16rtomb.c: New file.
49060         * wcsmbs/mbrtoc16.c: New file.
49061         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49062         for C/POSIX locale.
49063         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49064         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49065
49066         * wcsmbs/wchar.h: Add missing __restrict.
49067
49068 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49069
49070         [BZ #13532]
49071         * time/Makefile (routines): Add timespec_get.
49072         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49073         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49074         timespec for ISO C11.
49075         * time/timespec_get.c: New file.
49076         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49077         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49078
49079         [BZ #13531]
49080         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49081         * stdlib/stdlib.h: Declare aligned_alloc.
49082         * Versions.def: Add GLIBC_2.16 for libc.
49083         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49084
49085         [BZ 13527]
49086         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49087         ISO C11.
49088
49089         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49090         code.
49091
49092         [BZ #13528]
49093         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49094
49095         [BZ #13529]
49096         * assert/assert.h (static_assert): Define.
49097
49098         * version.h: Update for 2.16 development version.
49099
49100         [BZ #13526]
49101         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49102         _ISOC11_SOURCE.
49103
49104         * version.h (RELEASE): Bump for 2.15 release.
49105         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49106
49107         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49108         Patch by Marek Polacek <mpolacek@redhat.com>.
49109
49110         * bits/byteswap.h: Protect long long constants with __extension__.
49111         * sysdeps/i386/bits/byteswap.h: Likewise.
49112         * sysdeps/ia64/bits/byteswap.h: Likewise.
49113         * sysdeps/s390/bits/byteswap.h: Likewise.
49114         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49115
49116 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49117
49118         [BZ #13540]
49119         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49120         destination buffer.
49121         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49122
49123 2011-12-23  Marek Polacek  <polacek@redhat.com>
49124
49125         * elf/dl-addr.c (determine_info): Add inline keyword.
49126         * elf/tst-auditmod4b.c (check_avx): Likewise.
49127         * elf/tst-auditmod6b.c (check_avx): Likewise.
49128         * elf/tst-auditmod6c.c (check_avx): Likewise.
49129         * elf/tst-auditmod7b.c (check_avx): Likewise.
49130
49131 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49132
49133         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49134         !__SSE_MATH__.
49135
49136 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49137
49138         [BZ #13540]
49139         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49140         processing for last bytes.
49141
49142 2011-08-06  Bruno Haible  <bruno@clisp.org>
49143
49144         [BZ #13061]
49145         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49146         U+0385, not to U+1FEE.
49147
49148         [BZ #13062]
49149         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49150         entry for U+00A5 U+0301.
49151
49152 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49153
49154         [BZ #13166]
49155         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49156         buffer for the output is too small.
49157
49158         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49159         optimization.
49160
49161         [BZ #13185]
49162         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49163         SSE flags if possible.
49164
49165 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49166
49167         [BZ #13540]
49168         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49169         processing for last bytes.
49170
49171 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49172
49173         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49174         (syscall-list-default-options, syscall-list-default-condition)
49175         (syscall-list-includes): Define.
49176         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49177         list of ABIs and options and #if conditions for each ABI.  Do not
49178         handle common syscalls between ABIs specially.
49179         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49180         Remove.
49181         (syscall-list-variants, syscall-list-32bit-options)
49182         (syscall-list-32bit-condition, syscall-list-64bit-options)
49183         (syscall-list-64bit-condition): Define.
49184         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49185         (syscall-list-variants, syscall-list-32bit-options)
49186         (syscall-list-32bit-condition, syscall-list-64bit-options)
49187         (syscall-list-64bit-condition): Define.
49188         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49189         Remove.
49190         (syscall-list-variants, syscall-list-32bit-options)
49191         (syscall-list-32bit-condition, syscall-list-64bit-options)
49192         (syscall-list-64bit-condition): Define.
49193         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49194         Remove.
49195         (syscall-list-variants, syscall-list-32bit-options)
49196         (syscall-list-32bit-condition, syscall-list-64bit-options)
49197         (syscall-list-64bit-condition): Define.
49198
49199 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49200
49201         * locale/iso-639.def: Add brx entry.
49202
49203         [BZ #13328]
49204         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49205         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49206
49207         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49208         __feraiseexcept_renamed.
49209
49210 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49211
49212         [BZ #13538]
49213         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49214         EPOLLET with unsigned values.
49215         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49216         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49217
49218         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49219         to large cancellation.
49220         * math/s_cacoshf.c: Likewise.
49221         * math/s_cacoshl.c: Likewise.
49222
49223 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49224
49225         [BZ #13305]
49226         [BZ #12786]
49227         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49228         * math/s_cacoshf.c: Likewise.
49229         * math/s_cacoshl.c: Likewise.
49230
49231 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49232
49233         [BZ #13439]
49234         * iconv/gconv.h: Define __GCONV_SWAP.
49235         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49236         * iconvdata/utf-16.c: Likewise.
49237         * iconvdata/utf-32.c: Likewise.
49238
49239 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49240
49241         [BZ #13524]
49242         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49243         numerator after shifting it by one limb.
49244
49245 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49246
49247         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49248         under [__USE_EXTERN_INLINES].
49249
49250 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49251
49252         [BZ #13446]
49253         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49254
49255 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49256
49257         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49258         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49259         optimized code.
49260         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49261         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49262         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49263         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49264         for strncasecmp/strncasecmp_l compilation.
49265         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49266         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49267
49268 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49269
49270         [BZ #13484]
49271         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49272         of __asm__.
49273
49274 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49275
49276         [BZ #13506]
49277         * time/tzfile.c (__tzfile_read): Check values from file header.
49278
49279 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49280
49281         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49282         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49283         * powerpc/powerpc32/dl-start.S: Likewise.
49284         * powerpc/powerpc32/elf/start.S: Likewise.
49285         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49286         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49287         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49288         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49289         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49290         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49291         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49292         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49293         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49294         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49295         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49296         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49297         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49298         * powerpc/powerpc32/memset.S: Likewise.
49299         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49300         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49301         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49302         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49303         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49304         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49305         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49306         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49307         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49308         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49309         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49310         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49311         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49312
49313 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314
49315         * math/libm-test.inc: Added more nearbyint tests.
49316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49317         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49320
49321 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49322
49323         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49324         FD_CLOEXEC.
49325
49326 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49327
49328         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49329         Add wcscpy-ssse3 wcscpy-c.
49330         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49331         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49332         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49333         * sysdeps/x86_64/wcschr.S: New file.
49334         * sysdeps/x86_64/wcsrchr.S: New file.
49335         * string/test-strcmp.c: Remove checking of wcscmp function for
49336         wrong alignments.
49337         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49338         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49339         wcsrchr-sse2 wcsrchr-c.
49340         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49341         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49342         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49343         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49344         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49345         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49346         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49347         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49348         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49349         * wcsmbc/wcschr.c (WCSCHR): New macro.
49350
49351 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49352
49353         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49354         * wcsmbs/test-wcsrchr.c: New file.
49355         * string/test-strrchr.c: Add wcsrchr support.
49356         (WIDE): New macro.
49357         * wcsmbs/test-wcscpy.c: New file.
49358         * string/test-strcpy.c: Add wcscpy support.
49359         (WIDE): New macro.
49360
49361 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49362
49363         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49364         the inner loop.
49365
49366 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49367
49368         [BZ #13472]
49369         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49370
49371 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49372
49373         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49374         Minor optimizations.
49375
49376         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49377         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49378         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49379
49380 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49381
49382         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49383         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49384         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49385         for gcc to avoid warnings.
49386         * inet/Makefile (tests): Add tst-checks.
49387         * inet/tst-checks.c: New file.
49388
49389         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49390         warning.
49391
49392         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49393         __wmemcmp_sse2.
49394
49395         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49396         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49397
49398         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49399
49400 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49401
49402         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49403         problem.
49404
49405         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49406
49407 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49408
49409         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49410         conditional on GCC version.
49411         (__arch_compare_and_exchange_val_8_acq)
49412         (__arch_compare_and_exchange_val_16_acq)
49413         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49414         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49415         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49416
49417 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49418
49419         * sysdeps/sh/backtrace.c: New file.
49420
49421 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49422
49423         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49424         parenthesis.
49425
49426 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49427
49428         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49429         falling back to utime.
49430
49431 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49432
49433         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49434         expectations for float.
49435
49436 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49437
49438         * locale/weight.h (findidx): Add parameter len.
49439         * locale/weightwc.h (findidx): Likewise.
49440         * posix/fnmatch_loop.c (FCT): Adjust caller.
49441         * posix/regcomp.c (build_equiv_class): Likewise.
49442         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49443         * posix/regexec.c (check_node_accept_bytes): Likewise.
49444         * string/strcoll_l.c (STRCOLL): Likewise.
49445         * string/strxfrm_l.c (STRXFRM): Likewise.
49446
49447 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49448
49449         * Makefile.in: Remove CVSOPT handling.
49450         * configure.in: Remove use of AC_REVISION.
49451         * iconvdata/Makefile (distribute): No need to filter out CVS.
49452         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49453         handling.
49454
49455 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49456
49457         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49458         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49459         [USE_AS_STRNCASECMP_L]: Likewise.
49460         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49461         NO_TLS_DIRECT_SEG_REFS.
49462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49463         Fix argument offsets for non-PIC.
49464         [USE_AS_STRNCASECMP_L]: Likewise.
49465         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49466         NO_TLS_DIRECT_SEG_REFS.
49467
49468 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49469
49470         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49471         O_CLOEXEC.
49472         * locale/loadlocale.c (_nl_load_locale): Likewise.
49473
49474 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49475
49476         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49477         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49478         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49479         (SYSCALL_GETTIME): Set errno on error.
49480
49481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49482         count references to noai6ai_cached.
49483
49484 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49485
49486         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49487
49488         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49489         FD_CLOEXEC for /proc/self/maps.
49490
49491         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49492         FD_CLOEXEC for /proc/meminfo.
49493
49494         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49495         gai.conf.
49496
49497         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49498         FD_CLOEXEC for given file.
49499
49500         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49501
49502         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49503         FD_CLOEXEC for /etc/hosts.
49504         (_gethtent): Likewise.
49505
49506         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49507
49508         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49509         cancellation and set FD_CLOEXEC for /etc/netgroup.
49510
49511         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49512         reading /etc/publickey.
49513
49514         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49515         allow cancellation when reading /etc/group.
49516
49517         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49518         cancellation.
49519         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49520
49521         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49522         when using data file.
49523
49524         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49525
49526         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49527         (write_nis_obj): Use "c" and "e" in fopen.
49528
49529         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49530
49531         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49532
49533         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49534
49535         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49536
49537         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49538         locale.alias.
49539
49540         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49541
49542         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49543
49544         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49545
49546         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49547         file parsing and set FD_CLOEXEC.
49548
49549 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49550
49551         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49552
49553 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49554
49555         * malloc/arena.c (arena_get2): Don't call reused_arena when
49556         _int_new_arena failed.
49557
49558 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49559
49560         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49561         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49562         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49563         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49565         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49566         to compile strcasecmp and strncasecmp.
49567         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49568         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49569
49570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49571
49572 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49573
49574         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49575         locale-defines.sym to gen-as-const-headers.
49576         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49577         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49579         to compile strcasecmp and strncasecmp.
49580         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49581         strcasecmp_l and strncasecmp_l.
49582         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49583         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49584         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49585         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49586         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49587         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49588         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49589         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49590         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49591         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49592         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49593
49594 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49595
49596         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49597         result of SYSDEP_GETTIME_CPU to retval.
49598         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49599         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49600
49601         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49602         variable.
49603
49604         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49605         mantissa words.
49606         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49607
49608         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49609         from unused variable.
49610
49611         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49612         DWARF definitions.
49613         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49614         for assembling.
49615
49616         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49617         over namespaces.
49618
49619         * sunrpc/rpc_prot.c (rejected): Fix case value.
49620
49621         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49622         unsigned long long int to avoid warnings in shift.
49623
49624         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49625         of use of trans.
49626         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49627         variable tmp.
49628
49629         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49630         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49631         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49632
49633         * nis/nis_table.c (nis_list): Use variable of correct type for
49634         result of __follow_path call.
49635
49636 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49637
49638         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49639         of math functions ceil, trunc, floor, round, and sqrt, when
49640         avaliable on the platform.
49641         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49642         name clash.
49643         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49644         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49645         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49646
49647 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49648
49649         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49650         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49651
49652 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49653
49654         * include/unistd.h: Fix __readlink return type.
49655         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49656
49657 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49658
49659         * stdlib/ucontext.h: Undo last change for makecontext.
49660
49661 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49662
49663         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49664
49665         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49666         * setjmp/setjmp.h: Mark functions as non-leaf.
49667         * setjmp/bits/setjmp2.h: Likewise.
49668         * stdlib/ucontext.h: Likewise.
49669
49670 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49671
49672         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49673         (reused_arena): Don't check arena limit.
49674         (arena_get2): Atomically check arena limit.
49675
49676 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49677
49678         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49679         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49680
49681         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49682         instructions.
49683
49684 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49685
49686         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49687         handler when locking.
49688
49689         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49690         Fix size of allocated buffer.
49691
49692 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49693
49694         [BZ #10103]
49695         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49696         declarations for long double functions.
49697         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49698
49699         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49700
49701 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49702
49703         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49704         installed.
49705
49706         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49707         is disabled.
49708
49709 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49710
49711         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49712
49713 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49714
49715         * include/alloca.h (stackinfo_alloca_round): Define.
49716         (extend_alloca): Use it.
49717         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49718         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49719         here.
49720
49721         * scripts/check-local-headers.sh: Ignore libaudit.h.
49722
49723         * nscd/Makefile (extra-objs): Make recursively expanded.
49724
49725 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49726
49727         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49728         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49729
49730         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49731         * posix/tst-rfc3484-2.c: Likewise.
49732         * posix/tst-rfc3484-3.c: Likewise.
49733
49734         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49735         process_vm_writev.
49736         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49737         process_vm_writev.
49738         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49739         process_vm_writev from libc using GLIBC_2.15 version.
49740
49741         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49742
49743 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49744
49745         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49746         stack usage.
49747
49748 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49749
49750         [BZ #13367]
49751         * nss/getent.c (initgroups_keys): Show error message in case no group
49752         names are given.
49753
49754         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49755         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49756         __bump_nl_timestamp.
49757         * nscd/connections (nscd_init): When host database is served open
49758         netlink socket and request notification about configuration changes.
49759         (main_loop_poll): Track netlink file descriptor and bump timestamp
49760         in case data becomes available.
49761         (main_loop_epoll): Likewise.
49762         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49763         (database_pers_head): Add extra_data fileds.
49764         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49765         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49766         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49767         Adjust caller.
49768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49769         in6ai data, call __free_in6ai.
49770         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49771         Add -DHAVE_NETLINK.
49772         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49773         interface information.  Reuse previous data if netlink timestamp
49774         is not changed.
49775         (__bump_nl_timestamp): New function.
49776         (__free_in6ai): New function.
49777
49778 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49779
49780         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49781         close_not_cancel_no_status here.
49782         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49783
49784 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49785
49786         [BZ #13276]
49787         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49788         return value.
49789
49790         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49791         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49792         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49793
49794 2011-07-03  Andreas Jaeger  <aj@suse.de>
49795
49796         [BZ #10709]
49797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49798         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49799         * math/libm-test.inc (sin_test): Add test case.
49800
49801 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49802
49803         [BZ #13337]
49804         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49805         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49806
49807         * elf/chroot_canon.c (chroot_canon): Cleanups.
49808
49809         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49810
49811         [BZ #13335]
49812         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49813         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49814
49815         * string/test-strchr.c: Make usable for strchrnul testing.
49816         * string/test-strchrnul.c: New file.
49817         * string/Makefile (strop-tests): Add strchrnul.
49818
49819         * po/it.po: Update from translation team.
49820         * po/es.po: Likewise.
49821
49822 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49823
49824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49825         the three constants needed as parameters.  Drop the others.
49826         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49827         __m128i_strloadu_tolower.
49828         Create and initialize variable zero and use it in all the places
49829         where _mm_setzero_si128 was used.
49830
49831         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49832         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49833         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49834         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49835         anymore.
49836         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49837         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49838         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49839         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49840         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49841         __mpranred, __mptan.
49842         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49843         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49844         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49845         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49846         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49847         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49848         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49849         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49850         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49851
49852 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49853
49854         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49855         redefine if SHARED.
49856         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49857
49858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49859         wide char related routines to wcsmbs subdir.
49860
49861 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49862
49863         [BZ #13344]
49864         * misc/sys/cdefs.h (__THROWNL): Define.
49865         * posix/unistd.h: Use __THREADNL instead of __THREAD
49866         for memory synchronization functions.
49867
49868 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49869
49870         [BZ #13349]
49871         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49872         doesn't exist.
49873         * manual/stdio.texi (Obstack Streams): Node removed.
49874
49875 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49876
49877         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49878         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49879         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49880
49881         * math/math_private.h (math_force_eval): Allow non-addressable
49882         arguments.
49883         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49884
49885 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49886
49887         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49888         file is not needed.
49889
49890         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49892         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49893         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49894         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49895         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49896         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49897         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49898         Add AVX variants.
49899         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49900         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49901         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49902         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49903         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49904         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49905         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49906         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49907         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49908         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49909         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49910         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49911         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49912         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49913         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49914         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49915         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49916         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49917         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49918
49919         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49920         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49921
49922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49923         place.  Use VEX encoding when compiling for AVX.
49924
49925 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49926
49927         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49928         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49929
49930         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49931
49932 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49933
49934         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49935         useless if() expression.
49936         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49937         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49938         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49939         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49940         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49941         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49942         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49944         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49945         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49946         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49947         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49948         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49949         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49950         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49951         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49952         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49953         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49954         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49955
49956         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49957
49958 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49959
49960         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49961         condition.
49962         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49963
49964 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49965
49966         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49967         .text section.  Avoid duplicate constants.
49968         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49972         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49973         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49978         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49980         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49982         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49983         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49984         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49985         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49990         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49991         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49992         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49993         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49994         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49995         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49996         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49997         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49998         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49999         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50000         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50001         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50002         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50003         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50004         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50005         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50006         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50007         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50008         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50009         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50010         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50011         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50012         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50013
50014 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50015
50016         * sysdeps/x86_64/dla.h: Move to ...
50017         * sysdeps/x86_64/fpu/dla.h: ...here.
50018         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50019         situations.  Use __builtin_fma only for gcc 4.6 and up.
50020
50021         * config.make.in: Add have-mfma4 entry.
50022         * configure.in: Substitute libc_cv_cc_fma4.
50023         * math/Makefile (dbl-only-routines): Add sincostab.
50024         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50025         Use __sincostab not sincos.
50026         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50027         name is a macro.
50028         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50030         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50031         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50032         using __copysign.
50033         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50034         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50035         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50036         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50037         and __inv.
50038         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50039         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50040         __copysign.
50041         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50042         define aliases when function name is a macro.
50043         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50044         sysdeps/ieee754/dbl-64/sincos.tbl.
50045         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50046         fma4-enabled routines.
50047         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50048         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50049         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50050         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50051         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50052         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50054         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50055         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50056         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50057         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50058         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50059         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50060         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50061         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50062         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50063         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50064         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50065         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50066         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50067         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50068         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50071         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50072         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50074         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50075         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50076         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50077
50078         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50079         rename.
50080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50083         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50085         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50086         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50088
50089 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50090
50091         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50092
50093 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50094
50095         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50096
50097         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50098         prediction.
50099         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50100
50101         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50102         Remove unused variable magic_bits.
50103         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50104
50105         * string/strnlen.c: Define and use STRNLEN macro.
50106         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50107         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50108         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50109         * wcsmbs/wcslen.c: Define and use WCSLEN.
50110         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50111         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50112         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50113         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50114         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50115         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50116         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50117
50118 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50119
50120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50121         strnlen-sse2-no-bsf.
50122         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50124         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50125         Add strnlen support.
50126         (USE_AS_STRNLEN): New macro.
50127         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50128         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50129         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50130         * sysdeps/x86_64/wcslen.S: New file.
50131
50132 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50133
50134         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50135         XMM-moves are used for copying on small sizes.
50136
50137 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50138
50139         * wcsmbs/Makefile (strop-tests): Add wcschr.
50140         * wcsmbs/test-wcschr.c: New file.
50141         * string/test-strchr.c: Update.
50142         Add wcschr support.
50143         (WIDE): New macro.
50144
50145 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50146
50147         * wcsmbs/Makefile (strop-tests): Add wcslen.
50148         * wcsmbs/test-wcslen.c: New file.
50149         * string/test-strlen.c: Update.
50150         Add wcslen support.
50151         (WIDE): New macro.
50152
50153 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50154
50155         * po/it.po: Update from translation team.
50156
50157 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50158
50159         * sysdeps/x86_64/wcscmp.S: Update.
50160         Fix wrong comparison semantics.
50161         wcscmp shall use signed comparison not unsigned.
50162         Don't use substraction to avoid overflow bug.
50163         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50164         * wcsmbc/wcscmp.c: Likewise.
50165         * string/test-strcmp.c: Likewise.
50166         Add new tests to check cases with negative values.
50167
50168 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50169
50170         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50171         * sysdeps/x86_64/dla.h: ...here.  New file.
50172         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50177         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50181
50182 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50183
50184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50185         __ynl_finite aliases.
50186
50187 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50188
50189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50190
50191         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50192         define DLA_FMA.
50193         [DLA_FMA] (EMULV): Use DLA_FMA.
50194         [DLA_FMA] (MUL12): Use EMULV.
50195         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50196         that are not needed.
50197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50200         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50201         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50203         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50204
50205 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50206
50207         * math/s_nan.c: Undef __nan.
50208         * math/s_nanf.c: Undef __nanf.
50209         * math/s_nanl.c: Undef __nanl.
50210         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50211         "math_private.h".
50212
50213 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50214
50215         * math/s_catan.c: Add branch predictions.
50216         * math/s_catanf.c: Likewise.
50217         * math/s_catanh.c: Likewise.
50218         * math/s_catanhf.c: Likewise.
50219         * math/s_catanhl.c: Likewise.
50220         * math/s_catanl.c: Likewise.
50221         * math/s_cexp.c: Likewise.
50222         * math/s_cexpf.c: Likewise.
50223         * math/s_cexpl.c: Likewise.
50224         * math/s_clog.c: Likewise.
50225         * math/s_clog10.c: Likewise.
50226         * math/s_clog10f.c: Likewise.
50227         * math/s_clog10l.c: Likewise.
50228         * math/s_clogf.c: Likewise.
50229         * math/s_clogl.c: Likewise.
50230         * math/s_csqrt.c: Likewise.
50231         * math/s_csqrtf.c: Likewise.
50232         * math/s_csqrtl.c: Likewise.
50233         * math/s_ctanf.c: Likewise.
50234         * math/s_ctanh.c: Likewise.
50235         * math/s_ctanhf.c: Likewise.
50236         * math/s_ctanhl.c: Likewise.
50237         * math/s_ctanl.c: Likewise.
50238
50239         * math/math_private.h: Define __nan, __nanf, __nanl.
50240         * math/s_cacosh.c: Include <math_private.h>.
50241         * math/s_cacoshl.c: Likewise.
50242         * math/s_casinh.c: Likewise.
50243         * math/s_casinhf.c: Likewise.
50244         * math/s_casinhl.c: Likewise.
50245         * math/s_ccos.c: Rely entire on ccosh.
50246         * math/s_ccosf.c: Rely entire on ccoshf.
50247         * math/s_ccosl.c: Rely entirely on ccoshl.
50248         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50249         Remove tests for FE_INVALID.
50250         * math/s_ccoshf.c: Likewise.
50251         * math/s_ccoshl.c: Likewise.
50252         * math/s_csin.c: Likewise.
50253         * math/s_csinf.c: Likewise.
50254         * math/s_csinh.c Likewise.
50255         * math/s_csinhf.c: Likewise.
50256         * math/s_csinhl.c: Likewise.
50257         * math/s_csinl.c: Likewise.
50258         * math/s_ctan.c: Likewise.
50259         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50260         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50261         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50262
50263 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50264
50265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50266         compilation problems.
50267
50268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50269         __builtin_expect.
50270
50271 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50272
50273         * sysdeps/i386/configure.in: Test for -mfma4 option.
50274         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50275         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50276         COMMON_CPUID_INDEX_80000001.
50277         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50278         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50279         use it if FMA3 is not supported.
50280         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50281
50282         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50283         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50284
50285 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50286
50287         [BZ #12892]
50288         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50289         it would create a cycle with a link time dependency.
50290
50291 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50292
50293         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50294         instruction.
50295         * string/Makefile (strop-tests): Add rawmemchr.
50296         * string/test-rawmemchr.c: New file.
50297
50298         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50299         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50300         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50301         when compiling str{,n}casecmp and when AVX is available.  Hook up
50302         new optimized code in initializers.
50303
50304 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50305
50306         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50307         __feraiseexcept instead of feraiseexcept.
50308
50309 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50310
50311         * math/math_private.h: Define defaults for libc_fetestexcept and
50312         libc_feupdateenv.
50313         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50314         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50315         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50316         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50317         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50318         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50319         libc_fetestexcept and libc_feupdateenv.
50320
50321         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50322         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50323         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50324         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50325         libc_feholdexcept_setround.
50326
50327         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50328         Add s_nearbyint-c and s_nearbyintf-c.
50329         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50330         nearbyintf inlines.
50331         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50332         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50333         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50334         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50335
50336         * math/math_private.h: Define defaults for libc_fegetround,
50337         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50338         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50339         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50340         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50341         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50342         standard functions.
50343         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50344         Remove comments and hacks for old compiler versions.
50345         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50346         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50347         libc_feholdexceptl.
50348
50349 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50350
50351         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50352         (__feraiseexcept_renamed): Add __NTH.
50353         (feraiseexcept): Add __NTH.  Rename local variables to fix
50354         namespace violations.
50355
50356 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50357
50358         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50359
50360         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50361
50362         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50363         recently added interfaces.
50364         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50365
50366         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50367         about macro parameter expansion.
50368
50369         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50370         __NO_MATH_INLINES is defined.  Cleanups.
50371
50372         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50373         and __floorf is target has SSE4.1.
50374         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50375         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50376         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50377         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50378
50379         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50380         name.
50381         (floorf): Likewise.
50382
50383         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50384
50385 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50386
50387         * misc/sys/cdefs.h: Fix last change.
50388
50389         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50390         database lookup.
50391
50392 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50393
50394         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50395
50396         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50397         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50398         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50399         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50400         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50401         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50402         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50403         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50404         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50405         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50406         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50407         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50408         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50409         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50410         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50411         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50412         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50413         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50414         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50415         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50416         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50417         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50418
50419         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50420         ceil, ceilf, floor, floorf.
50421
50422         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50423         Perform IRELATIVE relocations last.
50424
50425         * elf/do-rel.h: Add another parameter nrelative, replacing the
50426         local variable with the same name.  Change name of the function
50427         to end in Rel or Rela (uppercase).
50428         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50429         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50430         elf_dynamic_do_##reloc function.
50431
50432 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50433
50434         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50435         is sufficient, at least on modern CPUs.
50436
50437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50438
50439         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50440         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50441
50442         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50443         __expl_finite.
50444         * math/bits/math-finite.h: Add entries for exp.
50445         * math/e_expl.c: Add __*_finite alias.
50446         * sysdeps/i386/fpu/e_exp.S: Likewise.
50447         * sysdeps/i386/fpu/e_expf.S: Likewise.
50448         * sysdeps/i386/fpu/e_expl.c: Likewise.
50449         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50450         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50451         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50452         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50453         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50454         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50455         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50456
50457         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50458         is sufficient, at least on modern CPUs.
50459
50460         * ctype/ctype-info.c (__ctype_init): Define.
50461         * include/ctype.h (__ctype_init): Declare.
50462         (__ctype_b_loc): The variable is always initialized.
50463         (__ctype_toupper_loc): Likewise.
50464         (__ctype_tolower_loc): Likewise.
50465         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50466         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50467
50468 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50469
50470         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50471
50472         * configure.in: Also look in $cxxmachine/include for C++ system
50473         headers.
50474
50475 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50476
50477         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50478         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50479         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50480         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50481         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50482         (USE_AS_WMEMCMP): New macro.
50483         Fixing indents.
50484         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50485         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50486         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50487         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50489         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50490         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50491         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50492         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50493         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50494         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50495         (USE_AS_WMEMCMP): New macro.
50496         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50497         * sysdeps/string/test-memcmp.c: Update.
50498         Fix simple_wmemcmp.
50499         Add new tests.
50500         * wcsmbs/wmemcmp.c: Update.
50501         (WMEMCMP): New macro.
50502         Fix overflow bug.
50503
50504 2011-10-12  Andreas Jaeger  <aj@suse.de>
50505
50506         [BZ #13268]
50507         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50508
50509 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50510
50511         * libio/iofwide.c (do_length): Avoid warning.
50512
50513         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50514
50515 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50516
50517         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50518
50519         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50520         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50521         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50522         * sysdeps/i386/i686/fpu/e_log.S: New file.
50523         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50524         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50525
50526         * ctype/ctype.h: Add support for inlined isXXX functions when
50527         compiling C++ code.
50528
50529 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50530
50531         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50532
50533         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50534
50535 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50536
50537         [BZ #13291]
50538         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50539
50540 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50541
50542         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50543         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50544         feraiseexcept.
50545
50546         * sysdeps/x86_64/memrchr.S: Check for zero size.
50547
50548         * string/stratcliff.c: Add memrchr tests.
50549
50550 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50551
50552         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50553         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50554         rawmemchr-sse2 rawmemchr-sse2-bsf.
50555         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50556         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50557         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50558         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50559         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50560         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50561         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50562         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50563         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50564         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50565         * string/memrchr.c (MEMRCHR): New macro.
50566
50567 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50568
50569         Add integration with gcc's -ffinite-math-only and optimize wrapper
50570         functions in libm.
50571         * Versions.def: Define GLIBC_2.15 version for libm.
50572         * math/Makefile (headers): Add bits/math-finite.h.
50573         * math/bits/math-finite.h: New file.
50574         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50575         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50576         * math/e_acoshl.c: Add __*_finite alias.
50577         * math/e_acosl.c: Likewise.
50578         * math/e_asinl.c: Likewise.
50579         * math/e_atan2l.c: Likewise.
50580         * math/e_atanhl.c: Likewise.
50581         * math/e_coshl.c: Likewise.
50582         * math/e_exp10.c: Likewise.
50583         * math/e_exp10f.c: Likewise.
50584         * math/e_exp10l.c: Likewise.
50585         * math/e_exp2l.c: Likewise.
50586         * math/e_fmodl.c: Likewise.
50587         * math/e_gammal_r.c: Likewise.
50588         * math/e_hypotl.c: Likewise.
50589         * math/e_j0l.c: Likewise.
50590         * math/e_j1l.c: Likewise.
50591         * math/e_jnl.c: Likewise.
50592         * math/e_lgammal_r.c: Likewise.
50593         * math/e_log10l.c: Likewise.
50594         * math/e_log2l.c: Likewise.
50595         * math/e_logl.c: Likewise.
50596         * math/e_powl.c: Likewise.
50597         * math/e_sinhl.c: Likewise.
50598         * math/e_sqrtl.c: Likewise.
50599         * math/e_scalb.c: Completely rewritten and optimized.
50600         * math/e_scalbf.c: Likewise.
50601         * math/e_scalbl.c: Likewise.
50602         * math/w_acos.c: Likewise.
50603         * math/w_acosf.c: Likewise.
50604         * math/w_acosl.c: Likewise.
50605         * math/w_acosh.c: Likewise.
50606         * math/w_acoshf.c: Likewise.
50607         * math/w_acoshl.c: Likewise.
50608         * math/w_asin.c: Likewise.
50609         * math/w_asinf.c: Likewise.
50610         * math/w_asinl.c: Likewise.
50611         * math/w_atan2.c: Likewise.
50612         * math/w_atan2f.c: Likewise.
50613         * math/w_atan2l.c: Likewise.
50614         * math/w_atanh.c: Likewise.
50615         * math/w_atanhf.c: Likewise.
50616         * math/w_atanhl.c: Likewise.
50617         * math/w_exp10.c: Likewise.
50618         * math/w_exp10f.c: Likewise.
50619         * math/w_exp10l.c: Likewise.
50620         * math/w_fmod.c: Likewise.
50621         * math/w_fmodf.c: Likewise.
50622         * math/w_fmodl.c: Likewise.
50623         * math/w_j0.c: Likewise.
50624         * math/w_j0f.c: Likewise.
50625         * math/w_j0l.c: Likewise.
50626         * math/w_j1.c: Likewise.
50627         * math/w_j1f.c: Likewise.
50628         * math/w_j1l.c: Likewise.
50629         * math/w_jn.c: Likewise.
50630         * math/w_jnf.c: Likewise.
50631         * math/w_log.c: Likewise.
50632         * math/w_logf.c: Likewise.
50633         * math/w_logl.c: Likewise.
50634         * math/w_log10.c: Likewise.
50635         * math/w_log10f.c: Likewise.
50636         * math/w_log10l.c: Likewise.
50637         * math/w_log2.c: Likewise.
50638         * math/w_log2f.c: Likewise.
50639         * math/w_log2l.c: Likewise.
50640         * math/w_pow.c: Likewise.
50641         * math/w_powf.c: Likewise.
50642         * math/w_powl.c: Likewise.
50643         * math/w_remainder.c: Likewise.
50644         * math/w_remainderf.c: Likewise.
50645         * math/w_remainderl.c: Likewise.
50646         * math/w_scalb.c: Likewise.
50647         * math/w_scalbf.c: Likewise.
50648         * math/w_scalbl.c: Likewise.
50649         * math/w_sqrt.c: Likewise.
50650         * math/w_sqrtf.c: Likewise.
50651         * math/w_sqrtl.c: Likewise.
50652         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50653         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50654         used.
50655         * math/math_private.h: Declare __kernel_standard_f.
50656         * math/w_cosh.c: Remove cruft and optimize a bit.
50657         * math/w_coshf.c: Likewise.
50658         * math/w_coshl.c: Likewise.
50659         * math/w_exp2.c: Likewise.
50660         * math/w_exp2f.c: Likewise.
50661         * math/w_exp2l.c: Likewise.
50662         * math/w_hypot.c: Likewise.
50663         * math/w_hypotf.c: Likewise.
50664         * math/w_hypotl.c: Likewise.
50665         * math/w_lgamma.c: Likewise.
50666         * math/w_lgamma_r.c: Likewise.
50667         * math/w_lgammaf.c: Likewise.
50668         * math/w_lgammaf_r.c: Likewise.
50669         * math/w_lgammal.c: Likewise.
50670         * math/w_lgammal_r.c: Likewise.
50671         * math/w_sinh.c: Likewise.
50672         * math/w_sinhf.c: Likewise.
50673         * math/w_sinhl.c: Likewise.
50674         * math/w_tgamma.c: Likewise.
50675         * math/w_tgammaf.c: Likewise.
50676         * math/w_tgammal.c: Likewise.
50677         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50678         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50679         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50680         Minor optimizations.  Pretty printing.  Remove cruft.
50681         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50682         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50683         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50684         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50685         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50686         * sysdeps/i386/fpu/e_asin.S: Likewise.
50687         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50688         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50689         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50690         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50691         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50692         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50693         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50694         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50695         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50696         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50697         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50698         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50699         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50700         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50701         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50702         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50703         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50704         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50705         * sysdeps/i386/fpu/e_log.S: Likewise.
50706         * sysdeps/i386/fpu/e_log10.S: Likewise.
50707         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50708         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50709         * sysdeps/i386/fpu/e_log2.S: Likewise.
50710         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50711         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50712         * sysdeps/i386/fpu/e_logf.S: Likewise.
50713         * sysdeps/i386/fpu/e_logl.S: Likewise.
50714         * sysdeps/i386/fpu/e_pow.S: Likewise.
50715         * sysdeps/i386/fpu/e_powf.S: Likewise.
50716         * sysdeps/i386/fpu/e_powl.S: Likewise.
50717         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50718         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50719         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50720         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50721         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50722         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50723         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50724         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50725         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50746         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50747         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50748         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50749         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50750         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50751         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50752         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50753         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50754         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50755         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50756         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50757         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50758         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50759         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50760         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50761         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50762         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50763         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50764         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50765         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50766         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50767         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50768         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50769         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50770         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50771         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50772         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50773         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50774         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50775         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50776         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50777         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50778         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50779         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50781         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50782         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50783         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50784         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50785         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50786         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50787         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50790         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50791         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50792         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50793         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50794         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50795         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50796         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50797         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50798         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50799         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50800         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50801         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50802         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50803         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50805         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50806         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50807         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50808         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50810         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50811         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50812         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50814         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50815         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50816         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50817         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50818         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50819         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50820         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50821         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50822         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50823         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50824         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50825         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50826         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50827         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50828         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50829         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50830         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50831         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50832         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50833         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50834         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50835         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50836         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50837         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50838         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50839         (__isnanf): Likewise.
50840         (__isinf_ns): Likewise.
50841         (__isinf_nsf): Likewise.
50842         (__finite): Likewise.
50843         (__finitef): Likewise.
50844         (__ieee754_sqrt): Define as macro.
50845         (__ieee754_sqrtf): Define as macro.
50846         (__ieee754_sqrtl): Define as macro.
50847         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50848         inlined copy.
50849         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50850         __FINITE_MATH_ONLY__ consistent.
50851         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50852
50853 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50854
50855         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50856         of rawmemchr.
50857
50858         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50859
50860 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50861
50862         * po/ja.po: Update from translation team.
50863
50864 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50865
50866         * locale/programs/locarchive.c (prepare_address_space): New function.
50867         (create_archive, enlarge_archive, open_archive): Use it.
50868
50869         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50870         inside [SHARED], where it is used.
50871
50872         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50873
50874         * nss/getent.c (netgroup_keys): Remove unused variable.
50875         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50876
50877 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50878
50879         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50880         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50882         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50883         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50884         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50885         * math/Makefile (libm-calls): Add s_isinf_ns.
50886         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50887         * math/multc3.c: Likewise.
50888         * math/s_casin.c: Likewise.
50889         * math/s_casinf.c: Likewise.
50890         * math/s_casinl.c: Likewise.
50891         * math/s_ccos.c: Likewise.
50892         * math/s_ccosf.c: Likewise.
50893         * math/s_ccosl.c: Likewise.
50894         * math/s_ctan.c: Likewise.
50895         * math/s_ctanf.c: Likewise.
50896         * math/s_ctanh.c: Likewise.
50897         * math/s_ctanhf.c: Likewise.
50898         * math/s_ctanhl.c: Likewise.
50899         * math/s_ctanl.c: Likewise.
50900         * math/w_fmod.c: Likewise.
50901         * math/w_fmodf.c: Likewise.
50902         * math/w_fmodl.c: Likewise.
50903         * math/w_remainder.c: Likewise.
50904         * math/w_remainderf.c: Likewise.
50905         * math/w_remainderl.c: Likewise.
50906         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50907         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50908         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50909         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50910         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50911         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50912         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50913         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50914
50915         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50916         of the number.
50917         * stdio-common/printf_fphex.c: Likewise.
50918         * stdio-common/printf_size.c: Likewise.
50919
50920         * math/e_exp10.c: Include math_private.h using <...> not "...".
50921         * math/e_exp10f.c: Likewise.
50922         * math/e_exp10l.c: Likewise.
50923         * math/e_exp2l.c: Likewise.
50924         * math/e_j0l.c: Likewise.
50925         * math/e_j1l.c: Likewise.
50926         * math/e_jnl.c: Likewise.
50927         * math/e_lgammal_r.c: Likewise.
50928         * math/e_rem_pio2l.c: Likewise.
50929         * math/e_scalb.c: Likewise.
50930         * math/e_scalbf.c: Likewise.
50931         * math/e_scalbl.c: Likewise.
50932         * math/k_cosl.c: Likewise.
50933         * math/k_sinl.c: Likewise.
50934         * math/k_tanl.c: Likewise.
50935         * math/s_cacoshf.c: Likewise.
50936         * math/s_catan.c: Likewise.
50937         * math/s_catanf.c: Likewise.
50938         * math/s_catanh.c: Likewise.
50939         * math/s_catanhf.c: Likewise.
50940         * math/s_catanhl.c: Likewise.
50941         * math/s_catanl.c: Likewise.
50942         * math/s_ccosh.c: Likewise.
50943         * math/s_ccoshf.c: Likewise.
50944         * math/s_ccoshl.c: Likewise.
50945         * math/s_cexp.c: Likewise.
50946         * math/s_cexpf.c: Likewise.
50947         * math/s_cexpl.c: Likewise.
50948         * math/s_clog.c: Likewise.
50949         * math/s_clog10.c: Likewise.
50950         * math/s_clog10f.c: Likewise.
50951         * math/s_clog10l.c: Likewise.
50952         * math/s_clogf.c: Likewise.
50953         * math/s_clogl.c: Likewise.
50954         * math/s_csin.c: Likewise.
50955         * math/s_csinf.c: Likewise.
50956         * math/s_csinh.c: Likewise.
50957         * math/s_csinhf.c: Likewise.
50958         * math/s_csinhl.c: Likewise.
50959         * math/s_csinl.c: Likewise.
50960         * math/s_csqrt.c: Likewise.
50961         * math/s_csqrtf.c: Likewise.
50962         * math/s_csqrtl.c: Likewise.
50963         * math/s_ctan.c: Likewise.
50964         * math/s_ctanf.c: Likewise.
50965         * math/s_ctanh.c: Likewise.
50966         * math/s_ctanhf.c: Likewise.
50967         * math/s_ctanhl.c: Likewise.
50968         * math/s_ctanl.c: Likewise.
50969         * math/s_ldexp.c: Likewise.
50970         * math/s_ldexpf.c: Likewise.
50971         * math/s_ldexpl.c: Likewise.
50972         * math/s_significand.c: Likewise.
50973         * math/s_significandf.c: Likewise.
50974         * math/s_significandl.c: Likewise.
50975         * math/w_acos.c: Likewise.
50976         * math/w_acosf.c: Likewise.
50977         * math/w_acosh.c: Likewise.
50978         * math/w_acoshf.c: Likewise.
50979         * math/w_acoshl.c: Likewise.
50980         * math/w_acosl.c: Likewise.
50981         * math/w_asin.c: Likewise.
50982         * math/w_asinf.c: Likewise.
50983         * math/w_asinl.c: Likewise.
50984         * math/w_atan2.c: Likewise.
50985         * math/w_atan2f.c: Likewise.
50986         * math/w_atan2l.c: Likewise.
50987         * math/w_atanh.c: Likewise.
50988         * math/w_atanhf.c: Likewise.
50989         * math/w_atanhl.c: Likewise.
50990         * math/w_cosh.c: Likewise.
50991         * math/w_coshf.c: Likewise.
50992         * math/w_coshl.c: Likewise.
50993         * math/w_dremf.c: Likewise.
50994         * math/w_exp10.c: Likewise.
50995         * math/w_exp10f.c: Likewise.
50996         * math/w_exp10l.c: Likewise.
50997         * math/w_exp2.c: Likewise.
50998         * math/w_exp2f.c: Likewise.
50999         * math/w_fmod.c: Likewise.
51000         * math/w_fmodf.c: Likewise.
51001         * math/w_fmodl.c: Likewise.
51002         * math/w_hypot.c: Likewise.
51003         * math/w_hypotf.c: Likewise.
51004         * math/w_hypotl.c: Likewise.
51005         * math/w_j0.c: Likewise.
51006         * math/w_j0f.c: Likewise.
51007         * math/w_j0l.c: Likewise.
51008         * math/w_j1.c: Likewise.
51009         * math/w_j1f.c: Likewise.
51010         * math/w_j1l.c: Likewise.
51011         * math/w_jn.c: Likewise.
51012         * math/w_jnf.c: Likewise.
51013         * math/w_jnl.c: Likewise.
51014         * math/w_lgamma.c: Likewise.
51015         * math/w_lgamma_r.c: Likewise.
51016         * math/w_lgammaf.c: Likewise.
51017         * math/w_lgammaf_r.c: Likewise.
51018         * math/w_lgammal.c: Likewise.
51019         * math/w_lgammal_r.c: Likewise.
51020         * math/w_log.c: Likewise.
51021         * math/w_log10.c: Likewise.
51022         * math/w_log10f.c: Likewise.
51023         * math/w_log10l.c: Likewise.
51024         * math/w_log2.c: Likewise.
51025         * math/w_log2f.c: Likewise.
51026         * math/w_log2l.c: Likewise.
51027         * math/w_logf.c: Likewise.
51028         * math/w_logl.c: Likewise.
51029         * math/w_pow.c: Likewise.
51030         * math/w_powf.c: Likewise.
51031         * math/w_powl.c: Likewise.
51032         * math/w_remainder.c: Likewise.
51033         * math/w_remainderf.c: Likewise.
51034         * math/w_remainderl.c: Likewise.
51035         * math/w_scalb.c: Likewise.
51036         * math/w_scalbf.c: Likewise.
51037         * math/w_scalbl.c: Likewise.
51038         * math/w_sinh.c: Likewise.
51039         * math/w_sinhf.c: Likewise.
51040         * math/w_sinhl.c: Likewise.
51041         * math/w_sqrt.c: Likewise.
51042         * math/w_sqrtf.c: Likewise.
51043         * math/w_sqrtl.c: Likewise.
51044         * math/w_tgamma.c: Likewise.
51045         * math/w_tgammaf.c: Likewise.
51046         * math/w_tgammal.c: Likewise.
51047
51048         * po/ja.po: Update from translation team.
51049
51050 2011-09-29  Andreas Jaeger  <aj@suse.de>
51051
51052         [BZ #13179]
51053         * sunrpc/netname.c (netname2host): Fix logic.
51054
51055         [BZ #6779]
51056         [BZ #6783]
51057         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51058         correctly.
51059         * math/w_remainder.c (__remainder): Likewise.
51060         * math/w_remainderf.c (__remainderf): Likewise.
51061         * math/libm-test.inc (remainder_test): Add test cases.
51062
51063 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51064
51065         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51066         sdiv_qrnnd.
51067
51068 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51069
51070         * string/test-memcmp.c: Avoid unncessary #defines.
51071         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51072
51073 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51074
51075         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51076         Use new sse2 version for core i3 - i7 as it's faster
51077         than sse42 version.
51078         (bit_Prefer_PMINUB_for_stringop): New.
51079         * sysdeps/x86_64/rawmemchr.S: Update.
51080         Replace with faster SSE2 version.
51081         * sysdeps/x86_64/memrchr.S: New file.
51082         * sysdeps/x86_64/memchr.S: Update.
51083         Replace with faster SSE2 version.
51084
51085 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51086
51087         * elf/dl-load.c (lose): Add cast to avoid warning.
51088
51089 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51090
51091         * po/ca.po: Update from translation team.
51092
51093         * inet/getnetgrent_r.c: Hook up nscd.
51094         * nscd/Makefile (routines): Add nscd_netgroup.
51095         (nscd-modules): Add netgroupcache.
51096         (CFLAGS-netgroupcache.c): Define.
51097         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51098         (cache_search): Add const to second parameter.
51099         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51100         INNETGR.
51101         (dbs): Add netgrdb entry.
51102         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51103         (verify_persistent_db): Handle netgrdb.
51104         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51105         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51106         GETFDNETGR.
51107         (netgroup_response_header): Define.
51108         (innetgroup_response_header): Define.
51109         (datahead): Add netgroup_response_header and innetgroup_response_header
51110         elements.
51111         * nscd/nscd.conf: Add entries for netgroup cache.
51112         * nscd/nscd.h (dbtype): Add netgrdb.
51113         (_PATH_NSCD_NETGROUP_DB): Define.
51114         (netgroup_iov_disabled): Declare.
51115         (xmalloc, xcalloc, xrealloc): Move declarations here.
51116         (cache_search): Adjust prototype.
51117         Add netgroup-related prototypes.
51118         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51119         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51120         (__nscd_innetgr): Declare.
51121         * nscd/selinux.c (perms): Use access_vector_t as element type and
51122         add netgroup-related initializers.
51123         * nscd/netgroupcache.c: New file.
51124         * nscd/nscd_netgroup.c: New file.
51125         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51126         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51127         For four parameters use innetgr.
51128         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51129         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51130         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51131         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51132
51133         * nscd/connections.c (register_traced_file): Don't register file
51134         for disabled databases.
51135
51136 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51137
51138         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51139
51140         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51141         from tree and freeing node.
51142
51143 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51144
51145         * nss/nsswitch.c (__nss_database_lookup): Handle
51146         nss_parse_service_list out of memory case.
51147
51148 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51149
51150         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51151         out of memory case.
51152
51153 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51154
51155         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51156         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51157         pass it down.
51158         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51159         elf_machine_rela, elf_machine_lazy_rel.
51160         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51161         (ELF_DYNAMIC_DO_REL): Likewise.
51162         (ELF_DYNAMIC_DO_RELA): Likewise.
51163         (ELF_DYNAMIC_RELOCATE): Likewise.
51164         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51165         to ELF_DYNAMIC_DO_REL.
51166         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51167         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51168         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51169         elf_machine_rela.
51170         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51171         skip_ifunc, don't call ifunc function if non-zero.
51172         (elf_machine_rela): Likewise.
51173         (elf_machine_lazy_rel): Likewise.
51174         (elf_machine_lazy_rela): Likewise.
51175         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51176         (elf_machine_lazy_rel): Likewise.
51177         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51178         Likewise.
51179         (elf_machine_lazy_rel): Likewise.
51180         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51181         Likewise.
51182         (elf_machine_lazy_rel): Likewise.
51183         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51184         (elf_machine_lazy_rel): Likewise.
51185         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51186         (elf_machine_lazy_rel): Likewise.
51187         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51188         (elf_machine_lazy_rel): Likewise.
51189         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51190         (elf_machine_lazy_rel): Likewise.
51191         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51192         (elf_machine_lazy_rel): Likewise.
51193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51194         (elf_machine_lazy_rel): Likewise.
51195
51196 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51197
51198         * nss/nss_files/files-init.c (_nss_files_init): Use static
51199         initialization for all the *_traced_file variables.
51200
51201 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51202
51203         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51204
51205 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51206
51207         [BZ #13226]
51208         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51209
51210 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51211
51212         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51213         Reread the line before reparsing it.
51214
51215 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51216
51217         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51218
51219 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51220             Maxim Kuvyrkov  <maxim@codesourcery.com>
51221             Joseph Myers  <joseph@codesourcery.com>
51222
51223         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51224         if needed for __stack_chk_guard.
51225
51226 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51227
51228         * sysdeps/posix/spawni.c (script_execute): Always define it.
51229         It will be optimized away if unused.
51230         (maybe_script_execute): New function.
51231         (__spawni): Call it.
51232
51233         * Makerules: Don't include tls.make.
51234         (config-tls): Always set to thread.
51235         * tls.make.c: File removed.
51236
51237 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51238
51239         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51240         * config.make.in (CPPFLAGS-config): New substituted variable.
51241
51242 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51243
51244         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51245
51246         [BZ #13192]
51247         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51248         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51249
51250 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51251
51252         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51253         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51254         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51255         (CALL_FAIL): Likewise.
51256         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51257         (CALL_FAIL): Macro removed.
51258         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51259
51260 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51261
51262         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51263         for __FINITE_MATH_ONLY__ == 1.
51264
51265 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51266
51267         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51268         __ieee754_sqrt instead of sqrt.
51269         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51270         __ieee754_sqrtf instead of sqrtf.
51271         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51272         __floorf instead of floorf.
51273         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51274         __floorf, __truncf instead of floorf, truncf.
51275
51276 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51277
51278         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51279
51280         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51281         __extern_always_inline.
51282         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51283         32-bit.
51284
51285 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51286
51287         * elf/rtld.c (dl_main): Also relocate in dependency order when
51288         doing symbol dependency testing.
51289
51290 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51291
51292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51293         Always define `refsym'.
51294
51295 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51296
51297         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51298         (__FD_ELT): Renamed from __FDELT.
51299         * misc/bits/select2.h (__FD_ELT): Likewise.
51300         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51301         __FD_MASK instead of __FDELT, __FDMASK.
51302         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51303         Likewise.
51304         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51305         Likewise.
51306
51307         * elf/Makefile (gen-ldd): Fix pattern.
51308
51309         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51310         (init_tls): Likewise.
51311
51312 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51313
51314         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51315
51316 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51317
51318         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51319         `struct cmsghdr *' instead of `void *'.
51320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51321         Likewise.
51322
51323 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51324
51325         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51326         if non-absolute.
51327         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51328         ldd_rewrite_script.
51329
51330 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51331
51332         * configure.in: Remove --with-tls option.
51333         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51334         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51335         out in case it is missing.
51336         * sysdeps/ia64/elf/configure.in: Likewise.
51337         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51338         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51339         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51340         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51341         * sysdeps/sh/elf/configure.in: Likewise.
51342         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51343         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51344         * sysdeps/x86_64/elf/configure.in: Likewise.
51345         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51346         * sysdeps/mach/hurd/tls.h: Likewise.
51347
51348         [BZ #13067]
51349         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51350
51351         [BZ #13090]
51352         * configure.in: Fix use of AC_INIT.
51353
51354         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51355
51356 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51357
51358         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51359         __set_errno.
51360         * malloc/hooks.c: Likewise.
51361
51362         [BZ #11929]
51363         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51364         variables statically.
51365         (narenas): Initialize.
51366         (list_lock): Initialize.
51367         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51368         initializtion of main_arena and list_lock.  Small cleanups.
51369         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51370         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51371         Add initializers to main_arena and mp_.
51372         (malloc_state): Remove pagesize member.  Change all users to use
51373         GLRO(dl_pagesize).
51374
51375         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51376         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51377         is always initialized.
51378
51379         * malloc/malloc.c: Removed unused configurations and dead code.
51380         * malloc/arena.c: Likewise.
51381         * malloc/hooks.c: Likewise.
51382         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51383
51384         * include/tls.h: Removed.  USE___THREAD must always be defined.
51385         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51386         * elf/dl-libc.c: Likewise.
51387         * elf/dl-tsd.c: Likewise.
51388         * include/errno.h: Likewise.
51389         * include/netdb.h: Likewise.
51390         * include/resolv.h: Likewise.
51391         * inet/herrno-loc.c: Likewise.
51392         * inet/herrno.c: Likewise.
51393         * malloc/arena.c: Likewise.
51394         * malloc/hooks.c: Likewise.
51395         * malloc/malloc.c: Likewise.
51396         * resolv/res-state.c: Likewise.
51397         * resolv/res_libc.c: Likewise.
51398         * sysdeps/i386/dl-machine.h: Likewise.
51399         * sysdeps/ia64/dl-machine.h: Likewise.
51400         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51401         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51402         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51403         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51404         * sysdeps/sh/dl-machine.h: Likewise.
51405         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51406         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51407         * sysdeps/unix/i386/sysdep.S: Likewise.
51408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51409         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51414         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51416         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51418         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51419         * sysdeps/x86_64/dl-machine.h: Likewise.
51420         * tls.make.c: Likewise.
51421
51422         * configure.in: Remove --with-__thread option.  Make tests for
51423         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51424         tls_model attribute fail if no support is available.  Remove
51425         USE_IN_LIBIO.
51426         * Makeconfig: Adjust for dropped configure option.  All features are
51427         now mandatory.
51428         * Makerules: Likewise.
51429         * Versions.def: Likewise.
51430         * argp/argp-fmtstream.c: Likewise.
51431         * argp/argp-fmtstream.h: Likewise.
51432         * argp/argp-help.c: Likewise.
51433         * assert/assert.c: Likewise.
51434         * config.h.in: Likewise.
51435         * config.make.in: Likewise.
51436         * configure: Likewise.
51437         * configure.in: Likewise.
51438         * csu/Versions: Likewise.
51439         * csu/init.c: Likewise.
51440         * elf/tst-audit2.c: Likewise.
51441         * elf/tst-tls10.c: Likewise.
51442         * elf/tst-tls10.h: Likewise.
51443         * elf/tst-tls11.c: Likewise.
51444         * elf/tst-tls12.c: Likewise.
51445         * elf/tst-tls14.c: Likewise.
51446         * elf/tst-tlsmod11.c: Likewise.
51447         * elf/tst-tlsmod12.c: Likewise.
51448         * elf/tst-tlsmod13.c: Likewise.
51449         * elf/tst-tlsmod13a.c: Likewise.
51450         * elf/tst-tlsmod14a.c: Likewise.
51451         * elf/tst-tlsmod15b.c: Likewise.
51452         * elf/tst-tlsmod16a.c: Likewise.
51453         * elf/tst-tlsmod16b.c: Likewise.
51454         * elf/tst-tlsmod7.c: Likewise.
51455         * elf/tst-tlsmod8.c: Likewise.
51456         * elf/tst-tlsmod9.c: Likewise.
51457         * gmon/gmon.c: Likewise.
51458         * grp/fgetgrent_r.c: Likewise.
51459         * grp/putgrent.c: Likewise.
51460         * hurd/fopenport.c: Likewise.
51461         * include/libc-symbols.h: Likewise.
51462         * include/tls.h: Likewise.
51463         * intl/gettextP.h: Likewise.
51464         * intl/loadinfo.h: Likewise.
51465         * locale/global-locale.c: Likewise.
51466         * locale/localeinfo.h: Likewise.
51467         * mach/devstream.c: Likewise.
51468         * malloc/arena.c: Likewise.
51469         * malloc/set-freeres.c: Likewise.
51470         * misc/err.c: Likewise.
51471         * misc/getttyent.c: Likewise.
51472         * misc/mntent_r.c: Likewise.
51473         * posix/getopt.c: Likewise.
51474         * posix/wordexp.c: Likewise.
51475         * pwd/fgetpwent_r.c: Likewise.
51476         * resolv/Versions: Likewise.
51477         * resolv/res_hconf.c: Likewise.
51478         * shadow/fgetspent_r.c: Likewise.
51479         * shadow/putspent.c: Likewise.
51480         * stdio-common/printf_fphex.c: Likewise.
51481         * stdio-common/tmpfile.c: Likewise.
51482         * stdlib/abort.c: Likewise.
51483         * stdlib/fmtmsg.c: Likewise.
51484         * sunrpc/auth_unix.c: Likewise.
51485         * sunrpc/clnt_perr.c: Likewise.
51486         * sunrpc/clnt_tcp.c: Likewise.
51487         * sunrpc/clnt_udp.c: Likewise.
51488         * sunrpc/clnt_unix.c: Likewise.
51489         * sunrpc/openchild.c: Likewise.
51490         * sunrpc/svc_simple.c: Likewise.
51491         * sunrpc/svc_tcp.c: Likewise.
51492         * sunrpc/svc_udp.c: Likewise.
51493         * sunrpc/svc_unix.c: Likewise.
51494         * sunrpc/xdr.c: Likewise.
51495         * sunrpc/xdr_array.c: Likewise.
51496         * sunrpc/xdr_rec.c: Likewise.
51497         * sunrpc/xdr_ref.c: Likewise.
51498         * sunrpc/xdr_stdio.c: Likewise.
51499
51500 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51501
51502         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51503
51504 2011-07-03  Andreas Jaeger  <aj@suse.de>
51505
51506         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51507         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51508         regenerate with gen-libm-tests.pl.
51509
51510 2010-05-12  Petr Baudis  <pasky@suse.cz>
51511
51512         [BZ #11589]
51513         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51514         around j0() zero points by switching to j1().
51515         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51518         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51519
51520 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51521
51522         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51523         instead of 0.
51524         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51525         instead of 0.
51526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51527         Patch in part by Pavel Roskin <proski@gnu.org>.
51528
51529         [BZ #13138]
51530         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51531         realloc.
51532         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51533         Free memory block if necessary.
51534
51535         [BZ #12847]
51536         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51537         be NULL.  Don't lock in this case.
51538
51539 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51540
51541         * elf/elf.h (ELFOSABI_GNU): New macro.
51542         (ELFOSABI_LINUX): Define to that.
51543
51544 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51545
51546         * string/strncat.c (strncat): Undef the symbol in case it has been
51547         defined in bits/string.h.
51548
51549 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51550
51551         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51552
51553         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51554         link map.
51555
51556 2011-08-17  Andreas Jaeger  <aj@suse.de>
51557
51558         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51559
51560 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51561             Ian Lance Taylor  <iant@google.com>
51562
51563         * math/libm-test.inc (lround_test): New testcase.
51564         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51565
51566 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51567
51568         * Makefile: Remove support for automatic cvs check-ins.
51569         * Makerules: Likewise.
51570         * config.make.in: Likewise.
51571         * configure.in: Likewise.
51572         * intl/Makefile: Likewise.
51573         * locale/Makefile: Likewise.
51574         * po/Makefile: Likewise.
51575         * posix/Makefile: Likewise.
51576         * sysdeps/gnu/Makefile: Likewise.
51577         * sysdeps/mach/hurd/Makefile: Likewise.
51578         * sysdeps/sparc/sparc32/Makefile: Likewise.
51579
51580         [BZ #13118]
51581         * posix/Makefile (bug-regex32-ENV): Define.
51582         Patch by John Stanley <jpsinthemix@verizon.net>.
51583
51584         * misc/Makefile (headers): Add bits/select2.h.
51585         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51586         * misc/bits/select2.h: New file.
51587         * include/bits/select2.h: New file.
51588         * debug/Makefile (routines): Add fdelt_chk.
51589         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51590         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51591         FD_ISSET.
51592         * debug/fdelt_chk.c: New file.
51593
51594         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51595         * wcsmbs/test-wmemcmp.c: Likewise.
51596         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51597         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51598
51599 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51600
51601         * string/Makefile (strop-tests): Add memcmp.
51602         * string/test-wmemcmp.c: New file.
51603         * string/test-memcmp.c: Add wmemcmp support.
51604
51605 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51606
51607         [BZ #13153]
51608         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51609         2011-07-19 change.
51610
51611         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51612         garbage value in a __mach_port_mod_refs call in the cases of the
51613         task-self and thread-self ports.
51614
51615 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51616
51617         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51618
51619 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51620
51621         * elf/dl-load.c (lose): Check for non-null L.
51622
51623 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51624
51625         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51626
51627         * elf/dl-libc.c (dlerror_run): Pass back error code from
51628         dl_catch_error.
51629
51630         [BZ #13123]
51631         * elf/dl-load.c (lose): Free l_origin if it is valid.
51632
51633         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51634         names.
51635         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51636         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51637         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51638         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51639         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51640         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51641
51642 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51643
51644         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51645         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51646         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51647         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51648         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51649         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51650         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51651         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51652         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51653         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51654
51655 2011-08-15  Alan Modra  <amodra@gmail.com>
51656
51657         [BZ #13092]
51658         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51659         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51660         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51661         ppc_mcount to static-only-routines.
51662         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51663         __mcount_internal.
51664         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51665         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51666
51667 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51668
51669         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51670         for finite and infinity parameters.
51671
51672 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51673
51674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51675         and add nop instructions for throughput optimization.
51676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51677
51678 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51679
51680         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51681         aligned copy for power7 with vector-scalar instructions.
51682         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51683
51684 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51685
51686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51687         AVX check.
51688
51689 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51690
51691         [BZ #13144]
51692         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51693         last change.
51694
51695 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51696
51697         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51698         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51699         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51700         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51701         clock_gettime.
51702
51703 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51704
51705         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51706         Forgot to demangle the pointer.
51707
51708         * sysdeps/i386/sysdep.h: Define atom_text_section.
51709         * sysdeps/x86_64/sysdep.h: Likewise.
51710         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51711         section with atom_text_section.
51712         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51713         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51714         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51716         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51717
51718         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51719         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51720         already be defined.  Change to take two parameters and don't assign
51721         result to variable.  Adjust all users.
51722         Define INTERNAL_GETTIME if not already defined.
51723         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51724         call.
51725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51726         HAVE_CLOCK_GETTIME_VSYSCALL.
51727         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51728
51729         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51730         gettimeofday vsyscall, just use time.
51731
51732 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51733
51734         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51735         <errno.h>.
51736
51737 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51738
51739         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51740         syscall on x86-64.
51741         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51742         syscall.
51743         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51744         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51745         syscall if possible.
51746
51747 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51748
51749         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51750         e_ident.  Don't pass to find_mapsXX.
51751         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51752
51753 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51754
51755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51756         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51757         * sysdeps/x86_64/multiarch/strchr.S: Update.
51758         Check bit_slow_BSF bit.
51759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51760         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51761         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51762
51763 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51764
51765         [BZ #13134]
51766         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51767         before glibc 2.15.
51768         (tryshell): Define.
51769         (__spawni): Change last parameter to be flag.  Test
51770         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51771         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51772         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51773         * posix/spawni.c: Likewise.
51774         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51775         * posix/spawnp.c: Likewise.  Change normal version to use
51776         SPAWN_XFLAGS_USE_PATH.
51777         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51778         SPAWN_XFLAGS_TRY_SHELL.
51779
51780         [BZ #13150]
51781         * posix/glob.h: Remove gcc 1.x support.
51782
51783         [BZ #13068]
51784         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51785
51786 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51787
51788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51789         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51790         strrchr-sse2-bsf
51791         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51792         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51793         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51794         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51795         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51796         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51797
51798 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51799
51800         * sysdeps/x86_64/wcscmp.S: New file.
51801
51802         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51803         wcscmp-c wcscmp-sse2
51804         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51805         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51806         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51807         * wcsmbs/wcscmp.c: Allow renaming.
51808
51809 2011-09-05  David S. Miller  <davem@davemloft.net>
51810
51811         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51812         stack slot, rather than the struct return pointer slot.
51813         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51814         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51816         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51817
51818 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51819
51820         * po/ja.po: Update from translation team.
51821
51822         [BZ #13144]
51823         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51824         kernel in 64-bit binaries.
51825
51826 2011-09-01  David S. Miller  <davem@davemloft.net>
51827
51828         * elf/elf.h (HWCAP_SPARC_*): Move to..
51829         * sysdeps/sparc/sysdep.h: this new file and add new values.
51830         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51831         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51832         _DL_HWCAP_COUNT to 24.
51833         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51834         entries.
51835         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51836         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51837         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51839         instead of magic constants.
51840         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51841
51842 2011-08-31  David S. Miller  <davem@davemloft.net>
51843
51844         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51846         Reimplement to do errno handling inline.
51847         (SYSCALL_ERROR_HANDLER): New macro.
51848         (__SYSCALL_STRING): Do not do errno handling in asm.
51849         (__CLONE_SYSCALL_STRING): Delete.
51850         (__INTERNAL_SYSCALL_STRING): Delete.
51851         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51852         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51853         (PSEUDO): Reimplement to do errno handling inline.
51854         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51855         (SYSCALL_ERROR_HANDLER): New macro.
51856         (__SYSCALL_STRING): Do not do errno handling in asm.
51857         (__CLONE_SYSCALL_STRING): Delete.
51858         (__INTERNAL_SYSCALL_STRING): Delete.
51859         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51860         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51861         i386.
51862         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51863         (inline_syscall*): Add 'err' argument.
51864         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51865         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51866         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51867         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51868
51869         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51870         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51871
51872 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51873
51874         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51875
51876 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51877
51878         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51879         directive.
51880
51881 2011-08-24  David S. Miller  <davem@davemloft.net>
51882
51883         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51884
51885 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51886
51887         * elf/Makefile: Add rules to build and run unload8 test.
51888         * elf/unload8.c: New file.
51889         * elf/unload8mod1.c: New file.
51890         * elf/unload8mod1x.c: New file.
51891         * elf/unload8mod2.c: New file.
51892         * elf/unload8mod3.c: New file.
51893
51894         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51895         it wasn't used.
51896
51897 2011-08-23  David S. Miller  <davem@davemloft.net>
51898
51899         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51900         subtract stack bias.
51901         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51902         %sp not %fp in calculations.
51903         (_JMPBUF_UNWINDS_ADJ): Likewise.
51904
51905         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51906         (aio_suspend): Call it to force an exception region around the
51907         AIO_MISC_WAIT() invocation.
51908
51909 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51910
51911         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51912         backslash.
51913
51914 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51915
51916         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51917         protection macro.
51918         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51919         and <dl-machine.h>.
51920         (Elf64_FuncDesc): Remove.
51921
51922 2011-08-22  David S. Miller  <davem@davemloft.net>
51923
51924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51925         sigaltstack check, add missing cfi directives.
51926         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51927         missing cfi directives, and sigaltstack handling.
51928
51929 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51930
51931         [BZ #11724]
51932         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51933         object is seen twice.
51934         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51935
51936         * elf/Makefile (distribute): Add tst-initorder2.c.
51937         (tests): Add tst-initorder2.
51938         (modules-names): Add tst-initorder2a tst-initorder2b
51939         tst-initorder2c tst-initorder2d.  Add rules to build them.
51940         ($(objpfx)tst-initorder2.out): New rule.
51941         * elf/tst-initorder2.c: New file.
51942         * elf/tst-initorder2.exp: New file.
51943
51944 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51945
51946         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51947
51948         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51949         dependencies back to end of function.
51950
51951         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51952         $(elfobjdir)/ld.so.
51953
51954 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51955
51956         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51957         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51958         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51959         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51960         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51961         of __vdso_gettimeofday.
51962         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51963         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51964         attribute_hidden.
51965         (_libc_vdso_platform_setup): Remove initialization of
51966         __vdso_gettimeofday and __vdso_time.
51967
51968 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51969
51970         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51971         and fgetc_unlocked.
51972         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51973         getc_unlocked.
51974
51975         * elf/dl-open.c (add_to_global): Report additions to the global scope
51976         for LD_DEBUG=scopes.
51977         (dl_open_worker): Also print scope of newly loaded dependencies.
51978         (_dl_show_scope): Indicate if there is no scope.
51979
51980         [BZ #13114]
51981         * stdio-common/Makefile (tests): Add bug24.
51982         * stdio-common/bug24.c: New file.
51983
51984 2011-08-19  Andreas Jaeger  <aj@suse.de>
51985
51986         [BZ #13114]
51987         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51988         non-existant file when using close-on-exec mode.
51989
51990 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51991
51992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51993         the very first instruction.
51994
51995         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51996         the CFI state in the end.
51997         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51998         inclusion of dl-trampoline.h.
51999         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52000
52001 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52002
52003         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52004         expectations for long double.
52005
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52007         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52008
52009 2011-08-14  David S. Miller  <davem@davemloft.net>
52010
52011         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52012         artificual limit depends upon the system page size.
52013
52014 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52015
52016         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52017         * resolv/Makefile: Define CFLAGS-libresolv.
52018
52019 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52020
52021         * nss/makedb.c (compute_tables): Make variables used in nested
52022         function static.
52023
52024 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52025
52026         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52027         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52028         if buffer was too small.
52029
52030         * elf/pldd.c (main): Attach to all threads in the process.
52031         Rewrite /proc handling to use *at functions.
52032
52033 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52034
52035         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52036         specifies first scope to show.
52037         (dl_open_worker): Update callers.  Move printing scope of new
52038         object to before the relocation.
52039         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52040         * sysdeps/generic/ldsodefs.h: Update declaration.
52041
52042         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52043         string for the scope number.
52044
52045 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52046
52047         * nscd/servicescache.c (cache_addserv): Make sure written is always
52048         initialized.
52049
52050 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52051
52052         * sysdeps/i386/i486/bits/atomic.h
52053         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52054         statement expression, so as to suppress "set but not used" warning.
52055         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52056
52057         * string/strncat.c (STRNCAT): Use prototype definition.
52058
52059         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52060         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52061         -Iprograms here.
52062         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52063         (localedef-modules): Add localedef.
52064         (locale-modules): Add locale.
52065
52066         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52067         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52068         to avoid a warning.
52069
52070 2011-08-14  David S. Miller  <davem@davemloft.net>
52071
52072         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52073         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52074
52075 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52076
52077         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52078         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52079         * elf/rtld.c (dl_main): Set l_name of vDSO.
52080         Call _dl_show_scope when DL_DEBUG_SCOPES.
52081         (process_dl_debug): Recognize scopes flag and also set it for all.
52082         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52083         Declare _dl_show_scope.
52084
52085         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52086         (do_dlopen): Pass caller_dlopen to dl_open.
52087         (__libc_dlopen_mode): Initialize caller_dlopen.
52088
52089         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52090         of libc.  Make tolower call locale-independent.  Optimize a bit by
52091         using isdigit instead of isalnum.
52092         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52093
52094 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52095
52096         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52097         was a dependency or dynamically loaded.
52098
52099 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52100
52101         * intl/l10nflist.c: Allow architecture-specific pop function.
52102         * sysdeps/x86_64/l10nflist.c: New file.
52103
52104         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52105         classification.
52106
52107 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52108
52109         * include/dirent.h: Add libc_hidden_proto for scandirat and
52110         scandirat64.  Don't declare __scandirat64.
52111         * dirent/scandirat.c: Add libc_hidden_def.
52112         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52113         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52114
52115 2011-08-10  David S. Miller  <davem@davemloft.net>
52116
52117         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52118         enum.
52119         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52120         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52122
52123 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52124
52125         * Versions.def [libc]: Add GLIBC_2.15.
52126         * dirent/Makefile (routines): Add scandirat and scandirat64.
52127         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52128         GLIBC_2.15.
52129         * dirent/dirent.h: Declare scandirat and scandirat64.
52130         * dirent/scandirat.c: New file.
52131         * dirent/scandirat64.c: New file.
52132         * sysdeps/wordsize-64/scandirat.c: New file.
52133         * sysdeps/wordsize-64/scandirat64.c: New file.
52134         * dirent/opendir.c: Define opendirat.
52135         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52136         using scandirat.
52137         * dirent/scandir64.c: Adjust for scandir.c change.
52138         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52139         __scandirat64, and __scandir_cancel_handler.
52140         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52141         additional parameter and use openat instead of open (outside of ld.so).
52142         Add new __opendir as wrapper around __opendirat.
52143         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52144         here without requiring old scandirat implementation.
52145
52146 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52147
52148         * dirent/scandir.c (cancel_handler): Renamed to
52149         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52150         defined.  Adjust users.
52151         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52152         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52153
52154 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52155
52156         * string/test-string.h (IMPL): Use __STRING to expand name and then
52157         stringify it.
52158
52159         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52160         of cleanups.
52161
52162 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52163
52164         * string/Makefile: Update.
52165         (strop-tests): Append strncat.
52166         * string/test-wcscmp.c: New file.
52167         New comprehensive test for wcscmp.
52168         * string/test-strcmp.c: Update.
52169         (WIDE): New define.
52170
52171 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52172
52173         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52174         line.
52175
52176 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52177
52178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52179         encoding to ACE if AI_IDN.
52180
52181 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52182
52183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52184         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52185
52186 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52187
52188         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52189         Fix overflow bug in strncat.
52190         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52191
52192         * string/test-strncat.c: Update.
52193         Add new tests for checking overflow bugs.
52194
52195 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52196
52197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52198         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52199         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52200         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52201         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52202         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52203         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52204         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52205         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52206
52207         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52208         (USE_AS_STRCAT): Define.
52209         Add strcat and strncat support.
52210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52211
52212 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52213
52214         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52215         __n bigger than INT_MAX+1.
52216         (__strncmp_g): Likewise.
52217
52218 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52219
52220         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52221         * libio/stido.h: Likewise.
52222
52223         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52224         (AF_NFC): Define.
52225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52226         (AF_NFC): Define.
52227
52228         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52229         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52231         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52232         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52233
52234         [BZ #13021]
52235         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52236         installed.
52237
52238         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52239         typo.
52240         (_dl_x86_64_save_sse): Likewise.
52241
52242 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52243
52244         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52245         OSXSAVE.
52246         (_dl_x86_64_save_sse): Likewise.
52247
52248         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52249
52250         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52251
52252 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52253
52254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52255         change.
52256         (_dl_x86_64_save_sse): Use correct AVX check.
52257
52258 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52259
52260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52261         bug in strncpy/strncat.
52262         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52263
52264 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52265
52266         * string/tester.c (test_strcat): Add tests for different alignments
52267         of source and destination.
52268         (test_strncat): Likewise.
52269
52270 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52271
52272         [BZ #12852]
52273         * posix/glob.c (glob): Check passed in values before using them in
52274         expressions to avoid some overflows.
52275         (glob_in_dir): Likewise.
52276
52277         [BZ #13007]
52278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52279         check for AVX enablement so that we don't crash with old kernels and
52280         new hardware.
52281         * elf/tst-audit4.c: Add same checks here.
52282         * elf/tst-audit6.c: Likewise.
52283
52284         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52285
52286 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52287
52288         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52289
52290 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52291
52292         * po/cs.po: Update from translation team.
52293         * po/bg.po: Likewise.
52294
52295 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52296
52297         * misc/sys/cdefs.h: Add support for const attribute.
52298         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52299         to gnu_dev_{major,minor,makedev} functions.
52300
52301 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52302
52303         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52304
52305 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52306
52307         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52308         strlen results.
52309
52310 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52311
52312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52313         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52314         register in order to avoid conflicts with the soft frame pointer
52315         being held in r11 when necessary.
52316         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52317         (INTERNAL_VSYSCALL_NCS): Likewise.
52318
52319 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52320
52321         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52322         * elf/dl-fini.c (_dl_fini): Adjust caller.
52323         * elf/dl-close.c (_dl_close_worker): Likewise.
52324         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52325
52326 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52327
52328         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52329         "aux_cache->nlibs < 0".
52330
52331         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52332         in the reload-count case.
52333
52334 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52335
52336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52337         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52338         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52339         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52340         * sysdeps/x86_64/multiarch/strcat.S: New file.
52341         * sysdeps/x86_64/multiarch/strncat.S: New file.
52342         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52343         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52344         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52345         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52346         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52347         (USE_AS_STRCAT): Define.
52348         Add strcat and strncat support.
52349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52350         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52351         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52352         * string/strncat.c: Update.
52353         (USE_AS_STRNCAT): Define.
52354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52355         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52356         and i7.
52357         * sysdeps/x86_64/multiarch/init-arch.h
52358         (bit_Prefer_PMINUB_for_stringop): New.
52359         (index_Prefer_PMINUB_for_stringop): Likewise.
52360         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52361         bit_Prefer_PMINUB_for_stringop.
52362
52363 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52364
52365         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52366         buffer64.
52367         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52368         of casting of buffer.
52369         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52370         buffer32 and buffer64.
52371         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52372         writes instead of casting of buffer.
52373         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52374         buffer32.
52375         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52376         casting of buffer.
52377
52378 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52379
52380         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52381
52382 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52383
52384         * nscd/nscd.c (termination_handler): Don't do anything for a database
52385         if it has not yet been initialized.
52386
52387 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52388
52389         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52390
52391 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52392
52393         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52394
52395 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52396
52397         * po/nl.po: Update from translation team.
52398         * po/sv.po: Likewise.
52399
52400 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52401
52402         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52403         now disallowed by GCC.
52404
52405         * configure.in (use-default-link): Default to yes if a test -shared
52406         link meets our qualifications.
52407         * configure: Regenerated.
52408
52409         * config.make.in (output-format): New variable.
52410         * configure.in: Check for ld --print-output-format support.
52411         * configure: Regenerated.
52412         * Makerules ($(common-objpfx)format.lds)
52413         [$(output-format) != unknown]: Just use $(output-format),
52414         instead of the linker-script munging.
52415
52416 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52417
52418         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52419         of $(common-objpfx)shlib.lds.
52420         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52421
52422         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52423         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52424
52425         * configure.in (-z relro check): Adjust test code to add a large
52426         writable data section after it.
52427         * configure: Regenerated.
52428
52429 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52430
52431         * configure.in (-z relro check): Fix test code to make the variable
52432         truly const.
52433         * configure: Regenerated.
52434
52435 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52436
52437         * nscd/nscd.h (struct traced_file): Define.
52438         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52439         elements.  Add traced_files.
52440         (inotify_fd): Declare.
52441         (register_traced_file): Declare.
52442         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52443         (inotify_fd): Export.
52444         (resolv_conf_descr): Remove.
52445         (nscd_init): Move inotify descriptor creation to main.
52446         Don't register files for notification here.
52447         (register_traced_file): New function.
52448         (invalidate_cache): Don't use reset_res to determine whether to call
52449         res_init, go through the list of registered files.
52450         (main_loop_poll): The inotify descriptors are now stored in the
52451         structures for the traced files.
52452         (main_loop_epoll): Likewise
52453         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52454         to __nss_disable_nscd.
52455         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52456         for a database anymore.  Check the records for all the registered
52457         files instead.
52458         * nss/Makefile (libnss_files-routines): Add files-init.
52459         (libnss_db-routines): Add db-init.
52460         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52461         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52462         * nss/nss_db/db-init.c: New file.
52463         * nss/nss_files/files-init.c: New file.
52464         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52465         __nss_lookup_function.
52466         (__nss_lookup_function): Call nss_load_library.
52467         (nss_load_all_libraries): New function.
52468         (__nss_disable_nscd): Take parameter with callback function for files
52469         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52470         used for the cached services.
52471         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52472         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52473         options for features to all the files in nscd.
52474
52475         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52476
52477 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52478
52479         * csu/elf-init.c (__libc_csu_init): Comment typo.
52480
52481 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52482
52483         * po/pl.po: Update from translation team.
52484         * po/ja.po: Likewise.
52485         * po/ru.po: Likewise.
52486         * po/ko.po: Likewise.
52487         * po/fr.po: Likewise.
52488
52489 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52490
52491         * configure.in (.ctors/.dtors header and trailer check):
52492         Use an empirical test on a built program.
52493         * configure: Regenerated.
52494
52495         * configure.in (-z relro check): Use an empirical test on a built DSO.
52496         Detect, but do not require, on ia64.
52497         * configure: Regenerated.
52498
52499         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52500         Update tests that use readelf to use $READELF instead.
52501         * configure: Regenerated.
52502
52503 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52504
52505         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52506         if the result is not used.
52507
52508 2011-07-05  Andreas Jaeger  <aj@suse.de>
52509
52510         [BZ#9696]
52511         * stdlib/tst-strtod.c: Add testcase.
52512
52513 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52514
52515         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52516         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52517         The latter has a higher limit.  Take additional parameter to pass to
52518         the new function.
52519         (__pathconf): Pass file to __statfs_link_max.
52520         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52521         __statfs_link_max.
52522         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52523         __statfs_link_max.
52524
52525         [BZ #12868]
52526         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52527         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52528         Handle Lustre.
52529         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52530         (__statfs_filesize_max): Likewise.
52531         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52532
52533 2011-07-05  Andreas Jaeger  <aj@suse.de>
52534
52535         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52536
52537 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52538
52539         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52540         `status' variable.
52541         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52542         Likewise.
52543
52544 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52545
52546         * Makefile (strop-tests): Add strncat.
52547         * string/test-strncat.c: New file.
52548
52549 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52550
52551         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52552
52553 2011-06-21  Andreas Jaeger  <aj@suse.de>
52554
52555         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52556         Copy rule from iconvdata/Makefile.
52557
52558 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52559
52560         [BZ #12922]
52561         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52562         but no long options are defined, just return 'W'.
52563
52564 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52565
52566         [BZ #9696]
52567         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52568
52569 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52570
52571         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52572         netgroups to read.
52573         (innetgr): Likewise.
52574
52575 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52576
52577         * config.make.in (install_root): Default to $(DESTDIR).
52578
52579 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52580
52581         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52582
52583 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52584
52585         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52586
52587         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52588         containing directory rather than embedding absolute directory names.
52589
52590         * scripts/check-local-headers.sh: Rewritten using awk.
52591         Match by word, not by line.  Print error messages for matches.
52592         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52593
52594         * Makerules [shlib-lds-flags empty]:
52595         ($(common-objpfx)libc_pic.opts): New target.
52596         ($(common-objpfx)libc_pic.os.clean): New target.
52597         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52598
52599         * config.make.in (OBJCOPY): New variable.
52600         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52601         * configure: Regenerated.
52602
52603         * config.make.in (use-default-link): New variable.
52604         * configure.in (use_default_link): Grok --with-default-link to set it.
52605         * configure: Regenerated.
52606         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52607         (shlib-lds, shlib-lds-flags): Define to empty.
52608
52609         * Makerules (shlib-lds): New variable.
52610         (shlib-lds-flags): New variable.
52611         (build-shlib, build-moduile, build-module-asneeded): Use it.
52612         ($(common-objpfx)libc.so): Use $(shlib-lds).
52613         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52614         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52615
52616         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52617         DT_FLAGS/DT_FLAGS_1 with zero flags.
52618
52619         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52620         linker script munging.
52621
52622 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52623
52624         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52625         as 128-bit value.
52626         * crypt/sha512.c (sha512_process_block): Perform total addition using
52627         128-bit if possible.
52628         (__sha512_finish_ctx): Likewise.
52629         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52630         as 64-bit value.
52631         * crypt/sha256.c (SWAP64): Define.
52632         (sha256_process_block): Perform total addition using 64-bit if
52633         possible.
52634         (__sha256_finish_ctx): Likewise.
52635
52636 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52637
52638         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52639         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52640         * nscd/hstcache.c (cache_addhst): Likewise.
52641         * nscd/grpcache.c (cache_addgr): Likewise.
52642         * nscd/aicache.c (addhstaiX): Likewise
52643         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52644
52645 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52646
52647         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52648         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52649         * nscd/hstcache.c (cache_addhst): Likewise.
52650         * nscd/grpcache.c (cache_addgr): Likewise.
52651         * nscd/aicache.c (addhstaiX): Likewise
52652
52653 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52654
52655         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52656         domain only when needed.
52657
52658 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52659
52660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52661         is always restored.
52662
52663 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52664
52665         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52666         are re-adding the entry.
52667         * nscd/servicescache.c (cache_addserv): Likewise.
52668
52669 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52670
52671         * sysdeps/generic/dl-irel.h: fix protection against multiple
52672         inclusions.
52673         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52674
52675 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52676
52677         [BZ #12935]
52678         * malloc/memusage.sh: Fix quoting in message.
52679         * debug/xtrace.sh: Likewise.
52680
52681         * configure.in: Remove support for --experimental-malloc option, make
52682         it the default.
52683         * config.make.in: Likewise.
52684         * malloc/Makefile: Likewise.
52685
52686 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52687
52688         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52689         two-byte characters.
52690
52691 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52692
52693         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52694         AC_CACHE_CHECK invocation.
52695         * configure: Regenerated.
52696
52697         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52698
52699 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52700
52701         [BZ #12350]
52702         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52703         bit from old_res_options.
52704
52705         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52706
52707         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52708         value type for setfct.
52709
52710 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52711
52712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52713         __gettimeofday instead of gettimeofday.
52714
52715 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52716
52717         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52718
52719 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52720
52721         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52722
52723         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52724         info.
52725
52726 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52727
52728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52729         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52730         strcpy-sse2-unaligned strncpy-sse2-unaligned
52731         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52732         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52733         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52734         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52735         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52736         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52737         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52738         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52739         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52740         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52741         (STRCPY): Support SSE2 and SSSE3 versions.
52742
52743 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52744
52745         [BZ #12874]
52746         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52747         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52748         kernels which artificially limit size of requests.
52749
52750 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52751
52752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52753         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52754         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52755         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52756         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52757         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52758         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52759         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52760         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52761         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52762         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52763         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52764         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52765         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52766         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52768         Enable unaligned load optimization for Intel Core i3, i5 and i7
52769         processors.
52770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52771         Define.
52772         (index_Fast_Unaligned_Load): Define.
52773         (HAS_FAST_UNALIGNED_LOAD): Define.
52774
52775 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52776
52777         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52778
52779 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52780
52781         [BZ #12907]
52782         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52783         until it is clear that the information is realy needed.
52784         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52785
52786 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52787
52788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52789
52790 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52791
52792         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52793         /sys/devices/system/cpu/online if it is usable.
52794
52795         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52796         reading the information from the /proc filesystem to once a second.
52797
52798 2011-06-21  Andreas Jaeger  <aj@suse.de>
52799
52800         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52801         NULL after inclusion of kernel headers.
52802
52803 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52804
52805         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52806         calls to internal_setent.
52807
52808         [BZ #12885]
52809         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52810         addresses using gethostbyname4_r ignore IPv4 addresses.
52811
52812         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52813         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52814
52815         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52816
52817 2011-06-20  David S. Miller  <davem@davemloft.net>
52818
52819         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52820         inclusions.
52821         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52822
52823         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52824         (elf_irel): Use it.
52825         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52826         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52827         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52828         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52829         * sysdeps/x86_64/dl-irel.h: Likewise.
52830
52831         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52832         * elf/dl-sym.c: Likewise.
52833
52834 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52835
52836         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52837         need to dereference resplen2.
52838
52839 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52840
52841         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52842
52843 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52844
52845         * Makeconfig: Define vardbdir and inst_vardbdir.
52846         * nss/Makefile: Add rules to install db-Makefile.
52847
52848         * nss/nss_db/db-XXX.c: Cleanup.
52849
52850         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52851         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52852         GLIBC_PRIVATE.
52853         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52854         * nss/makedb.c: Implement -g option to specify that value strings
52855         are generated and should not be added to table iterated over for
52856         get*ent calls.
52857         * nss/nss_db/db-initgroups.c: New file.
52858
52859         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52860         interface.
52861
52862         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52863         (internal_getgrouplist): Adjust to name change.
52864         Update use_initgroups_entry if this is not the first call.
52865         * nss/databases.def: Add initgroups entry.
52866
52867         * nss/makedb.c (compute_tables): Check result of multiple hash table
52868         sizes to minimize maximum chain length.
52869
52870 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52871
52872         * Versions.def: Add entry for libnss_db.
52873         * shlib-versions: Likewise.
52874         * nss/Makefile: Add rules to build libnss_db.
52875         * nss/Versions: Add libnss_db information.  Organize libnss_files
52876         entries better.
52877         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52878         makedb progra.  Some minor improvements to generate smaller files.
52879         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52880         here from...
52881         * nss/makedb.c: ...here.
52882         Improve database format to be smaller and require less memory at
52883         runtime.
52884         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52885         db anymore.
52886         * nss/nss_db/db-netgrp.c: Likewise.
52887         * nss/nss_db/db-open.c: Likewise.
52888         * nss/nss_files/flies-XXX.x: Adjust comments.
52889         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52890         * nss/nss_files/files-grp.c: Likewise.
52891         * nss/nss_files/files-hosts.c: Likewise.
52892         * nss/nss_files/files-network.c: Likewise.
52893         * nss/nss_files/files-proto.c: Likewise.
52894         * nss/nss_files/files-pwd.c: Likewise.
52895         * nss/nss_files/files-rpc.c: Likewise.
52896         * nss/nss_files/files-service.c: Likewise.
52897         * nss/nss_files/files-sgrp.c: Likewise.
52898         * nss/nss_files/files-spwd.c: Likewise.
52899         * nss/nss_db/db-alias.c: Removed.
52900         * nss/nss_db/dummy-db.h: Removed.
52901
52902 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52903
52904         * nss/makedb.c: Rewritten to not use database library.
52905         * nss/Makefile: Update to build new makedb program.
52906
52907 2011-06-14  Andreas Jaeger  <aj@suse.de>
52908
52909         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52910         memset declaration.
52911
52912 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52913
52914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52915         tmpbuf.
52916
52917 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52918
52919         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52920         * elf/Makefile ($(objpfx)ld.so): Likewise.
52921
52922         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52923         Don't list ld.so twice in dependencies.
52924
52925         * posix/bug-regex31.c: Include <stdlib.h>.
52926
52927         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52928
52929         * nis/nss_compat/compat-spwd.c
52930         (getspent_next_nss_netgr): Remove unused variable.
52931         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52932
52933         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52934         nonmembers" output to use the right array.
52935
52936         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52937
52938         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52939
52940         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52941         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52942         * catgets/gencat.c (read_input_file): Likewise.
52943         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52944
52945         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52946         variable definition inside #if's controlling its use.
52947
52948         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52949
52950         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52951
52952         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52953
52954         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52955         unreachable code.
52956
52957         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52958
52959         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52960         * configure: Regenerated.
52961
52962         * Makerules: Revert last change.
52963         * elf/Makefile: Likewise.
52964
52965 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52966
52967         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52968         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52969         (reloc-link): Likewise.
52970
52971 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52972
52973         * elf/Makefile: Add rules to build pldd.
52974         * elf/pldd.c: New file.
52975         * elf/pldd-xx.c: New file.
52976
52977 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52978
52979         * version.h: Update for 2.15 development version.
52980
52981 2011-06-07  David S. Miller  <davem@davemloft.net>
52982
52983         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52984         ifuncs.
52985         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52986         elf_machine_lazy_rel): Likewise.
52987         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52988         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52989         elf_machine_lazy_rel): Likewise.
52990         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52991         dl_hwcap via passed in argument.
52992         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52993         Likewise.
52994
52995 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52996
52997         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52998
52999 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53000
53001         [BZ #12849]
53002         * manual/fdl-1.1.texi: New file, verbatim from:
53003         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53004         * manual/lgpl-2.1.texi: New file, verbatim from:
53005         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53006         * manual/Makefile (licenses): New variable, list those new file names.
53007         (texis): Use it.
53008         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53009
53010         * manual/fdl.texi: File removed.
53011         * manual/lesser.texi: File removed.
53012         * manual/libc.texinfo (Copying, Documentation License):
53013         Use new @include file names, put @appendix directive before @include.
53014
53015 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53016
53017         [BZ #12841]
53018         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53019         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53020         (mq_open): Add __NTH.
53021
53022 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53023
53024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53025         Assume Intel Core i3/i5/i7 processor if AVX is available.
53026
53027 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53028
53029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53030         typo.
53031
53032 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53033
53034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53035         memory.  Use alloca_account.  Fix memory leak when retrying.
53036
53037 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53038
53039         * version.h (RELEASE): Bump for 2.14 release.
53040         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53041
53042         * config.make.in (RANLIB): Remove entry.
53043
53044 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53045
53046         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53047         (libc.pot): Work around missing support for .ksh extension in xgettext.
53048
53049         [BZ #12684]
53050         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53051         if both request failed.
53052         (send_dg): In case of server errors clear resplen or *resplen2.
53053
53054         [BZ #12454]
53055         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53056         when there are multiple maps.
53057         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53058         (_dl_fini): Remove test here.
53059
53060         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53061
53062 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53063
53064         [BZ #12350]
53065         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53066         bit from old_res_options.
53067         (gaih_inet): Likewise.
53068
53069         [BZ #11099]
53070         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53071         as signed.
53072
53073         * resolv/res_init.c (res_setoptions): Make the code more compact.
53074
53075         [BZ #11558]
53076         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53077         set RES_USEVC.
53078
53079         [BZ #11634]
53080         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53081
53082         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53083
53084         [BZ #11781]
53085         * malloc/malloc.h: Declare malloc hook variables as volatile.
53086
53087         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53088         in last patch.
53089
53090         [BZ #11799]
53091         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53092         raise in the comment.
53093         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53094         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53095         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53096
53097 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53098
53099         [BZ #12811]
53100         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53101         grow the buffers more if it already has to be sufficient.
53102         (build_wcs_upper_buffer): Likewise.
53103         * posix/regexec.c (check_matching): Likewise.
53104         (clean_state_log_if_needed): Likewise.
53105         (extend_buffers): Don't enlarge buffers beyond size of the input
53106         buffer.
53107         Patches mostly by Emil Wojak <emil@wojak.eu>.
53108         * posix/bug-regex32.c: New file.
53109         * posix/Makefile (tests): Add bug-regex32.
53110
53111         * locale/findlocale.c (_nl_find_locale): Return right away if
53112         _nl_explode_name failed.
53113         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53114
53115         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53116
53117         * debug/xtrace.sh: Unify messages.
53118         * malloc/memusage.sh: Likewise.
53119
53120         [BZ #12813]
53121         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53122         time symbol from vDSO.  Substitute with vsyscall if not available.
53123         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53124         __vdso_time.
53125
53126         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53127         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53128         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53129         Add sendmmsg and internal_sendmmsg.
53130         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53131         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53132         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53133
53134         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53135         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53136         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53137
53138 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53139
53140         [BZ #12813]
53141         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53142         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53143         available.
53144         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53145         __vdso_getcpu.
53146
53147         [BZ #12814]
53148         * iconvdata/Makefile (tests): Add bug-iconv9.
53149         * iconvdata/bug-iconv9.c: New file.
53150
53151 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53152
53153         [BZ #12814]
53154         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53155
53156 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53157
53158         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53159         (struct user_regs_struct): Change intcs field back to cs.
53160
53161 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53162
53163         * po/ja.po: Update from translation team.
53164
53165 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53166
53167         [BZ #12795]
53168         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53169         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53170
53171 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53172
53173         * stdlib/longlong.h: Update from GCC.
53174
53175 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53176
53177         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53178         parameter name.
53179         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53180         Add parameter name.
53181         (__sysconf): Pass it down.
53182
53183 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53184
53185         [BZ #12671]
53186         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53187         some situations.
53188         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53189         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53190         add in in __libc_use_alloca calls.  Adjust callers.
53191         (glob): Use malloc in some situations.
53192
53193         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53194         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53195         pltexit.
53196
53197 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53198
53199         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53200         and CLOCK_BOOTTIME_ALARM.
53201
53202         [BZ #12782]
53203         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53204         is returned.
53205
53206         * string/_strerror.c (__strerror_r): Print negative errors as signed
53207         numbers.
53208
53209         [BZ #12777]
53210         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53211         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53212         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53213
53214         * configure.in: Fix typo in redirection and correct removal of test
53215         files in two cases.
53216
53217         [BZ #12788]
53218         * locale/setlocale.c (new_composite_name): Fix test to check for
53219         identical name of all categories.
53220
53221         [BZ #12792]
53222         * libio/filedoalloc.c (local_isatty): New function.
53223         (_IO_file_doallocate): Use local_isatty.
53224         * stdio-common/perror.c (perror): In case a new stream is used
53225         forward the stream error.
53226         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53227         error flag.
53228
53229 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53230
53231         [BZ #11869]
53232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53233         alloca.
53234         * include/alloca.h (extend_alloca_account): Define.
53235
53236         [BZ #11857]
53237         * posix/regex.h: Fix comments with documentation of user-accessible
53238         fields after compilation and describe correct free'ing of pattern
53239         after re_compile_pattern.
53240         Patch by Reuben Thomas <rrt@sc3d.org>.
53241
53242 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53243
53244         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53245         and -mno-altivec to prevent the compiler from using Altivec and/or
53246         VSX instructions when the corresponding registers are not available.
53247
53248 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53249
53250         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53251
53252 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53253
53254         * libio/freopen.c (freopen): Use __dup2, not dup2.
53255         * libio/freopen64.c (freopen64): Likewise.
53256
53257 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53258
53259         [BZ #12775]
53260         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53261         * math/Makefile (tests): Add test-powl.
53262         (CFLAGS-test-powl.c): Define.
53263         * math/test-powl.c: New file.
53264
53265 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53266
53267         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53268
53269 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53270
53271         [BZ #11837]
53272         * iconvdata/gb18030.c: Update to GB18020-2005.
53273
53274 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53275
53276         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53277         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53278         Patch by Aharon Robbins <arnold@skeeve.com>.
53279
53280         [BZ #11892]
53281         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53282         on the stack.
53283
53284         [BZ #11895]
53285         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53286         through underflows.
53287
53288         [BZ #12766]
53289         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53290         point to strings before performing equality test for error_one_per_line
53291         mode.
53292
53293         [BZ #11697]
53294         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53295
53296         [BZ #11820]
53297         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53298         (struct user_fpregs_struct): Avoid __uint*_t types.
53299
53300         [BZ #6420]
53301         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53302         symbol info.  Use it instead of calling _dl_addr locally.
53303         (lock_and_info): New function.
53304         (tr_freehook): Call lock_and_info and pass symbol info as additional
53305         parameter to tr_where.
53306         (tr_mallochook): Likewise.
53307         (tr_reallochook): Likewise.
53308         (tr_memalignhook): Likewise.
53309
53310         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53311         used and couldn't be at all thread-safe.
53312
53313 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53314
53315         * libio/freopen.c (freopen): Don't close old file descriptor
53316         before the new one is opened.  Instead dup the new file descriptor
53317         to the old one after the new stream is created.
53318         * libio/freopen64.c (freopen64): Likewise.
53319         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53320         * libio/fileops.c (_IO_new_file_close_it): Handle new
53321         _IO_FLAGS2_NOCLOSE flag.
53322         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53323         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53324         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53325         _IO_FLAGS2_NOCLOSE flag.
53326         * include/unistd.h: Add hidden_proto for dup3.
53327         Define __have_dup3.
53328         * io/dup3.c: Define hidden symbol.
53329         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53330
53331         [BZ #7101]
53332         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53333         when an incomplete long option is used.
53334         * posix/tst-getopt_long1.c: New file.
53335         * posix/Makefile (tests): Add tst-getopt_long1.
53336
53337         [BZ #10138]
53338         * scripts/config.guess: Update from autoconf-2.68.
53339         * scripts/config.sub: Likewise.
53340
53341         [BZ #10157]
53342         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53343         tests into ...
53344         (has_cpuclock): ...this.  New function.
53345         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53346         macro here based on has_cpuclock code.
53347
53348         [BZ #10149]
53349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53350         First byte (not low byte) is now always NUL.
53351         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53352
53353         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53354         Use non-cancelable interfaces.
53355
53356         [BZ #9809]
53357         * locale/iso-639.def: Add entry for Sorani.
53358
53359         [BZ #11901]
53360         * include/stdlib.h: Move include protection to the right place.
53361         Define abort_msg_s.  Declare __abort_msg with it.
53362         * stdlib/abort.c (__abort_msg): Adjust type.
53363         * assert/assert.c (__assert_fail_base): New function.  Majority
53364         of code from __assert_fail.  Allocate memory for __abort_msg with
53365         mmap.
53366         (__assert_fail): Now call __assert_fail_base.
53367         * assert/assert-perr.c: Remove bulk of implementation.  Use
53368         __assert_fail_base.
53369         * include/assert.hL Declare __assert_fail_base.
53370         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53371         mmap.
53372         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53373
53374 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53375
53376         [BZ #11952]
53377         [BZ #12453]
53378         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53379         until all modules are registered in the DTV.
53380         * elf/Makefile: Add rules to build and run tst-tls19.
53381         * elf/tst-tls19.c: New file.
53382         * elf/tst-tls19mod1.c: New file.
53383         * elf/tst-tls19mod2.c: New file.
53384         * elf/tst-tls19mod3.c: New file.
53385         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53386
53387         [BZ #12083]
53388         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53389         correctly.
53390
53391         [BZ #12601]
53392         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53393         two-byte sequence errors.
53394         * iconvdata/Makefile (tests): Add bug-iconv8.
53395         * iconvdata/bug-iconv8.c: New file.
53396
53397         [BZ #12626]
53398         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53399         buf2 definition.
53400
53401         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53402
53403         [BZ #12432]
53404         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53405         (dummy_getcfa): New function.
53406         (init): Get _Unwind_GetCFA address, use dummy if not found.
53407         (backtrace_helper): In recursion check, also check whether CFA changes.
53408         (__backtrace): Completely initialize arg.
53409
53410         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53411         storing incomplete byte sequence in state object.  Avoid testing for
53412         guaranteed too small input if we know there is enough data available.
53413
53414 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53415
53416         * Makeconfig (+link-pie): Indent.
53417         * Rules (binaries-pie): Define if $(have-fpie) and
53418         $(build-shared).
53419         (binaries-shared): Also filter out $(binaries-pie).
53420         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53421         * nscd/Makefile (others-pie): Add nscd.
53422         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53423         ($(objpfx)nscd): Remove command override.
53424         * login/Makefile (others-pie): Add pt_chown.
53425         ($(objpfx)pt_chown): Remove command override.
53426         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53427         remove command overrides.
53428
53429 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53430
53431         * libio/tst_putwc.c: Fix error messages.
53432
53433         [BZ #12724]
53434         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53435         currently writing and seek to current position when not.
53436         * libio/Makefile (tests): Add bug-fclose1.
53437         * libio/bug-fclose1.c: New file.
53438
53439 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53440
53441         [BZ #12511]
53442         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53443         don't set DF_1_NODELETE here.
53444         (do_lookup_x): When entering new entry test for copy relocation
53445         and if necessary set DF_1_NODELETE flag.
53446         * elf/tst-unique4.cc: New file.
53447         * elf/tst-unique4.h: New file.
53448         * elf/tst-unique4lib.cc: New file.
53449         * elf/Makefile: Add rules to build and run tst-unique4.
53450         Patch by Piotr Bury <pbury@goahead.com>.
53451
53452 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53453
53454         [BZ #12052]
53455         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53456
53457         [BZ #12625]
53458         * misc/mntent_r.c (addmntent): Flush the stream after the output
53459
53460         [BZ #12393]
53461         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53462         (is_trusted_path_normalize): Skip initial colon.  Append slash
53463         to empty buffer.  Duplicate is_trusted_path code but allow
53464         constructed patch to be prefix.
53465         (is_dst): Allow $ORIGIN followed by /.
53466         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53467         Correct testing of result of is_trusted_path_normalize
53468         (decompose_rpath): Fix warning.
53469
53470 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53471
53472         [BZ #11257]
53473         * grp/initgroups.c (internal_getgrouplist): When we found the service
53474         list through the initgroups entry in nsswitch.conf do not always
53475         continue on a successful lookup.  Don't always use the
53476         __nss_group_database value if it is set.
53477         * nss/nsswitch.conf (initgroups): Change action for successful db
53478         lookup to continue for compatibility.
53479
53480 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53481
53482         [BZ #11532]
53483         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53484         and CP774 modules.
53485         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53486         and CP774 modules.
53487         * iconvdata/tst-tables.sh: Likewise.
53488         * iconvdata/cp770.c: New file.
53489         * iconvdata/cp771.c: New file.
53490         * iconvdata/cp772.c: New file.
53491         * iconvdata/cp773.c: New file.
53492         * iconvdata/cp774.c: New file.
53493         * iconvdata/testdata/CP770: New file.
53494         * iconvdata/testdata/CP770..UTF8: New file.
53495         * iconvdata/testdata/CP771: New file.
53496         * iconvdata/testdata/CP771..UTF8: New file.
53497         * iconvdata/testdata/CP772: New file.
53498         * iconvdata/testdata/CP772..UTF8: New file.
53499         * iconvdata/testdata/CP773: New file.
53500         * iconvdata/testdata/CP773..UTF8: New file.
53501         * iconvdata/testdata/CP774: New file.
53502         * iconvdata/testdata/CP774..UTF8: New file.
53503
53504         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53505         END CHARMAP line.
53506         * iconvdata/gen-8bit-gap.sh: Likewise.
53507         * iconvdata/gen-8bit.sh: Likewise.
53508
53509         * locale/iso-639.def: Add ary entry.
53510
53511         [BZ #11258]
53512         * locale/C-translit.h.in: Add U20A1 transliteration.
53513
53514         [BZ #12178]
53515         * locale/iso-639.def: Add wae entry.
53516         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53517
53518         [BZ #12545]
53519         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53520         for n.
53521
53522         [BZ #12711]
53523         * locale/C-translit.h.in: Add entry for U20B9.
53524         Patch by pravin.d.s@gmail.com.
53525
53526 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53527
53528         [BZ #12713]
53529         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53530         ENAMETOOLONG use generic getcwd.
53531         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53532         in rtld.  Use *stat64.
53533         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53534         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53535         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53536         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53537         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53538         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53539         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53540         __fstatat64 macros.
53541         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53542         * dirent/rewinddir.c: Add libc_hidden_def.
53543         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53544         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53545
53546         * include/dirent.h (__alloc_dir): Add flags parameter.
53547         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53548         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53549         __alloc_dir.
53550         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53551         from fdopendir if O_CLOEXEC is already set.
53552
53553 2011-03-15  Alan Modra  <amodra@gmail.com>
53554
53555         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53556         l_tls_firstbyte_offset non-zero.  Save padding offset in
53557         l_tls_firstbyte_offset for later use.
53558         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53559         freeing static tls block.
53560
53561 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53562
53563         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53564         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53565         being defined by the kernel headers.
53566
53567 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53568
53569         [BZ #12734]
53570         * resolv/resolv.h: Define RES_NOTLDQUERY.
53571         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53572         no-tld-query and set RES_NOTLDQUERY.
53573         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53574         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53575         modern BIND to search name as TLD unless forbidden.
53576
53577 2011-05-07  Petr Baudis  <pasky@suse.cz>
53578             Ulrich Drepper  <drepper@gmail.com>
53579
53580         [BZ #12393]
53581         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53582         (is_trusted_path): ...to here.
53583         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53584         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53585         using is_trusted_path_normalize() in setuid scripts.
53586
53587 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53588
53589         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53590         __BEGIN/__END_DECLS.
53591
53592 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53593
53594         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53595         NSS_STATUS_NOTFOUND if no record was found.
53596
53597 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53598
53599         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53600         (headers-not-in-tirpc): Remove rpc/netdb.h
53601         * resolv/netdb.h: Revert last change.
53602
53603 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53604
53605         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53606         circular dependency between libgcc.a and libc.a.
53607
53608 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53609
53610         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53611         * nis/Makefile: Don't install rpcsvc/*.
53612         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53613         instead of <rpc/types.h>.
53614         (MAXHOSTNAMELEN): Define.
53615
53616 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53617
53618         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53619
53620 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53621
53622         [BZ #12714]
53623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53624         gethostbyname4_r when IPv6 results are possible.
53625
53626 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53627
53628         [BZ #12723]
53629         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53630         _PC_PIPE_BUF handling.
53631
53632 2011-04-30  Bruno Haible  <bruno@clisp.org>
53633
53634         [BZ #12717]
53635         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53636         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53637         to 'int'.
53638         * inet/getnameinfo.c (getnameinfo): Likewise.
53639
53640 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53641
53642         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53643         to groups setting in database lookup.
53644         * nss/nsswitch.conf: Add initgroups entry.
53645
53646 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53647
53648         [BZ #12685]
53649         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53650         mode string.
53651         Patch by Eric Blake <eblake@redhat.com>.
53652
53653 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53654
53655         * sunrpc/Makefile (need-export-routines): Add svc_run.
53656         (routines): Remove svc_run.
53657         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53658         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53659         * sunrpc/svc_run.c (svc_run): Likewise.
53660         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53661
53662 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53663
53664         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53665         problem in reallocation in last patch.
53666
53667 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53668
53669         * sunrpc/Makefile: Move inclusion of Rules.
53670
53671 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53672
53673         * nss/nss_files/files-initgroups.c: New file.
53674         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53675         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53676         _nss_files_initgroups_dyn.
53677
53678 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53679
53680         * elf/elf.h (R_ARM_IRELATIVE): Define.
53681
53682 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53683
53684         * po/ru.po: Update from translation team.
53685
53686 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53687
53688         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53689         dependencies.
53690
53691 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53692
53693         [BZ #12653]
53694         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53695         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53696         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53697         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53699
53700 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53701
53702         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53703         differing bytes.
53704         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53705         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53706         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53707
53708 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53709
53710         [BZ #12420]
53711         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53712         storing it.
53713         * stdlib/bug-getcontext.c: New file.
53714         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53715
53716 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53717
53718         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53719         instructions into .machine "z9-109".
53720         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53721         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53722
53723 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53724
53725         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53726         between environment variables and auxiliary vector.
53727
53728 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53729
53730         * Makefile: Add rules to build linkobj/libc.so.
53731         * include/libc-symbols.h: Define libc_hidden_nolink.
53732         * include/rpc/auth.h: Mark functions which are to be hidden.
53733         * include/rpc/auth_des.h: Likewise.
53734         * include/rpc/auth_unix.h: Likewise.
53735         * include/rpc/clnt.h: Likewise.
53736         * include/rpc/des_crypt.h: Likewise.
53737         * include/rpc/key_prot.h: Likewise.
53738         * include/rpc/pmap_clnt.h: Likewise.
53739         * include/rpc/pmap_prot.h: Likewise.
53740         * include/rpc/pmap_rmt.h: Likewise.
53741         * include/rpc/rpc_msg.h: Likewise.
53742         * include/rpc/svc.h: Likewise.
53743         * include/rpc/svc_auth.h: Likewise.
53744         * include/rpc/xdr.h: Likewise.
53745         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53746         * nss/Makefile: Likewise.
53747         * sunrpc/Makefile: Don't install headers.  Build library with normal
53748         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53749         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53750         for the compat linking library.  Remove use of INTDEF/INTUSE.
53751         * sunrpc/auth_none.c: Likewise.
53752         * sunrpc/auth_unix.c: Likewise.
53753         * sunrpc/authdes_prot.c: Likewise.
53754         * sunrpc/authuxprot.c: Likewise.
53755         * sunrpc/clnt_gen.c: Likewise.
53756         * sunrpc/clnt_perr.c: Likewise.
53757         * sunrpc/clnt_raw.c: Likewise.
53758         * sunrpc/clnt_simp.c: Likewise.
53759         * sunrpc/clnt_tcp.c: Likewise.
53760         * sunrpc/clnt_udp.c: Likewise.
53761         * sunrpc/clnt_unix.c: Likewise.
53762         * sunrpc/des_crypt.c: Likewise.
53763         * sunrpc/des_soft.c: Likewise.
53764         * sunrpc/get_myaddr.c: Likewise.
53765         * sunrpc/key_call.c: Likewise.
53766         * sunrpc/key_prot.c: Likewise.
53767         * sunrpc/netname.c: Likewise.
53768         * sunrpc/pm_getmaps.c: Likewise.
53769         * sunrpc/pm_getport.c: Likewise.
53770         * sunrpc/pmap_clnt.c: Likewise.
53771         * sunrpc/pmap_prot.c: Likewise.
53772         * sunrpc/pmap_prot2.c: Likewise.
53773         * sunrpc/pmap_rmt.c: Likewise.
53774         * sunrpc/publickey.c: Likewise.
53775         * sunrpc/rpc_cmsg.c: Likewise.
53776         * sunrpc/rpc_common.c: Likewise.
53777         * sunrpc/rpc_dtable.c: Likewise.
53778         * sunrpc/rpc_prot.c: Likewise.
53779         * sunrpc/rpc_thread.c: Likewise.
53780         * sunrpc/rtime.c: Likewise.
53781         * sunrpc/svc.c: Likewise.
53782         * sunrpc/svc_auth.c: Likewise.
53783         * sunrpc/svc_authux.c: Likewise.
53784         * sunrpc/svc_raw.c: Likewise.
53785         * sunrpc/svc_run.c: Likewise.
53786         * sunrpc/svc_simple.c: Likewise.
53787         * sunrpc/svc_tcp.c: Likewise.
53788         * sunrpc/svc_udp.c: Likewise.
53789         * sunrpc/svc_unix.c: Likewise.
53790         * sunrpc/svcauth_des.c: Likewise.
53791         * sunrpc/xcrypt.c: Likewise.
53792         * sunrpc/xdr.c: Likewise.
53793         * sunrpc/xdr_array.c: Likewise.
53794         * sunrpc/xdr_float.c: Likewise.
53795         * sunrpc/xdr_intXX_t.c: Likewise.
53796         * sunrpc/xdr_mem.c: Likewise.
53797         * sunrpc/xdr_rec.c: Likewise.
53798         * sunrpc/xdr_ref.c: Likewise.
53799         * sunrpc/xdr_sizeof.c: Likewise.
53800         * sunrpc/xdr_stdio.c: Likewise.
53801
53802 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53803
53804         [BZ #12650]
53805         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53806         * sysdeps/ia64/dl-tls.h: Likewise.
53807         * sysdeps/powerpc/dl-tls.h: Likewise.
53808         * sysdeps/s390/dl-tls.h: Likewise.
53809         * sysdeps/sh/dl-tls.h: Likewise.
53810         * sysdeps/sparc/dl-tls.h: Likewise.
53811         * sysdeps/x86_64/dl-tls.h: Likewise.
53812         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53813
53814 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53815
53816         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53817         rpath element also skip the following colon.
53818         (expand_dynamic_string_token): Add is_path parameter and pass
53819         down to DL_DST_REQUIRED and _dl_dst_substitute.
53820         (decompose_rpath): Call expand_dynamic_string_token with
53821         non-zero is_path.  Ignore empty rpaths.
53822         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53823         with zero is_path.
53824
53825 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53826
53827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53828         Make cancelable.
53829
53830 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53831
53832         [BZ #12655]
53833         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53834         Patch by Filipe David Manana <fdmanana@apache.org>.
53835
53836 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53837
53838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53839         Maintain aligned stack.
53840         (CHECK_RSP): Remove unused macro.
53841
53842 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53843
53844         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53845         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53846
53847 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53848
53849         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53850
53851         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53852
53853 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53854
53855         [BZ #12518]
53856         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53857         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53858         * sysdeps/x86_64/memmove.c: New file.
53859         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53860         (memcpy): Renamed to ...
53861         (__new_memcpy): This.
53862         (memcpy): Provide GLIBC_2_14 memcpy.
53863         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53864         (memcpy): Provide GLIBC_2_2_5 memcpy.
53865
53866 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53867
53868         [BZ #12631]
53869         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53870
53871 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53872
53873         * misc/syncfs.c: New file.
53874         * misc/Makefile (routines): Add syncfs.
53875         * posix/unistd.h: Declare syncfs.
53876         * sysdeps/unix/syscalls.list: Add syncfs.
53877
53878 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53879
53880         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53881         open_by_handle_at.
53882         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53883         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53885         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53887         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53888         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53889
53890 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53891
53892         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53893         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53894         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53896         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53898         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53899
53900         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53901         sync_file_range.c with -fexceptions.
53902         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53903         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53904         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53905         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53906         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53907         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53908         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53909         sync_file_range as cancellation point
53910         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53911         now a wrapper around __call_sync_file_range with cancellation handling.
53912         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53913         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53914         function name to __call_sync_file_range.
53915         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53916         Add call_sync_file_range.
53917
53918 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53919
53920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53921         bits/timex.h.
53922
53923 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53924
53925         * iconv/iconv.h: Fix typo in comment.
53926         * io/fcntl.h: Likewise.
53927         * libio/stdio.h: Likewise.
53928         * posix/spawn.h: Likewise.
53929         * posix/unistd.h: Likewise.
53930         * stdlib/stdlib.h: Likewise.
53931         * time/time.h: Likewise.
53932         * wcsmbs/wchar.h: Likewise.
53933
53934         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53935         open_by_handle): Add.
53936         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53937         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53938         Augment a few comments.
53939         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53941         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53942         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53943         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53944         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53945         open_by_handle.
53946
53947         * io/fcntl.h (AT_EMPTY_PATH): Define.
53948
53949 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53950
53951         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53952         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53953         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53954         to...
53955         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53956         * Versions.def: Add GLIBC_2.14.
53957         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53958         Export.
53959
53960 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53961
53962         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53963         round counter.
53964         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53965
53966 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53967
53968         [BZ #12597]
53969         * string/test-strncmp.c (do_page_test): New function.
53970         (check2): Likewise.
53971         (test_main): Call check2.
53972         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53973
53974 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53975
53976         [BZ #12587]
53977         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53978         Handle cache information in CPU leaf 4.
53979         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53980
53981 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53982
53983         [BZ #12583]
53984         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53985         character representation.
53986         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53987
53988 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53989
53990         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53991         END(__isnan) to END(__isnanf) to match function entry point/label
53992         EALIGN(__isnanf,...).
53993
53994 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53995
53996         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53997
53998 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53999
54000         [BZ #12510]
54001         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54002         copy from the symbol referenced in the relocation to initialize the
54003         used variable.
54004         Patch by Piotr Bury <pbury@goahead.com>.
54005         * elf/Makefile: Add rules to build and tst-unique3.
54006         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54007         * elf/tst-unique3.cc: New file.
54008         * elf/tst-unique3.h: New file.
54009         * elf/tst-unique3lib.cc: New file.
54010         * elf/tst-unique3lib2.cc: New file.
54011
54012         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54013
54014 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54015
54016         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54017         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54018         to _start.
54019
54020 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54021
54022         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54023         to-be-loaded object along a path to loader is ld.so.
54024
54025 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54026             Ulrich Drepper  <drepper@gmail.com>
54027
54028         * sysdeps/x86_64/memset.S: After aligning destination, code
54029         branches to different locations depending on the value of
54030         misalignment, when multiarch is enabled. Fix this.
54031
54032 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54033
54034         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54035         Set _x86_64_preferred_memory_instruction for AMD processsors.
54036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54037         Set bit_Prefer_SSE_for_memop for AMD processors.
54038
54039 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54040
54041         * libio/fmemopen.c (fmemopen): Optimize a bit.
54042
54043 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54044
54045         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54046
54047 2011-03-03  Roland McGrath  <roland@redhat.com>
54048
54049         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54050
54051 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54052
54053         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54054         __bzero_ultra1 instead of __memset_ultra1.
54055
54056 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54057             Ulrich Drepper  <drepper@gmail.com>
54058
54059         [BZ #12509]
54060         * include/link.h (struct link_map): Add l_orig_initfini.
54061         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54062         returning unsuccessfully.
54063         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54064         close of a file loaded at startup, restore the original l_initfini
54065         list.
54066         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54067         list, store the pointer.
54068         * elf/Makefile ($(objpfx)noload-mem): New rule.
54069         (noload-ENV): Define.
54070         (tests): Add $(objpfx)noload-mem.
54071         * elf/noload.c: Include <memcheck.h>.
54072         (main): Call mtrace.  Close all opened handles.
54073
54074 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54075
54076         [BZ #12454]
54077         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54078         dependencies are missing.
54079
54080 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54081
54082         Fix __if_freereq crash: Unlike the generic version which uses free,
54083         Hurd needs munmap.
54084         * sysdeps/mach/hurd/ifreq.h: New file.
54085
54086 2011-01-27  Petr Baudis  <pasky@suse.cz>
54087             Ulrich Drepper  <drepper@gmail.com>
54088
54089         [BZ 12445]#
54090         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54091         to extend_alloca().
54092         * stdio-common/bug23.c: New file.
54093         * stdio-common/Makefile (tests): Add bug23.
54094
54095 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54096             Ulrich Drepper  <drepper@gmail.com>
54097
54098         [BZ #12489]
54099         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54100         before performing relro protection.  At old place add assertion
54101         to make sure nothing changed.
54102
54103 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54104             Glauber de Oliveira Costa  <glommer@gmail.com>
54105
54106         * elf/elf.h: Add new ARM TLS relocs.
54107
54108 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54109
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54111         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54112         cast from r3.
54113         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54114         'tests' variable.
54115         * sysdeps/wordsize-64/tst-writev.c: New file.
54116
54117 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54118
54119         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54120         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54121         insns in _dl_start to prevent a TOC reference before relocs are
54122         resolved.
54123
54124 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54125
54126         [BZ #12469]
54127         * Makeconfig: Remove RANLIB definition.
54128         * Makerules: Don't use RANLIB.
54129         * aclocal.m4: Remove ranlib test.
54130         * configure.in: No need to check for ranlib.
54131         * elf/rtld-Rules: Don't use RANLIB.
54132
54133 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54134
54135         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54136         protection macro.
54137         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54138         inclusion protection macro.
54139
54140         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54141         SIGRTMIN and SIGRTMAX and print information in that case only when
54142         SIGRTMIN is defined.
54143
54144 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54145
54146         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54147         arginfo fn returning -1.
54148
54149         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54150         and thousands string is zero terminated.
54151
54152 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54153
54154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54155         sysdeps/unix/sysv/linux/bits/socket.h.
54156
54157 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54158
54159         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54160         (__CPU_COUNT): Remove old macros.
54161         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54162         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54163         (__CPU_ALLOC, __CPU_FREE): Add macros.
54164         (__sched_cpualloc, __sched_cpufree): Add declarations.
54165
54166 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54167
54168         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54169         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54170         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54171         (readdhstai): Return value of addhstaiX call.
54172         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54173         (addgrbyX): Return value returned by cache_addgr.
54174         (readdgrbyname): Return value returned by addgrbyX.
54175         (readdgrbygid): Likewise.
54176         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54177         (addpwbyX): Return value returned by cache_addpw.
54178         (readdpwbyname): Return value returned by addhstbyX.
54179         (readdpwbyuid): Likewise.
54180         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54181         (addservbyX): Return value returned by cache_addserv.
54182         (readdservbyname): Return value returned by addservbyX:
54183         (readdservbyport): Likewise.
54184         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54185         (addhstbyX): Return value returned by cache_addhst.
54186         (readdhstbyname): Return value returned by addhstbyX.
54187         (readdhstbyaddr): Likewise.
54188         (readdhstbynamev6): Likewise.
54189         (readdhstbyaddrv6): Likewise.
54190         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54191         (readdinitgroups): Return value returned by addinitgroupsX.
54192         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54193         (prune_cache): Keep track of timeout value of re-added entries.
54194         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54195         * nscd/nscd.h: Adjust prototypes of readd* functions.
54196
54197 2011-02-04  Roland McGrath  <roland@redhat.com>
54198
54199         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54200         (nis_stats): Likewise.
54201         * nis/nis_modify.c (nis_modify): Likewise.
54202         * nis/nis_remove.c (nis_remove): Likewise.
54203         * nis/nis_add.c (nis_add): Likewise.
54204
54205         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54206
54207         * posix/fnmatch_loop.c: Add some consts.
54208
54209         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54210
54211 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54212
54213         [BZ #12460]
54214         * config.make.in (config-cflags-novzeroupper): Define.
54215         * configure.in: Substitute libc_cv_cc_novzeroupper.
54216         * elf/Makefile (AVX-CFLAGS): Define.
54217         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54218         (CFLAGS-tst-auditmod4a.c): Likewise.
54219         (CFLAGS-tst-auditmod4b.c): Likewise.
54220         (CFLAGS-tst-auditmod6b.c): Likewise.
54221         (CFLAGS-tst-auditmod6c.c): Likewise.
54222         (CFLAGS-tst-auditmod7b.c): Likewise.
54223         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54224
54225 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54226
54227         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54228         function to the callback.
54229         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54230
54231 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54232
54233         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54234         of errno.
54235
54236 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54237
54238         [BZ #11724]
54239         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54240         of constructors.
54241         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54242         of destructors.
54243         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54244
54245         [BZ #11724]
54246         * elf/Makefile: Add rules to build and run new test.
54247         * elf/tst-initorder.c: New file.
54248         * elf/tst-initorder.exp: New file.
54249         * elf/tst-initordera1.c: New file.
54250         * elf/tst-initordera2.c: New file.
54251         * elf/tst-initordera3.c: New file.
54252         * elf/tst-initordera4.c: New file.
54253         * elf/tst-initorderb1.c: New file.
54254         * elf/tst-initorderb2.c: New file.
54255         * elf/tst-order-a1.c: New file.
54256         * elf/tst-order-a2.c: New file.
54257         * elf/tst-order-a3.c: New file.
54258         * elf/tst-order-a4.c: New file.
54259         * elf/tst-order-b1.c: New file.
54260         * elf/tst-order-b2.c: New file.
54261         * elf/tst-order-main.c: New file.
54262         New test case by George Gensure <werkt0@gmail.com>.
54263
54264 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54265
54266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54267         decoding ACE if AI_CANONIDN.
54268
54269 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54270
54271         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54272
54273 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54274
54275         * version.h (RELEASE): Bump for 2.13 release.
54276         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54277
54278         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54279
54280         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54281         MADV_NOHUGEPAGE.
54282         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54283         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54284         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54285         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54286         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54288
54289         * posix/getconf.c: Update copyright year.
54290         * catgets/gencat.c: Likewise.
54291         * csu/version.c: Likewise.
54292         * debug/catchsegv.sh: Likewise.
54293         * debug/xtrace.sh: Likewise.
54294         * elf/ldconfig.c: Likewise.
54295         * elf/ldd.bash.in: Likewise.
54296         * elf/sprof.c (print_version): Likewise.
54297         * iconv/iconv_prog.c: Likewise.
54298         * iconv/iconvconfig.c: Likewise.
54299         * locale/programs/locale.c: Likewise.
54300         * locale/programs/localedef.c: Likewise.
54301         * malloc/memusage.sh: Likewise.
54302         * malloc/mtrace.pl: Likewise.
54303         * nscd/nscd.c (print_version): Likewise.
54304         * nss/getent.c: Likewise.
54305
54306         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54307         PF_CAIF, and PF_ALG.
54308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54309
54310 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54311
54312         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54313         (modules-names): Use them.
54314         (ifunc-test-modules, ifunc-pie-tests): Define.
54315         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54316         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54317         (test-extras): Likewise.
54318         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54319         $(compile-command.c).
54320         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54321         (all-built-dso): Define.
54322         (check-textrel.out, check-execstack.out): Depend on it.
54323
54324         * configure.in: Don't override --enable-multi-arch.
54325
54326 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54327
54328         [BZ #6812]
54329         * nscd/hstcache.c (tryagain): Define.
54330         (cache_addhst): Return tryagain not notfound for temporary errors.
54331         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54332         failed.
54333
54334 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54335
54336         [BZ #10563]
54337         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54338         to make the syscall.
54339         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54340
54341         [BZ #12378]
54342         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54343         and fall back to matching as normal character if the string ends before
54344         the matching ']' is found.  This is what POSIX requires.
54345         * posix/testfnm.c: Adjust test result.
54346         * posix/globtest.sh: Adjust test result.  Add new test.
54347         * posix/tst-fnmatch.input: Likewise.
54348         * posix/tst-fnmatch2.c: Add new test.
54349
54350 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54351
54352         * elf/Makefile (check-execstack): Revert last change.  Depend on
54353         check-execstack.h.
54354         (check-execstack.h): New target.
54355         (generated): Add check-execstack.h.
54356         * elf/check-execstack.c: Include "check-execstack.h".
54357         (main): Revert last change.
54358         (handle_file): Return zero if GNU_STACK is absent and
54359         DEFAULT_STACK_PERMS doesn't include PF_X.
54360
54361 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54362
54363         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54364         in child fails because the descriptor is already closed.
54365         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54366         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54367         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54368
54369         [BZ #12397]
54370         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54371         syscall.
54372
54373         [BZ #10484]
54374         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54375         temporary buffer used to handle multi lookups locally.
54376         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54377
54378 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54379
54380         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54381         loader is ld.so.
54382
54383 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54384
54385         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54386         alignment for SSE2.
54387
54388 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54389
54390         [BZ #12394]
54391         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54392         characters.  When rounding increased number of integer digits recompute
54393         number of groups.
54394         * stdio-common/tst-grouping.c: New file.
54395         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54396
54397 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54398
54399         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54400         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54401
54402         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54403         void.
54404         * bits/select.h: Likewise.
54405
54406 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54407
54408         * po/ja.po: Update from translation team.
54409
54410 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54411
54412         [BZ #11155]
54413         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54414         implementation just like for lxstat, fxstatat, et al.
54415
54416 2010-12-27  Jim Meyering  <meyering@redhat.com>
54417
54418         [BZ #12348]
54419         * posix/regexec.c (build_trtable): Return failure indication upon
54420         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54421
54422 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54423
54424         [BZ #12201]
54425         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54426         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54427         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54428         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54429
54430         [BZ #12207]
54431         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54432
54433         [BZ #12204]
54434         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54435         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54436
54437 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54438
54439         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54440         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54441         script has SORT_BY_INIT_PRIORITY.
54442         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54443         NO_CTORS_DTORS_SECTIONS is defined.
54444         * elf/soinit.c: Likewise.
54445         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54446         NO_CTORS_DTORS_SECTIONS is defined.
54447         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54448         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54449         * sysdeps/sh/init-first.c: Likewise.
54450         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54451
54452 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54453
54454         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54455         always use the slow path.
54456
54457 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54458
54459         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54460         similar rule which adds the sysdep directories to the header search in
54461         order to pick up the correct platform stackinfo.h.
54462         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54463         perform test if it is, otherwise return successfully without testing.
54464         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54465         DEFAULT_STACK_PERMS define in stackinfo.h.
54466         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54467         defined in stackinfo.h.
54468         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54469         DEFAULT_STACK_PERMS defined in stackinfo.h.
54470         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54471         * sysdeps/ia64/stackinfo.h: Likewise.
54472         * sysdeps/s390/stackinfo.h: Likewise.
54473         * sysdeps/sh/stackinfo.h: Likewise.
54474         * sysdeps/sparc/stackinfo.h: Likewise.
54475         * sysdeps/x86_64/stackinfo.h: Likewise.
54476         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54477         PF_X for powerpc64.  Retain PF_X for powerpc32.
54478
54479 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54480
54481         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54482         accurately.
54483         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54484         GETDENTS_64BIT_ALIGNED.
54485
54486 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54487
54488         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54489
54490 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54491
54492         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54493         _GNU_SOURCE.
54494
54495         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54496         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54497         Remove __restrict.
54498         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54499         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54500
54501 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54502
54503         [BZ #11655]
54504         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54505         are initialized.
54506
54507 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54508
54509         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54510
54511 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54512
54513         * po/it.po: Update from translation team.
54514
54515 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54516
54517         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54518         unused codes.
54519
54520 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54521
54522         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54523
54524 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54525
54526         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54527         specially.
54528         (gaih_getanswer_slice): Likewise.
54529
54530 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54531
54532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54533
54534 2010-05-31  Petr Baudis  <pasky@suse.cz>
54535
54536         [BZ #11149]
54537         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54538         silently even in the chroot mode.
54539
54540 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54541
54542         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54543         last patch a bit.  Pretty printing
54544
54545 2010-05-31  Petr Baudis <pasky@suse.cz>
54546
54547         [BZ #10085]
54548         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54549         initialization of skip_initgroups_dyn.
54550
54551 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54552
54553         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54554         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54555
54556 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54557
54558         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54559
54560 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54561
54562         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54563         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54564         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54565         ($(objpfx)tst-fnmatch-mem): New rule.
54566         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54567         * posix/tst-fnmatch.c (main): Call mtrace.
54568
54569 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54570
54571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54572         Support Intel processor model 6 and model 0x2c.
54573
54574 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54575
54576         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54577           signed comparison.
54578
54579 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54580
54581         [BZ #12205]
54582         * string/test-strncasecmp.c (check_result): New function.
54583         (do_one_test): Use it.
54584         (check1): New function.
54585         (test_main): Use it.
54586         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54587         Support strcasecmp and strncasecmp.
54588
54589 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54590
54591         [BZ #12194]
54592         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54593         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54594
54595 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54596
54597         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54598         IFUNC support.
54599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54600         memset-x86-64.
54601         * sysdeps/x86_64/multiarch/bzero.S: New file.
54602         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54603         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54604         * sysdeps/x86_64/multiarch/memset.S: New file.
54605         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54607         Set bit_Prefer_SSE_for_memop for Intel processors.
54608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54609         Define.
54610         (index_Prefer_SSE_for_memop): Define.
54611         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54612
54613 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54614
54615         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54616         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54617
54618 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54619
54620         [BZ #12191]
54621         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54622         (__x86_64_raw_data_cache_size_half): Likewise.
54623         (__x86_64_raw_shared_cache_size): Likewise.
54624         (__x86_64_raw_shared_cache_size_half): Likewise.
54625
54626         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54627         (__x86_64_raw_data_cache_size_half): Likewise.
54628         (__x86_64_raw_shared_cache_size): Likewise.
54629         (__x86_64_raw_shared_cache_size_half): Likewise.
54630         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54631         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54632         and __x86_64_raw_shared_cache_size_half.  Round
54633         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54634         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54635         to multiple of 256 bytes.
54636
54637 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54638
54639         [BZ #12167]
54640         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54641         of inacessible symlinks.  Verify result of symlink before returning it.
54642         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54643         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54644
54645 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54646
54647         * math/math.h (isinf): Fix typo in comment.
54648
54649 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54650
54651         * po/da.po: Update from translation team.
54652
54653 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54654
54655         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54656         is added to the list.
54657
54658 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54659             Ulrich Drepper  <drepper@gmail.com>
54660
54661         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54662         the global list here.  Move code to...
54663         (_dl_add_to_namespace_list): ...here.  New function.
54664         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54665         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54666         * elf/dl-load.c (lose): Don't remove the element from the list.
54667         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54668         (_dl_map_object): Likewise.
54669
54670 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54671
54672         [BZ #12159]
54673         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54674         into all bytes of SSE register.
54675         Patch by Richard Li <richardpku@gmail.com>.
54676
54677 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54678
54679         [BZ #12140]
54680         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54681         perturbing.
54682
54683 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54684
54685         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54686         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54687         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54688         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54690         submachine.
54691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54692
54693 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54694
54695         * include/dlfcn.h (__RTLD_SECURE): Define.
54696         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54697         mode & __RTLD_SECURE instead.
54698         (open_path): Rename preloaded parameter to secure.
54699         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54700         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54701         * elf/dl-deps.c (openaux): Likewise.
54702         * elf/rtld.c (struct map_args): Remove is_preloaded.
54703         (map_doit): Don't use it.
54704         (dl_main): Likewise.
54705         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54706         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54707
54708 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54709
54710         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54711         (sysd-rules-targets): Remove duplicates.
54712         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54713         rtld-%.$o dependency.
54714
54715 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54716
54717         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54718         _dl_map_object do it.
54719
54720 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54721
54722         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54723         fast fma builtins, define the macros in the C99 standard.
54724         (FP_FAST_FMAF): Likewise.
54725         (FP_FAST_FMAL): Likewise.
54726         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54727
54728         * bits/mathdef.h: Update copyright year.
54729         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54730
54731 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54732
54733         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54734         builtins, define the macros in the C99 standard.
54735         (FP_FAST_FMAF): Likewise.
54736         (FP_FAST_FMAL): Likewise.
54737         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54738         multiply/add.
54739         (FP_FAST_FMAF): Likewise.
54740
54741 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54742
54743         [BZ #3268]
54744         * math/libm-test.inc (fma_test): Some new testcases.
54745         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54747         y and infinite z.  Do multiplication by C already in long double.
54748         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54749         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54750         y and infinite z.  Do bitwise or of inexact bit into u.d.
54751         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54752         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54753         * sysdeps/i386/fpu/s_fma.S: Removed.
54754         * sysdeps/i386/fpu/s_fmal.S: Removed.
54755
54756 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54757
54758         [BZ #3268]
54759         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54761         computation is not scheduled after fetestexcept.  Fix value
54762         of minimum denormal long double.
54763
54764 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54765
54766         [BZ #3268]
54767         * math/libm-test.inc (fma_test): Add some more tests.
54768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54769         correctly.
54770
54771 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54772
54773         * scripts/data/localplt-s390-linux-gnu.data: New file.
54774         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54775
54776 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54777
54778         [BZ #3268]
54779         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54780         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54781         instead of dbl-64.
54782         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54783         inlines.
54784         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54786         if one of x and y is very large and the other is subnormal.
54787         * sysdeps/s390/fpu/s_fmaf.c: New file.
54788         * sysdeps/s390/fpu/s_fma.c: New file.
54789         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54790         * sysdeps/powerpc/fpu/s_fma.S: New file.
54791         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54792         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54793         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54794
54795 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54796
54797         [BZ #3268]
54798         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54799         fma tests.
54800         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54801         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54802         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54803         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54804         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54805         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54806         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54807
54808 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54809
54810         [BZ #12078]
54811         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54812         * posix/bug-regex31.input: Add test case.
54813
54814 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54815
54816         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54817         * posix/bug-regex31.input: New file.
54818
54819         [BZ #12078]
54820         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54821         (parse_sub_exp): Fix last change, use postorder.
54822
54823         * posix/bug-regex31.c: New file.
54824         * posix/Makefile: Add rules to build and run bug-regex31.
54825
54826         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54827
54828         [BZ #12078]
54829         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54830
54831         [BZ #12108]
54832         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54833         to have entries in sys_siglist.
54834
54835         [BZ #12093]
54836         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54837         be NULL.
54838
54839 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54840
54841         [BZ #3268]
54842         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54843         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54844         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54845         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54846         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54847         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54848         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54849         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54850         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54851         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54852         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54853         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54854         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54855         * math/ftestexcept.c (fetestexcept): Likewise.
54856         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54857         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54858         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54859         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54860         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54861         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54862         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54863
54864 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54865
54866         [BZ #12107]
54867         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54868         newline.
54869
54870 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54871
54872         * string/bug-strstr1.c: New file.
54873         * string/Makefile: Add rules to build and run bug-strstr1.
54874
54875 2010-10-05  Eric Blake  <eblake@redhat.com>
54876
54877         [BZ #12092]
54878         * string/str-two-way.h (two_way_long_needle): Always clear memory
54879         when skipping input due to the shift table.
54880
54881 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54882
54883         [BZ #12005]
54884         * malloc/mcheck.c: Handle large requests.
54885
54886         [BZ #12077]
54887         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54888         for strncmp and strncasecmp.
54889         * string/stratcliff.c: Add tests for strcmp and strncmp.
54890         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54891
54892 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54893
54894         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54895         __set_fpscr.
54896
54897 2010-09-30  Andreas Jaeger  <aj@suse.de>
54898
54899         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54900         (CGROUP_SUPER_MAGIC): Define.
54901         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54902         Handle btrfs and cgroup file systems.
54903         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54904         Likewise.
54905
54906 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54907
54908         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54909         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54910
54911 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54912
54913         [BZ #12067]
54914         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54915         trying to locate the ELF header.
54916
54917 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54918
54919         [BZ #11611]
54920         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54921         Mask out sign-bit copies when constructing f_fsid.
54922
54923 2010-09-24  Petr Baudis <pasky@suse.cz>
54924
54925         * debug/stack_chk_fail_local.c: Add missing licence exception.
54926         * debug/warning-nop.c: Likewise.
54927
54928 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54929
54930         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54931         implementing getdents64 using getdents syscall, set d_type if
54932         __ASSUME_GETDENTS32_D_TYPE.
54933
54934 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54935
54936         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54937         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54938
54939 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54940
54941         [BZ #12037]
54942         * posix/unistd.h: Undo change of feature selection for ftruncate from
54943         2010-01-11.
54944
54945 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54946
54947         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54948         detection.
54949
54950 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54951
54952         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54953         fanotify_mark.
54954         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54955
54956 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54957
54958         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54959         variables after CHECK_SP call.
54960         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54961
54962 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54963             Ulrich Drepper  <drepper@redhat.com>
54964
54965         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54966         re-relocationg ld.so.
54967         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54968         _dl_init_paths call.
54969         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54970         here anymore.
54971
54972 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54973
54974         * resolv/res_init.c (__res_vinit): Count the default server we added.
54975
54976 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54977             Ulrich Drepper  <drepper@redhat.com>
54978
54979         [BZ #11968]
54980         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54981         (____longjmp_chk): Use %ebx for saving value across system call.
54982         Add unwind info.
54983
54984 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54985
54986         * manual/Makefile: Don't mix pattern rules with normal rules.
54987
54988 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54989
54990         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54991         operation.
54992         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54993         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54994         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54995         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54996         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54997         Likewise.
54998
54999 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55000
55001         [BZ #11979]
55002         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55003         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55004
55005 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55006
55007         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55008         * sysdeps/x86_64/addmul_1.S: Likewise.
55009         * sysdeps/x86_64/lshift.S: Likewise.
55010         * sysdeps/x86_64/mul_1.S: Likewise.
55011         * sysdeps/x86_64/rshift.S: Likewise.
55012         * sysdeps/x86_64/sub_n.S: Likewise.
55013         * sysdeps/x86_64/submul_1.S: Likewise.
55014
55015 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55016
55017         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55018         Define __sched_param instead of SCHED_* and sched_param when
55019         <bits/sched.h> is included with __need_schedparam defined.
55020         * bits/sched.h [__need_schedparam]
55021         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55022         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55023         (__defined_schedparam): Define to 1.
55024         (__sched_param): New structure, identical to sched_param.
55025         (__need_schedparam): Undefine.
55026
55027 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55028
55029         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55030         (epoll_create1): Declare.
55031
55032         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55033
55034 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55035
55036         [BZ #7066]
55037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55038         shifting retval into place.
55039
55040 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55041
55042         * nis/rpcsvc/nis.h: Update copyright notice.
55043         * nis/rpcsvc/nis.x: Likewise.
55044         * nis/rpcsvc/nis_callback.h: Likewise.
55045         * nis/rpcsvc/nis_callback.x: Likewise.
55046         * nis/rpcsvc/nis_object.x: Likewise.
55047         * nis/rpcsvc/nis_tags.h: Likewise.
55048         * nis/rpcsvc/yp.h: Likewise.
55049         * nis/rpcsvc/yp.x: Likewise.
55050         * nis/rpcsvc/ypupd.h: Likewise.
55051         * nis/yp_xdr.c: Likewise.
55052         * nis/ypupdate_xdr.c: Likewise.
55053
55054         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55055         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55056         (pmap_getport): Use __libc_rpc_getport.
55057         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55058         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55059         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55060
55061 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55062
55063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55064         fanotify_mark.
55065
55066 2010-08-27  Roland McGrath  <roland@redhat.com>
55067
55068         * sysdeps/i386/i686/multiarch/Makefile
55069         (CFLAGS-varshift.c): New variable.
55070
55071 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55072
55073         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55074         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55075
55076         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55077
55078         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55079
55080 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55081
55082         * sysdeps/x86_64/strlen.S: Unroll the loop.
55083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55084         strlen-sse2 strlen-sse2-bsf.
55085         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55086         __strlen_no_bsf if bit_Slow_BSF is set.
55087         (__strlen_sse42): Removed.
55088         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55089         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55090
55091 2010-08-25  Roland McGrath  <roland@redhat.com>
55092
55093         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55094         * sysdeps/x86_64/multiarch/varshift.c: New file.
55095         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55096         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55097         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55098         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55099
55100 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55101
55102         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55103         strlen-sse2 strlen-sse2-bsf.
55104         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55105         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55106         (__strlen_sse2): Removed.
55107         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55108         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55110         bit_Slow_BSF for Atom.
55111         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55112         (index_Slow_BSF): Define.
55113         (HAS_SLOW_BSF): Define.
55114
55115 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55116
55117         [BZ #10851]
55118         * resolv/res_init.c (__res_vinit): When no server address at all
55119         is given default to loopback.
55120
55121 2010-08-24  Roland McGrath  <roland@redhat.com>
55122
55123         * configure.in: Remove config-name.h generation.
55124         * configure: Regenerated.
55125         * config-name.in: File removed.
55126         * scripts/config-uname.sh: New file.
55127         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55128         ($(objdir)config-name.h): New target.
55129
55130         * sunrpc/rpc_parse.h: Avoid nested comment.
55131
55132 2010-08-24  Richard Henderson  <rth@redhat.com>
55133             Ulrich Drepper  <drepper@redhat.com>
55134             H.J. Lu  <hongjiu.lu@intel.com>
55135
55136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55138         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55139         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55140         _mm_alignr_epi8 with _mm_loadu_si128.
55141         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55142         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55143         (__m128i_shift_right): Removed.
55144         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55145         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55146         * sysdeps/x86_64/multiarch/varshift.h: New file.
55147         * sysdeps/x86_64/multiarch/varshift.S: New file.
55148
55149 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55150
55151         * configure.in: Move assembler checks to before sysdep dir checking.
55152
55153 2010-08-20  Petr Baudis  <pasky@suse.cz>
55154
55155         * LICENSES: Sync the sunrpc license.
55156
55157 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55158
55159         * sunrpc/auth_des.c: Update copyright notice once again.
55160         * sunrpc/auth_none.c: Likewise.
55161         * sunrpc/auth_unix.c: Likewise.
55162         * sunrpc/authdes_prot.c: Likewise.
55163         * sunrpc/authuxprot.c: Likewise.
55164         * sunrpc/bindrsvprt.c: Likewise.
55165         * sunrpc/clnt_gen.c: Likewise.
55166         * sunrpc/clnt_perr.c: Likewise.
55167         * sunrpc/clnt_raw.c: Likewise.
55168         * sunrpc/clnt_simp.c: Likewise.
55169         * sunrpc/clnt_tcp.c: Likewise.
55170         * sunrpc/clnt_udp.c: Likewise.
55171         * sunrpc/clnt_unix.c: Likewise.
55172         * sunrpc/des_crypt.c: Likewise.
55173         * sunrpc/des_soft.c: Likewise.
55174         * sunrpc/get_myaddr.c: Likewise.
55175         * sunrpc/getrpcport.c: Likewise.
55176         * sunrpc/key_call.c: Likewise.
55177         * sunrpc/key_prot.c: Likewise.
55178         * sunrpc/openchild.c: Likewise.
55179         * sunrpc/pm_getmaps.c: Likewise.
55180         * sunrpc/pm_getport.c: Likewise.
55181         * sunrpc/pmap_clnt.c: Likewise.
55182         * sunrpc/pmap_prot.c: Likewise.
55183         * sunrpc/pmap_prot2.c: Likewise.
55184         * sunrpc/pmap_rmt.c: Likewise.
55185         * sunrpc/rpc/auth.h: Likewise.
55186         * sunrpc/rpc/auth_unix.h: Likewise.
55187         * sunrpc/rpc/clnt.h: Likewise.
55188         * sunrpc/rpc/des_crypt.h: Likewise.
55189         * sunrpc/rpc/key_prot.h: Likewise.
55190         * sunrpc/rpc/netdb.h: Likewise.
55191         * sunrpc/rpc/pmap_clnt.h: Likewise.
55192         * sunrpc/rpc/pmap_prot.h: Likewise.
55193         * sunrpc/rpc/pmap_rmt.h: Likewise.
55194         * sunrpc/rpc/rpc.h: Likewise.
55195         * sunrpc/rpc/rpc_des.h: Likewise.
55196         * sunrpc/rpc/rpc_msg.h: Likewise.
55197         * sunrpc/rpc/svc.h: Likewise.
55198         * sunrpc/rpc/svc_auth.h: Likewise.
55199         * sunrpc/rpc/types.h: Likewise.
55200         * sunrpc/rpc/xdr.h: Likewise.
55201         * sunrpc/rpc_clntout.c: Likewise.
55202         * sunrpc/rpc_cmsg.c: Likewise.
55203         * sunrpc/rpc_common.c: Likewise.
55204         * sunrpc/rpc_cout.c: Likewise.
55205         * sunrpc/rpc_dtable.c: Likewise.
55206         * sunrpc/rpc_hout.c: Likewise.
55207         * sunrpc/rpc_main.c: Likewise.
55208         * sunrpc/rpc_parse.c: Likewise.
55209         * sunrpc/rpc_parse.h: Likewise.
55210         * sunrpc/rpc_prot.c: Likewise.
55211         * sunrpc/rpc_sample.c: Likewise.
55212         * sunrpc/rpc_scan.c: Likewise.
55213         * sunrpc/rpc_scan.h: Likewise.
55214         * sunrpc/rpc_svcout.c: Likewise.
55215         * sunrpc/rpc_tblout.c: Likewise.
55216         * sunrpc/rpc_util.c: Likewise.
55217         * sunrpc/rpc_util.h: Likewise.
55218         * sunrpc/rpcinfo.c: Likewise.
55219         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55220         * sunrpc/rpcsvc/key_prot.x: Likewise.
55221         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55222         * sunrpc/rpcsvc/mount.x: Likewise.
55223         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55224         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55225         * sunrpc/rpcsvc/rex.x: Likewise.
55226         * sunrpc/rpcsvc/rstat.x: Likewise.
55227         * sunrpc/rpcsvc/rusers.x: Likewise.
55228         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55229         * sunrpc/rpcsvc/spray.x: Likewise.
55230         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55231         * sunrpc/rtime.c: Likewise.
55232         * sunrpc/svc.c: Likewise.
55233         * sunrpc/svc_auth.c: Likewise.
55234         * sunrpc/svc_authux.c: Likewise.
55235         * sunrpc/svc_raw.c: Likewise.
55236         * sunrpc/svc_run.c: Likewise.
55237         * sunrpc/svc_simple.c: Likewise.
55238         * sunrpc/svc_tcp.c: Likewise.
55239         * sunrpc/svc_udp.c: Likewise.
55240         * sunrpc/svc_unix.c: Likewise.
55241         * sunrpc/svcauth_des.c: Likewise.
55242         * sunrpc/xcrypt.c: Likewise.
55243         * sunrpc/xdr.c: Likewise.
55244         * sunrpc/xdr_array.c: Likewise.
55245         * sunrpc/xdr_float.c: Likewise.
55246         * sunrpc/xdr_mem.c: Likewise.
55247         * sunrpc/xdr_rec.c: Likewise.
55248         * sunrpc/xdr_ref.c: Likewise.
55249         * sunrpc/xdr_sizeof.c: Likewise.
55250         * sunrpc/xdr_stdio.c: Likewise.
55251
55252         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55253         handling.
55254
55255 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55256
55257         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55258
55259 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55260
55261         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55262         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55263         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55264         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55265         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55266         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55267         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55268         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55269         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55270         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55271         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55272         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55273         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55274         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55275
55276 2010-07-26  Anton Blanchard  <anton@samba.org>
55277
55278         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55279         * malloc/arena.c (heap_trim): Likewise.
55280
55281 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55282
55283         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55284         here.  Not...
55285         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55286         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55287
55288 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55289
55290         * sysdeps/i386/elf/Makefile: New file.
55291
55292 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55293
55294         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55295         from fanotify_init.
55296         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55298
55299 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55300
55301         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55302         of strncasecmp_l.
55303         * sysdeps/multiarch/strcmp.S: Likewise.
55304
55305 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55306
55307         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55308         strncase_l-nonascii.
55309         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55310         Add strncase_l-ssse3.
55311         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55312         * sysdeps/x86_64/strcmp.S: Likewise.
55313         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55314         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55315         * sysdeps/x86_64/strncase.S: New file.
55316         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55317         * sysdeps/x86_64/strncase_l.S: New file.
55318         * string/Makefile (strop-tests): Add strncasecmp.
55319         * string/test-strncasecmp.c: New file.
55320
55321         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55322         warning.
55323
55324         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55325         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55326
55327 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55328
55329         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55330
55331 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55332
55333         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55334         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55335         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55336
55337 2010-05-01  Alan Modra  <amodra@gmail.com>
55338
55339         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55340         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55341         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55342         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55343         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55344         tidying.  Don't tail-call __sigjmp_save for static lib.
55345         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55346         save location.
55347         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55348         (CALL_MCOUNT): Add eh info, and nop after bl.
55349         (TAIL_CALL_SYSCALL_ERROR): New macro.
55350         (PSEUDO_RET): Use it.
55351         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55352         Correct save location of integer regs and cr.
55353         (_dl_profile_resolve): Correct cr save location.  Delete nops
55354         after bl when SHARED.  Reduce cfi size a little by better
55355         placement of cfi directives.
55356         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55357         make a stack frame.  Instead use parm save area as a temp.
55358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55359         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55361         Don't make a stack frame for parent, use parm save area.
55362         Increase child stack frame to 112 bytes.  Don't save unused reg,
55363         and adjust reg usage.  Set up cfi on error recovery and
55364         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55366         (__makecontext): Add dummy nop after jump to exit.
55367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55368         Use correct parm save area and cr save, reduce stack frame.
55369         Correct cfi for possible PSEUDO_RET frame setup.
55370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55371         Branch to local label emitted by PSEUDO_RET rather than
55372         __syscall_error.
55373
55374 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55375
55376         [BZ #11904]
55377         * locale/programs/locale.c (print_assignment): New function.
55378         (show_locale_vars): Use it.
55379
55380 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55381
55382         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55383         field.
55384         (struct statfs64): Likewise.
55385         (_STATFS_F_FLAGS): Define.
55386         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55387         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55388         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55389         (ST_VALID): Define locally.
55390         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55391         __statvfs_getflags, use the provided value.
55392         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55393         __ASSUME_STATFS_F_FLAGS.
55394
55395         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55396
55397         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55398         Add sys/fanotify.h.
55399         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55400         fanotify_mask for GLIBC_2.13.
55401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55402         fanotify_init and fanotify_mark.
55403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55404         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55405
55406         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55407         Add prlimit.
55408         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55409         prlimit64 for GLIBC_2.13.
55410         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55411         prlimit64.
55412         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55413         syscall.
55414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55415         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55416         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55417         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55419         add prlimit alias.
55420         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55421
55422         [BZ #11903]
55423         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55424         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55425
55426         * nss/Makefile: Add rules to build and run tst-nss-test1.
55427         * shlib-versions: Add entry for libnss_test1.
55428         * nss/nss_test1.c: New file.
55429         * nss/tst-nss-test1.c: New file.
55430
55431         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55432         (__nss_configure_lookup): Set appropriate entry in
55433         __nss_configure_lookup to true.
55434         * nss/nsswitch.h: Define enum with indeces of databases in
55435         databases and __nss_database_custom arrays.  Declare
55436         __nss_database_custom.
55437         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55438         to avoid using nscd when custom rules are installed.
55439         * nss/getXXbyYY_r.c: Likewise.
55440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55441
55442         * nss/nss_files/files-parse.c: Whitespace fixes.
55443
55444 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55445
55446         [BZ #11883]
55447         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55448         * posix/fnmatch_loop.c: Likewise.
55449
55450 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55451
55452         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55453         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55454         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55455         * Versions.def [GLIBC_2.13]: Add.
55456
55457 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55458
55459         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55460         Also fail if tpwd after pwuid call is NULL.
55461
55462 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55463
55464         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55465         when converting to ms.
55466
55467 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55468
55469         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55470         EOPNOTSUPP errors with ENOTTY.
55471         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55472         EOPNOTSUPP errors with ENOTTY.
55473
55474 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55475
55476         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55477         Add strcasecmp_l-ssse3.
55478         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55479         strcasecmp.
55480         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55481         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55482         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55483
55484 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55485
55486         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55487
55488         * string/Makefile (strop-tests): Add strcasecmp.
55489         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55490         strcasecmp_l-nonascii.
55491         (gen-as-const-headers): Add locale-defines.sym.
55492         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55493         * sysdeps/x86_64/strcasecmp.S: New file.
55494         * sysdeps/x86_64/strcasecmp_l.S: New file.
55495         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55496         * sysdeps/x86_64/locale-defines.sym: New file.
55497         * string/test-strcasecmp.c: New file.
55498
55499         * string/test-strcasestr.c: Test both ends of the range of characters.
55500         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55501
55502 2010-07-29  Roland McGrath  <roland@redhat.com>
55503
55504         [BZ #11856]
55505         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55506
55507 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55508
55509         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55510         for ld.so.
55511
55512 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55513
55514         * manual/memory.texi (Malloc Tunable Parameters): Document
55515         M_PERTURB.
55516
55517 2010-07-26  Roland McGrath  <roland@redhat.com>
55518
55519         [BZ #11840]
55520         * configure.in (-fgnu89-inline check): Set and substitute
55521         gnu89_inline, not libc_cv_gnu89_inline.
55522         * configure: Regenerated.
55523         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55524
55525 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55526
55527         * string/test-strnlen.c: New file.
55528         * string/Makefile (strop-tests): Add strnlen.
55529         * string/tester.c (test_strnlen): Add a few more test cases.
55530         * string/tst-strlen.c: Better error reporting.
55531
55532         * sysdeps/x86_64/strnlen.S: New file.
55533
55534 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55535
55536         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55537         lower-latency instructions.
55538
55539 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55540
55541         * string/test-strcasestr.c: New file.
55542         * string/test-strstr.c: New file.
55543         * string/Makefile (strop-tests): Add strstr and strcasestr.
55544         * string/str-two-way.h: Don't undefine MAX.
55545         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55546
55547 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55548
55549         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55550         strcasestr-nonascii.
55551         (CFLAGS-strcasestr-nonascii.c): Define.
55552         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55553         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55554         Remove unused attribute.
55555
55556 2010-07-20  Roland McGrath  <roland@redhat.com>
55557
55558         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55559         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55560         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55561         like LD_HWCAP_MASK can disable hwcaps.
55562
55563 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55564
55565         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55566
55567 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55568
55569         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55570         call in strcasestr.
55571         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55572         __strcasestr_sse42_nonascii.
55573         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55574         strcasestr-nonascii.c.
55575         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55576
55577 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55578
55579         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55580         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55581         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55582         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55583
55584 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55585
55586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55587         fcntl.
55588
55589 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55590
55591         [BZ #11577]
55592         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55593         dl_signal_cerror.
55594
55595 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55596
55597         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55598         _PC_PIPE_BUF using F_GETPIPE_SZ.
55599
55600 2010-07-05  Roland McGrath  <roland@redhat.com>
55601
55602         * manual/arith.texi (Rounding Functions): Fix rint description
55603         implicit in round description.
55604
55605 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55606
55607         * elf/Makefile: Fix linking for a few tests to make recent linker
55608         happy.
55609
55610 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55611
55612         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55613         $(common-objpfx)libc_nonshared.a.
55614
55615 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55616
55617         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55618         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55619         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55620         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55621         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55622         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55623         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55624         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55639         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55640         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55641         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55642         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55643         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55644         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55645         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55646         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55647         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55648         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55649         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55650         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55665
55666 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55667
55668         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55669         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55670         * string/memmove.c (memmove): Renamed to ...
55671         (MEMMOVE): ...this.  Default to memmove.
55672         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55673         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55674         (END_CHK): Define.
55675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55676         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55677         mempcpy-ssse3-back memmove-ssse3-back.
55678         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55679         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55680         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55681         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55682         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55683         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55684         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55685         * sysdeps/x86_64/multiarch/memmove.c: New file.
55686         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55687         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55688         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55689         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55690         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55691         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55692         Define.
55693         (index_Fast_Copy_Backward): Define.
55694         (HAS_ARCH_FEATURE): Define.
55695         (HAS_FAST_REP_STRING): Define.
55696         (HAS_FAST_COPY_BACKWARD): Define.
55697
55698 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55699
55700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55701         Restore proper fallback handling.
55702
55703 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55704
55705         [BZ #11701]
55706         * posix/group_member.c (__group_member): Correct checking loop.
55707
55708         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55709         OOM in getpwuid_r correctly.  Return error number when the caller
55710         should return, otherwise -1.
55711         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55712         call returning > 0 value.
55713         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55714
55715 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55716
55717         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55718         libc_nonshared.a from targets in modules-names.
55719
55720 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55721
55722         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55723         requires it.
55724
55725 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55726
55727         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55728         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55729         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55731
55732 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55733
55734         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55735
55736 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55737
55738         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55739         and F_GETPIPE_SZ.
55740         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55741         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55744         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55745         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55746
55747 2010-06-14  Roland McGrath  <roland@redhat.com>
55748
55749         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55750
55751 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55752
55753         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55754         __REDIRECT followed by __THROW.
55755         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55756         * posix/getopt.h (getopt): Likewise.
55757
55758 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55759
55760         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55761         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55762         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55763         in AT_FLAGS.
55764         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55765         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55766
55767 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55768
55769         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55770
55771 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55772
55773         [BZ #11640]
55774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55775         Properly check family and model.
55776
55777 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55778
55779         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55780
55781 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55782
55783         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55784
55785 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55786
55787         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55788         symbol reference.
55789
55790 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55791
55792         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55793         symbol reference.
55794
55795 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55796
55797         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55798         and internal_recvmmsg.
55799         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55800         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55801         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55802         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55803
55804         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55805         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55806         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55807
55808 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55809
55810         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55811
55812 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55813
55814         POWER7 optimizations.
55815         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55816         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55817
55818 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55819
55820         * version.h: Update for 2.13 development version.
55821
55822 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55823
55824         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55825         exceptions.  Return 0.
55826
55827 2010-05-07  Roland McGrath  <roland@redhat.com>
55828
55829         * elf/ldconfig.c (main): Add a const.
55830
55831 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55832
55833         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55834         (args_options): Add no-idn option.
55835         (ahosts_keys_int): Add idn_flags to ai_flags.
55836         (parse_option): Handle 'i' option to clear idn_flags.
55837
55838         * malloc/malloc.c (_int_free): Possible race in the most recently
55839         added check.  Only act on the data if no current modification
55840         happened.
55841
55842 See ChangeLog.17 for earlier changes.